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

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2009-09-08 - DongHoMoon
 
KOREA-CMS
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding KoreaCmsWiki? Send feedback