Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:19:27

0001 {
0002 // Plot the energy spectrum of the primary particles
0003 gROOT -> Reset();
0004 
0005 TFile f("ultra.root");
0006   
0007 TCanvas *c1 = new TCanvas("Photons energy");
0008 PhotonEnergy->Draw();
0009 
0010 TCanvas *c2 = new TCanvas("Number of photons");
0011 NumberDetectedPhotons->Draw();
0012 }