LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
}
ha1
TH1D * ha1
Definition:
plot1.C:14
c1
TCanvas * c1
Definition:
plot1.C:6
fa
TFile fa("Co60.root")
geant4.10.06.p01
examples
extended
radioactivedecay
Activation
plot1.C
Generated on Thu May 2 2024 20:59:33 for LArSoft by
1.8.11