ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
plotHisto.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)
 
hist1 Draw ("HIST")
 
c1 cd (2)
 
c1 cd (3)
 
gPad SetLogy (1)
 
c1 cd (4)
 

Variables

TCanvas * c1 = new TCanvas("c1", "", 20, 20, 1000, 1000)
 
TH1D * hist1 = (TH1D*)f.Get("Eabs")
 
TH1D * hist2 = (TH1D*)f.Get("Labs")
 
TH1D * hist3 = (TH1D*)f.Get("Egap")
 
TH1D * hist4 = (TH1D*)f.Get("Lgap")
 

Function Documentation

c1 cd ( )
c1 cd ( )
c1 cd ( )
c1 cd ( )
c1 Divide ( ,
 
)
hist1 Draw ( "HIST"  )
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 plotHisto.C.

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

TH1D* hist1 = (TH1D*)f.Get("Eabs")

Definition at line 22 of file plotHisto.C.

View newest version in sPHENIX GitHub at line 22 of file plotHisto.C

TH1D* hist2 = (TH1D*)f.Get("Labs")

Definition at line 27 of file plotHisto.C.

View newest version in sPHENIX GitHub at line 27 of file plotHisto.C

TH1D* hist3 = (TH1D*)f.Get("Egap")

Definition at line 32 of file plotHisto.C.

View newest version in sPHENIX GitHub at line 32 of file plotHisto.C

TH1D* hist4 = (TH1D*)f.Get("Lgap")

Definition at line 41 of file plotHisto.C.

View newest version in sPHENIX GitHub at line 41 of file plotHisto.C