Geant4  10.02.p03
extended/analysis/AnaEx01/plotHisto.C File Reference

Go to the source code of this file.

Functions

hist1 Draw ("HIST")
 

Variables

TFile f = TFile("AnaEx01.root")
 
TCanvas * c1 = new TCanvas("c1", " ")
 
TDirectory * dir = f.Get("histo")
 
TH1D * hist1 = (TH1D*)dir->Get("1")
 
TH1D * hist2 = (TH1D*)dir->Get("2")
 
TH1D * hist3 = (TH1D*)dir->Get("3")
 
TH1D * hist4 = (TH1D*)dir->Get("4")
 

Function Documentation

◆ Draw()

hist1 Draw ( "HIST"  )

Variable Documentation

◆ c1

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

Definition at line 7 of file extended/analysis/AnaEx01/plotHisto.C.

◆ dir

TDirectory* dir = f.Get("histo")

Definition at line 9 of file extended/analysis/AnaEx01/plotHisto.C.

◆ f

TFile f = TFile("AnaEx01.root")

Definition at line 6 of file extended/analysis/AnaEx01/plotHisto.C.

◆ hist1

TH1D* hist1 = (TH1D*)dir->Get("1")

Definition at line 11 of file extended/analysis/AnaEx01/plotHisto.C.

◆ hist2

TH1D* hist2 = (TH1D*)dir->Get("2")

Definition at line 14 of file extended/analysis/AnaEx01/plotHisto.C.

◆ hist3

TH1D* hist3 = (TH1D*)dir->Get("3")

Definition at line 17 of file extended/analysis/AnaEx01/plotHisto.C.

◆ hist4

TH1D* hist4 = (TH1D*)dir->Get("4")

Definition at line 20 of file extended/analysis/AnaEx01/plotHisto.C.