Geant4_10
Functions | Variables
plotHisto.C File Reference

Go to the source code of this file.

Functions

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

TFile f = TFile("allproc.root")
 
TCanvas * c1 = new TCanvas("c1", " ")
 
TH1D * hist1 = (TH1D*)f.Get("1")
 
TH1D * hist11 = (TH1D*)f.Get("11")
 
TH1D * hist2 = (TH1D*)f.Get("2")
 
TH1D * hist12 = (TH1D*)f.Get("12")
 
TH1D * hist3 = (TH1D*)f.Get("3")
 
TH1D * hist13 = (TH1D*)f.Get("13")
 

Function Documentation

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

Here is the caller graph for this function:

c1 Divide ( ,
 
)
hist1 Draw ( "HIST"  )
hist13 Draw ( "HIST SAME"  )
c1 Print ( "allproc.gif"  )
hist11 SetLineColor ( )

Variable Documentation

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

Definition at line 7 of file plotHisto.C.

TFile f = TFile("allproc.root")

Definition at line 6 of file plotHisto.C.

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

Definition at line 12 of file plotHisto.C.

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

Definition at line 16 of file plotHisto.C.

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

Definition at line 25 of file plotHisto.C.

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

Definition at line 34 of file plotHisto.C.

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

Definition at line 22 of file plotHisto.C.

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

Definition at line 31 of file plotHisto.C.