ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
plot_primary.C
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file plot_primary.C
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 }