This is ROOT tips
1. Good example
here
show me
*
1. MakeClass?
Once we have "ana" directory including several ntuples in some root file.
We can use
MakeClass?
ana.MakeClass();
There will be ana.C and ana.h.
Here we can make some cut and fill the histogram with this
1. Scaling cross section
One has to use the inclusive cross section when some generation.
Output log should give us cross section.
After that, we can scale our output histogram with cross section like this.
h1->Scale(4.8E-3) -> dN/dpT reweighted by cross section
h1->Scale((4.8E-3)/10000)) -> d(cross section)/dpT
h1->Draw();
--
DongHoMoon - 08 Sep 2009