Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
plotHisto.C File Reference

Go to the source code of this file.

Functions

hist1 Draw ("HIST")
 

Variables

TFile f = TFile("compt.root")
 
TCanvas * c1 = new TCanvas("c1", " ")
 
TH1D * hist1 = (TH1D*)f.Get("1")
 
TH1D * hist2 = (TH1D*)f.Get("2")
 
TH1D * hist3 = (TH1D*)f.Get("3")
 
TH1D * hist4 = (TH1D*)f.Get("4")
 

Function Documentation

hist1 Draw ( "HIST"  )

Variable Documentation

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

Definition at line 7 of file plotHisto.C.

TFile f = TFile("compt.root")

Definition at line 6 of file plotHisto.C.

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

Definition at line 9 of file plotHisto.C.

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

Definition at line 12 of file plotHisto.C.

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

Definition at line 15 of file plotHisto.C.

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

Definition at line 18 of file plotHisto.C.