ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
plotNtuple.C File Reference

Go to the source code of this file.

Functions

gROOT SetStyle ("Plain")
 
TFile f ("B4.root")
 
c1 Divide (2, 2)
 
c1 cd (1)
 
ntuple Draw ("Eabs")
 
c1 cd (2)
 
ntuple Draw ("Labs")
 
c1 cd (3)
 
gPad SetLogy (1)
 
ntuple Draw ("Egap")
 
c1 cd (4)
 

Variables

TCanvas * c1 = new TCanvas("c1", "", 20, 20, 1000, 1000)
 
TNtuple * ntuple = (TNtuple*)f.Get("B4")
 

Function Documentation

c1 cd ( )
c1 cd ( )
c1 cd ( )
c1 cd ( )
c1 Divide ( ,
 
)
ntuple Draw ( "Eabs"  )
ntuple Draw ( "Labs"  )
ntuple Draw ( "Egap"  )
TFile f ( "B4.root"  )
gPad SetLogy ( )
gROOT SetStyle ( "Plain"  )

Variable Documentation

TCanvas* c1 = new TCanvas("c1", "", 20, 20, 1000, 1000)

Definition at line 17 of file plotNtuple.C.

View newest version in sPHENIX GitHub at line 17 of file plotNtuple.C

TNtuple* ntuple = (TNtuple*)f.Get("B4")

Definition at line 21 of file plotNtuple.C.

View newest version in sPHENIX GitHub at line 21 of file plotNtuple.C