LArSoft
v06_85_00
Liquid Argon Software toolkit - http://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:189
Reset
ntupleExperimental Reset()
f
TFile f("brachytherapy.root")
c1
TCanvas * c1
Definition:
plot_primary.C:10
geant4.10.03.p03
examples
advanced
brachytherapy
plot_primary.C
Generated on Thu Jul 26 2018 13:09:47 for LArSoft by
1.8.11