LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
plot_primary.C
Go to the documentation of this file.
1
{
2
// Plot the energy spectrum of the primary particles
3
gROOT ->
Reset
();
4
5
TFile
f
(
"brachytherapy.root"
);
6
7
// Draw histos filled by Geant4 simulation
8
//
9
10
TCanvas*
c1
=
new
TCanvas(
"c1"
,
" "
);
11
12
h10
.Draw();
13
}
h10
TH1F * h10
Definition:
plot.C:187
Reset
ntupleExperimental Reset()
f
TFile f("brachytherapy.root")
c1
TCanvas * c1
Definition:
plot_primary.C:10
geant4.10.06.p01
examples
advanced
brachytherapy
plot_primary.C
Generated on Thu May 2 2024 20:59:32 for LArSoft by
1.8.11