29 TH1F *
hpx =
new TH1F(
"hpx",
"This is the px distribution",100,-4,4);
73 if (i<25000) ntuple->
Fill(px,py,pz,rnd,i);
74 if (i && (i%kUPDATE) == 0) {
75 if (i == kUPDATE) hpx->
Draw();
78 if (i == kUPDATE) hfile->
Write();
83 if ((maxcnt>0) && (i>=maxcnt))
break;
virtual Int_t Fill(Double_t x)
Increment bin with abscissa X by 1.
virtual Bool_t ProcessEvents()
Process pending events (GUI, timers, sockets).
virtual void Rannor(Float_t &a, Float_t &b)
Return 2 numbers distributed following a gaussian with mean=0 and sigma=1.
Random number generator class based on M.
virtual void SetBorderMode(Short_t bordermode)
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
void httpserver(const char *jobname="job1", Long64_t maxcnt=0)
static const char * filename()
virtual void Show(const char *name)
Stops Benchmark name and Prints results.
1-D histogram with a float per channel (see TH1 documentation)}
A TMemFile is like a normal TFile except that it reads and writes only from memory.
virtual void Start(const char *name)
Starts Benchmark with the specified name.
TFrame * GetFrame()
Get frame.
virtual Double_t Rndm(Int_t i=0)
Machine independent random number generator.
virtual void SetBorderSize(Short_t bordersize)
void SetReadOnly(Bool_t readonly)
Set read-only mode for the server (default on) In read-only server is not allowed to change any ROOT ...
A simple TTree restricted to a list of float variables only.
R__EXTERN TSystem * gSystem
virtual void Draw(Option_t *option="")
Draw this histogram with options.
virtual void SetFillColor(Color_t fcolor)
virtual Int_t Write(const char *name=0, Int_t opt=0, Int_t bufsiz=0)
Write memory objects to this file.
R__EXTERN TBenchmark * gBenchmark
2-D histogram with a float per channel (see TH1 documentation)}
char * Form(const char *fmt,...)
Int_t Fill(const Double_t *v)
virtual Int_t Fill()
[fNvar] Array of variables
virtual void Update()
Update canvas pad buffers.
Int_t Fill(Double_t)
Invalid Fill method.
void Modified(Bool_t flag=1)