Geant4_10
Functions | Variables
plotHisto.C File Reference

Go to the source code of this file.

Functions

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

Variables

TFile f = TFile("pixe.root")
 
TCanvas * c1 = new TCanvas("c1", " ")
 
TH1D * hist3 = (TH1D*)f.Get("3")
 
TH1D * hist5 = (TH1D*)f.Get("5")
 

Function Documentation

c1 cd ( )
hist3 Draw ( "HIST"  )
c1 SetLogy ( )
c1 Update ( )

Variable Documentation

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

Definition at line 7 of file plotHisto.C.

TFile f = TFile("pixe.root")

Definition at line 6 of file plotHisto.C.

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

Definition at line 9 of file plotHisto.C.

TH1D* hist5 = (TH1D*)f.Get("5")

Definition at line 16 of file plotHisto.C.