Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
macro.C
Go to the documentation of this file.
1 {
2 TFile f("remsim.root");
3 TDirectory* dir = (TDirectory*)f.Get("histo");
4 TTree* h2 =(TTree*)dir->Get("1");// Insert the ID of the histo to plot
5 h2.Draw();
6 }