Files
2020-12-04 12:30:43 +01:00

13 lines
249 B
C++

{
// Plot the energy spectrum of the primary particles
gROOT -> Reset();
TFile f("ultra.root");
TCanvas *c1 = new TCanvas("Photons energy");
PhotonEnergy->Draw();
TCanvas *c2 = new TCanvas("Number of photons");
NumberDetectedPhotons->Draw();
}