Files
geant4/examples/advanced/radioprotection/macro.C
T
2016-06-09 16:46:55 +02:00

7 lines
157 B
C++

{
TFile f("remsim.root");
TDirectory* dir = (TDirectory*)f.Get("histo");
TTree* h2 =(TTree*)dir->Get("1");// Insert the ID of the histo to plot
h2.Draw();
}