Geant4  10.02.p03
extended/electromagnetic/TestEm16/plotHisto.C File Reference

Go to the source code of this file.

Functions

TFile f ("run01.root")
 
c1 Divide (3, 1)
 
c1 cd (1)
 
hist1 Draw ("HIST")
 
gPad SetLogy ()
 
c1 cd (2)
 
c1 cd (3)
 

Variables

TCanvas * c1 = new TCanvas("c1", " ")
 
TH1D * hist1 = (TH1D*)f.Get("1")
 
TH1D * hist2 = (TH1D*)f.Get("2")
 
TH1D * hist3 = (TH1D*)f.Get("3")
 

Function Documentation

◆ cd() [1/3]

c1 cd ( )

◆ cd() [2/3]

c1 cd ( )

◆ cd() [3/3]

c1 cd ( )

◆ Divide()

c1 Divide ( ,
 
)

◆ Draw()

hist1 Draw ( "HIST"  )

◆ f()

TFile f ( "run01.root"  )

◆ SetLogy()

gPad SetLogy ( )

Variable Documentation

◆ c1

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

Definition at line 7 of file extended/electromagnetic/TestEm16/plotHisto.C.

◆ hist1

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

◆ hist2

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

◆ hist3

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