4 TFile
f(
"radioprotection_NEW.root");
5 TDirectory*
dir =
f.Get(
"radioprotection_ntuple");
7 TNtuple *
ntuple1 = (TNtuple*)dir->Get(
"101");
8 TNtuple *
ntuple2 = (TNtuple*)dir->Get(
"102");
9 TNtuple *
ntuple3 = (TNtuple*)dir->Get(
"103");
23 TH1F*
edep1Distribution =
new TH1F(
"h0",
"Primary Particle Energy Spectrum; Energy (Mev);Frequency",
24 numberOfBinsX, Xmin, Xmax);
27 TH1F* edep1Distribution =
new TH1F(
"h1",
"Energy deposition; Edep (kev);Frequency",
28 numberOfBinsX, Xmin, Xmax);
32 numberOfBinsX, Xmin, Xmax,
33 numberOfBinsY, Ymin, Ymax);
37 numberOfBinsX, Xmin, Xmin,
38 numberOfBinsY, Ymin, Ymax,
39 numberOfBinsZ, Zmin, Zmax);
43 ntuple1.Draw(
"Ek>>h0",
"",
"");