LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
plotHisto.C File Reference

Go to the source code of this file.

Functions

TFile f ("run01.root")
 TFile f("testem3.root");. More...
 
hist1 Draw ("HIST")
 
c1 SetLogy (1)
 
c1 cd ()
 
c1 Update ()
 

Variables

TCanvas * c1 = new TCanvas("c1", " ")
 
TH1D * hist1 = (TH1D*)f.Get("1")
 
TH1D * hist2 = (TH1D*)f.Get("2")
 
TH1D * hist3 = (TH1D*)f.Get("11")
 
TH1D * hist4 = (TH1D*)f.Get("12")
 
TH1D * hist5 = (TH1D*)f.Get("21")
 
TH1D * hist6 = (TH1D*)f.Get("22")
 

Function Documentation

c1 cd ( )
hist1 Draw ( "HIST"  )
TFile f ( "run01.root"  )

TFile f("testem3.root");.

c1 SetLogy ( )
c1 Update ( )

Variable Documentation

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

Definition at line 8 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 13 of file plotHisto.C.

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

Definition at line 16 of file plotHisto.C.

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

Definition at line 22 of file plotHisto.C.

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

Definition at line 25 of file plotHisto.C.

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

Definition at line 28 of file plotHisto.C.