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

Go to the source code of this file.

Functions

TFile f ("testem6.root")
 
hist1 Draw ("HIST")
 

Variables

TCanvas * c1 = new TCanvas("c1", " ")
 
TH1D * hist1 = (TH1D*)f.Get("h1")
 
TH1D * hist2 = (TH1D*)f.Get("h2")
 
TH1D * hist3 = (TH1D*)f.Get("h3")
 
TH1D * hist4 = (TH1D*)f.Get("h4")
 
TH1D * hist5 = (TH1D*)f.Get("h5")
 
TH1D * hist6 = (TH1D*)f.Get("h6")
 

Function Documentation

◆ Draw()

hist1 Draw ( "HIST"  )

◆ f()

TFile f ( "testem6.root"  )

Variable Documentation

◆ c1

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

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

◆ hist1

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

Definition at line 9 of file extended/electromagnetic/TestEm6/plotHisto.C.

◆ hist2

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

Definition at line 12 of file extended/electromagnetic/TestEm6/plotHisto.C.

◆ hist3

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

Definition at line 15 of file extended/electromagnetic/TestEm6/plotHisto.C.

◆ hist4

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

Definition at line 18 of file extended/electromagnetic/TestEm6/plotHisto.C.

◆ hist5

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

Definition at line 21 of file extended/electromagnetic/TestEm6/plotHisto.C.

◆ hist6

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

Definition at line 24 of file extended/electromagnetic/TestEm6/plotHisto.C.