Go to the source code of this file.
ntuple Draw |
( |
"xx:yy:zz:edep>>h30" |
, |
|
|
"" |
, |
|
|
"colz" |
|
|
) |
| |
TFile f |
( |
"brachytherapy.root" |
| ) |
|
ntuple GetBranch |
( |
"xx" |
| ) |
-> SetAddress(&xx) |
ntuple GetBranch |
( |
"yy" |
| ) |
-> SetAddress(&yy) |
ntuple GetBranch |
( |
"zz" |
| ) |
-> SetAddress(&zz) |
TCanvas* c1 = new TCanvas("c1", " ") |
TDirectory* dir = (TDirectory*)f.Get("brachy_ntuple") |
TH3F* edepDDistribution3D |
Initial value:= new TH3F("h30", "3Dedepxyz",
300, -150, 150,
300, -150, 150,
300, -150, 150)
Definition at line 35 of file macro.C.
TTree* ntuple = (TTree*)dir->Get("1") |