Files
geant4/examples/advanced/brachytherapy/plot_primary.C
T
2016-06-10 12:08:39 +02:00

14 lines
214 B
C++

{
// Plot the energy spectrum of the primary particles
gROOT -> Reset();
TFile f("brachytherapy.root");
// Draw histos filled by Geant4 simulation
//
TCanvas* c1 = new TCanvas("c1", " ");
h10.Draw();
}