Geant4  10.02.p03
extended/eventgenerator/particleGun/plotHisto.C File Reference

Go to the source code of this file.

Functions

hist1 Draw ("HIST")
 

Variables

TFile f = TFile("run2.root")
 
TCanvas * c1 = new TCanvas("c1", " ")
 
TH1D * hist1 = (TH1D*)f.Get("1")
 

Function Documentation

◆ Draw()

hist1 Draw ( "HIST"  )

Variable Documentation

◆ c1

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

◆ f

TFile f = TFile("run2.root")

◆ hist1

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