LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
plot1.C
Go to the documentation of this file.
1 {
2  gROOT->Reset();
3 
4  // Draw histos filled by Geant4 simulation
5  //
6  TCanvas* c1 = new TCanvas("c1", " ");
7 
8  c1->SetLogy(0);
9  c1->cd();
10  c1->Update();
11 
12  TFile fa("Co60.root");
13 
14  TH1D* ha1 = (TH1D*)fa.Get("4");
15  ha1->SetStats(kFALSE);
16  ha1->SetLineColor(kRed);
17  ha1->Draw("HIST");
18 
19 }
TH1D * ha1
Definition: plot1.C:14
TCanvas * c1
Definition: plot1.C:6
TFile fa("Co60.root")