Geant4
10.02.p03
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:
advanced/microbeam/plot.C:189
c1
TCanvas * c1
Definition:
plot_primary.C:10
f
TFile f("brachytherapy.root")
Reset
ntupleExperimental Reset()
Geant4
Geant4.10.02.p03
examples
advanced
brachytherapy
plot_primary.C
Generated by
1.8.13