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

gROOT Reset ()
 
c1 SetLogy (1)
 
c1 cd ()
 
c1 Update ()
 
hist2 Draw ("HIST")
 

Variables

TFile f = TFile("nCaptureHP.root")
 
TCanvas * c1 = new TCanvas("c1", " ")
 
TH1D * hist2 = (TH1D*)f.Get("2")
 
TH1D * hist3 = (TH1D*)f.Get("3")
 
TH1D * hist11 = (TH1D*)f.Get("11")
 
TH1D * hist12 = (TH1D*)f.Get("12")
 

Function Documentation

c1 cd ( )
hist2 Draw ( "HIST"  )
gROOT Reset ( )
c1 SetLogy ( )
c1 Update ( )

Variable Documentation

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

Definition at line 8 of file plotHisto.C.

TFile f = TFile("nCaptureHP.root")

Definition at line 7 of file plotHisto.C.

TH1D* hist11 = (TH1D*)f.Get("11")

Definition at line 22 of file plotHisto.C.

TH1D* hist12 = (TH1D*)f.Get("12")

Definition at line 25 of file plotHisto.C.

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

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

Definition at line 16 of file plotHisto.C.

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

Definition at line 19 of file plotHisto.C.