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

Go to the source code of this file.

Functions

TFile f ("essai.root")
 
hist2 Draw ("HIST")
 

Variables

TCanvas * c1 = new TCanvas("c1", " ")
 
TH1D * hist2 = (TH1D*)f.Get("2")
 
TH1D * hist6 = (TH1D*)f.Get("6")
 

Function Documentation

hist2 Draw ( "HIST"  )
TFile f ( "essai.root"  )

Variable Documentation

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

Definition at line 7 of file plotHisto.C.

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

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

Definition at line 12 of file plotHisto.C.

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

Definition at line 15 of file plotHisto.C.