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 ("allproc.root")
 
c1 Divide (3, 1)
 
c1 cd (1)
 
hist1 Draw ("HIST")
 
hist11 SetLineColor (2)
 
hist11 Draw ("HIST SAME")
 
c1 cd (2)
 
c1 cd (3)
 
c1 Print ("allproc.gif")
 
c1 Close ()
 

Variables

TCanvas * c1 = new TCanvas("c1", " ")
 
TH1D * hist1 = (TH1D*)f.Get("h1")
 
TH1D * hist11 = (TH1D*)f.Get("h11")
 
TH1D * hist2 = (TH1D*)f.Get("h2")
 
TH1D * hist12 = (TH1D*)f.Get("h12")
 
TH1D * hist3 = (TH1D*)f.Get("h3")
 
TH1D * hist13 = (TH1D*)f.Get("h13")
 

Function Documentation

c1 cd ( )
c1 cd ( )
c1 cd ( )
input_file_2 Close ( )

Referenced by RunActionMaster::EndOfRunAction(), BrachyAnalysisManager::save(), and PHTFileServer::SafeTFile::~SafeTFile().

+ Here is the caller graph for this function:

c1 Divide ( ,
 
)
hist1 Draw ( "HIST"  )
h16 Draw ( "HIST SAME"  )
TFile f ( "allproc.root"  )
c1 Print ( "allproc.gif"  )
hist11 SetLineColor ( )

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("h1")

Definition at line 12 of file plotHisto.C.

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

TH1D* hist11 = (TH1D*)f.Get("h11")

Definition at line 16 of file plotHisto.C.

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

TH1D* hist12 = (TH1D*)f.Get("h12")

Definition at line 25 of file plotHisto.C.

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

TH1D* hist13 = (TH1D*)f.Get("h13")

Definition at line 34 of file plotHisto.C.

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

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

Definition at line 22 of file plotHisto.C.

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

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

Definition at line 31 of file plotHisto.C.

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