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

Go to the source code of this file.

Functions

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

Variables

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

Function Documentation

◆ cd()

c1 cd ( )

◆ Draw()

hist1 Draw ( "HIST"  )

◆ f()

TFile f ( "water_100um.root"  )

◆ SetLogy()

c1 SetLogy ( )

◆ Update()

c1 Update ( )

Variable Documentation

◆ c1

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

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

◆ hist1

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

◆ hist3

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

◆ hist4

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

◆ hist5

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