4 TFile
f(
"radioprotection_NEW.root");
5 TDirectory*
dir =
f.Get(
"radioprotection_ntuple");
8 TNtuple *
ntuple2 = (TNtuple*)dir->Get(
"102");
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);
45 ntuple2.Draw(
"edep>>h1",
"",
"");
TH3F * edep3DDistribution
TH2F * edep2DDistribution