3 TFile
f(
"brachytherapy.root");
5 TDirectory*
dir = (TDirectory*)
f.Get(
"brachy_ntuple");
6 TTree*
ntuple = (TTree*)dir->Get(
"1");
14 ntuple->GetBranch(
"xx")->SetAddress(&xx);
15 ntuple->GetBranch(
"yy")->SetAddress(&yy);
16 ntuple->GetBranch(
"zz")->SetAddress(&zz);
17 ntuple->GetBranch(
"edep")->SetAddress(&edep);
33 TCanvas*
c1 =
new TCanvas(
"c1",
" ");
40 gStyle->SetPalette(1);
42 ntuple.Draw(
"xx:yy:zz:edep>>h30",
"",
"colz");
TH3F * edepDDistribution3D
ntupleExperimental Reset()
void Print(G4Element &ele)