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

Go to the source code of this file.

Functions

TFile f ("testem7.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")
 

Function Documentation

◆ Draw()

hist1 Draw ( "HIST"  )

◆ f()

TFile f ( "testem7.root"  )

Variable Documentation

◆ c1

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

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

◆ hist1

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

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

◆ hist2

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

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

◆ hist3

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

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