Files
geant4/examples/advanced/brachytherapy/plot_primary.C
T
2020-12-04 12:30:43 +01:00

14 lines
209 B
C++

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