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

Go to the source code of this file.

Functions

hist1 Draw ("HIST")
 
c1 SetLogy (1)
 
c1 cd ()
 
c1 Update ()
 

Variables

TFile f = TFile("AnaEx03.root")
 
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()

c1 cd ( )

◆ Draw()

hist1 Draw ( "HIST"  )

◆ SetLogy()

c1 SetLogy ( )

◆ Update()

c1 Update ( )

Variable Documentation

◆ c1

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

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

◆ f

TFile f = TFile("AnaEx03.root")

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

◆ hist1

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

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

◆ hist2

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

Definition at line 12 of file extended/analysis/AnaEx03/plotHisto.C.

◆ hist3

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

Definition at line 15 of file extended/analysis/AnaEx03/plotHisto.C.