Go to the documentation of this file.
2 TFile
f(
"brachytherapy.root");
4 TDirectory*
dir = (TDirectory*)
f.Get(
"ntuple");
5 TTree*
ntuple = (TTree*)dir->Get(
"EnergyDeposition");
13 ntuple->GetBranch(
"xx")->SetAddress(&xx);
14 ntuple->GetBranch(
"yy")->SetAddress(&yy);
15 ntuple->GetBranch(
"zz")->SetAddress(&zz);
16 ntuple->GetBranch(
"edep")->SetAddress(&edep);
37 gStyle->SetPalette(1);
39 ntuple.Draw(
"xx:yy:zz:edep>>h30",
"",
"colz");