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

TFile f ("run1.root")
 
hist1 Draw ("HIST")
 
c1 SetLogy (1)
 
c1 cd ()
 
c1 Update ()
 

Variables

TCanvas * c1 = new TCanvas("c1", " ")
 
TH1D * hist1 = (TH1D*)f.Get("1")
 
TH1D * hist2 = (TH1D*)f.Get("2")
 
TH1D * hist3 = (TH1D*)f.Get("3")
 
TH1D * hist4 = (TH1D*)f.Get("4")
 
TH1D * hist5 = (TH1D*)f.Get("5")
 
TH1D * hist6 = (TH1D*)f.Get("6")
 

Function Documentation

c1 cd ( )
hist1 Draw ( "HIST"  )
TFile f ( "run1.root"  )
c1 SetLogy ( )
c1 Update ( )

Variable Documentation

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

Definition at line 7 of file plotHisto.C.

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

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

Definition at line 9 of file plotHisto.C.

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

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

Definition at line 12 of file plotHisto.C.

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

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

Definition at line 15 of file plotHisto.C.

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

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

Definition at line 21 of file plotHisto.C.

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

TH1D* hist5 = (TH1D*)f.Get("5")

Definition at line 24 of file plotHisto.C.

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

TH1D* hist6 = (TH1D*)f.Get("6")

Definition at line 27 of file plotHisto.C.

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