81 for (
Int_t iev=0;iev<nevent;iev++) {
82 if (iev%1000==0) cout<<
"Processing event "<<iev<<
"..."<<endl;
106 tree->
Draw(
"a.e",
"3*(-.2<b.e && b.e<.2)",
"same");
108 tree->
Draw(
"b.e:a.e",
"",
"colz");
110 tree->
Draw(
"b.t",
"",
"e");
111 tree->
Draw(
"a.t",
"",
"same");
113 tree->
Draw(
"b.t:a.t");
116 cout<<
"You can now examine the structure of your tree in the TreeViewer"<<endl;
virtual void Rannor(Float_t &a, Float_t &b)
Return 2 numbers distributed following a gaussian with mean=0 and sigma=1.
virtual Double_t Gaus(Double_t mean=0, Double_t sigma=1)
Samples a random number from the standard Normal (Gaussian) Distribution with the given mean and sigm...
virtual Int_t Fill()
Fill all branches.
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad.
virtual void StartViewer()
Start the TTreeViewer on this tree.
#define ClassDef(name, id)
virtual Double_t Rndm()
Machine independent random number generator.
R__EXTERN TRandom * gRandom
virtual void Draw(Option_t *opt)
Default Draw method for all objects.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
Mother of all ROOT objects.
virtual Int_t Branch(TCollection *list, Int_t bufsize=32000, Int_t splitlevel=99, const char *name="")
Create one branch for each element in the collection.
virtual void Divide(Int_t nx=1, Int_t ny=1, Float_t xmargin=0.01, Float_t ymargin=0.01, Int_t color=0)
Automatic pad generation by division.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
A TTree object has a header with a name and a title.