LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
plotHisto.C File Reference

Go to the source code of this file.

Functions

TFile f ("run01.root")
 
c1 Divide (3, 1)
 
c1 cd (1)
 
hist1 Draw ("HIST")
 
gPad SetLogy ()
 
c1 cd (2)
 
c1 cd (3)
 

Variables

TCanvas * c1 = new TCanvas("c1", " ")
 
TH1D * hist1 = (TH1D*)f.Get("1")
 
TH1D * hist2 = (TH1D*)f.Get("2")
 
TH1D * hist3 = (TH1D*)f.Get("3")
 

Function Documentation

c1 cd ( )
c1 cd ( )
c1 cd ( )
c1 Divide ( ,
 
)
hist1 Draw ( "HIST"  )
TFile f ( "run01.root"  )
gPad SetLogy ( )

Variable Documentation

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

Definition at line 7 of file plotHisto.C.

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

Definition at line 10 of file plotHisto.C.

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

Definition at line 15 of file plotHisto.C.

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

Definition at line 20 of file plotHisto.C.