LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
plotHisto.C
Go to the documentation of this file.
1
{
2
gROOT->Reset();
3
4
// Draw histos filled by Geant4 simulation
5
//
6
TFile
f
(
"Co60.root"
);
7
TCanvas*
c1
=
new
TCanvas(
"c1"
,
" "
);
8
11
12
TH1D*
hist4
= (TH1D*)
f
.Get(
"4"
);
13
hist4->Draw(
"HIST"
);
14
15
TH1D*
hist14
= (TH1D*)
f
.Get(
"14"
);
16
hist14->Draw(
"HIST"
);
17
18
TH1D*
hist24
= (TH1D*)
f
.Get(
"24"
);
19
hist24->Draw(
"HIST"
);
20
21
TH1D*
hist25
= (TH1D*)
f
.Get(
"25"
);
22
hist25->Draw(
"HIST"
);
23
24
TH1D*
hist26
= (TH1D*)
f
.Get(
"26"
);
25
hist26->Draw(
"HIST"
);
26
}
hist14
TH1D * hist14
Definition:
plotHisto.C:15
f
TFile f
Definition:
plotHisto.C:6
hist4
TH1D * hist4
Definition:
plotHisto.C:18
c1
TCanvas * c1
Definition:
plotHisto.C:7
hist25
TH1D * hist25
Definition:
plotHisto.C:21
hist26
TH1D * hist26
Definition:
plotHisto.C:24
hist24
TH1D * hist24
Definition:
plotHisto.C:18
geant4.10.06.p01
examples
extended
radioactivedecay
Activation
plotHisto.C
Generated on Thu May 2 2024 20:59:32 for LArSoft by
1.8.11