Geant4  10.02.p03
extended/hadronic/Hadr06/plotHisto.C File Reference

Go to the source code of this file.

Functions

hist2 Draw ("HIST")
 

Variables

TFile f = TFile("essai.root")
 
TCanvas * c1 = new TCanvas("c1", " ")
 
TH1D * hist2 = (TH1D*)f.Get("2")
 
TH1D * hist6 = (TH1D*)f.Get("6")
 

Function Documentation

◆ Draw()

hist2 Draw ( "HIST"  )

Variable Documentation

◆ c1

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

Definition at line 7 of file extended/hadronic/Hadr06/plotHisto.C.

◆ f

TFile f = TFile("essai.root")

Definition at line 6 of file extended/hadronic/Hadr06/plotHisto.C.

◆ hist2

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

TH1D* hist1 = (TH1D*)f.Get("1"); hist1->Draw("HIST");

Definition at line 12 of file extended/hadronic/Hadr06/plotHisto.C.

◆ hist6

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

Definition at line 15 of file extended/hadronic/Hadr06/plotHisto.C.