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 ("C12.root")
 
c1 SetLogy (1)
 
c1 cd ()
 
c1 Update ()
 
hist1 Draw ("HIST")
 

Variables

TCanvas * c1 = new TCanvas("c1", " ")
 
TH1D * hist1 = (TH1D*)f.Get("1")
 
TH1D * hist2 = (TH1D*)f.Get("2")
 
TH1D * hist3 = (TH1D*)f.Get("3")
 
TH1D * hist6 = (TH1D*)f.Get("6")
 
TH1D * hist7 = (TH1D*)f.Get("7")
 
TH1D * hist10 = (TH1D*)f.Get("10")
 

Function Documentation

c1 cd ( )
hist1 Draw ( "HIST"  )
TFile f ( "C12.root"  )
c1 SetLogy ( )
c1 Update ( )

Variable Documentation

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

Definition at line 7 of file plotHisto.C.

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

Definition at line 13 of file plotHisto.C.

TH1D* hist10 = (TH1D*)f.Get("10")

TH1D* hist8 = (TH1D*)f.Get("8"); hist8->Draw("HIST"); TH1D* hist9 = (TH1D*)f.Get("9"); hist9->Draw("HIST");

Definition at line 40 of file plotHisto.C.

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

Definition at line 16 of file plotHisto.C.

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

Definition at line 19 of file plotHisto.C.

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

TH1D* hist4 = (TH1D*)f.Get("4"); hist4->Draw("HIST"); TH1D* hist5 = (TH1D*)f.Get("5"); hist5->Draw("HIST");

Definition at line 28 of file plotHisto.C.

TH1D* hist7 = (TH1D*)f.Get("7")

Definition at line 31 of file plotHisto.C.