ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HSCPValidation/scripts/genLevelPlots.C
(Generate patch)

Comparing UserCode/HSCPValidation/scripts/genLevelPlots.C (file contents):
Revision 1.1 by carrillo, Wed Apr 7 08:48:54 2010 UTC vs.
Revision 1.3 by carrillo, Sat Apr 10 09:40:24 2010 UTC

# Line 2 | Line 2
2   gROOT->Reset();
3   #include "Riostream.h"
4  
5 < TFile * theFile1 = new TFile("stop130_genLevelPlots.root");
5 > TFile * theFile1 = new TFile("genLevelPlots.root");
6   std::cout<<"Reading histos"<<std::endl;
7  
8   TH1F *  particleEta           = (TH1F*) (theFile1->Get("hscpGenPlots/particleEta"));
# Line 22 | Line 22 | gROOT->Reset();
22    
23   particleEta->Draw("E");
24   t.Print("gen/eta.png");
25 < particlePhi->ReBin("4");
25 > particlePhi->Rebin(4);
26   particlePhi->Draw("E");
27   t.Print("gen/phi.png");
28   particlePt->Draw();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines