6   gROOT->ProcessLine(
".x ../Libs.C");
 
   15   TFile* 
f = 
new TFile(inFile.c_str()); 
 
   16   TTree *
t=(TTree *) f->Get(
"pndsim") ;
 
   21   TClonesArray* 
mc_array=
new TClonesArray(
"PndMCTrack");
 
   22   t->SetBranchAddress(
"MCTrack",&mc_array);
 
   24   TGeoManager *
geoMan = (TGeoManager*) gDirectory->Get(
"FAIRGeom");
 
   27   for(Int_t event=0;
event<nEvents && 
event<mc_array.GetEntriesFast();
event++)
 
   48   cout << 
"Macro finished succesfully." << endl;
 
   49   cout << 
"Real time " << rtime << 
" s, CPU time " << ctime << 
" s" << endl;
 
PndFileNameCreator namecreator("/home/ralfk/MVD/mvdmacros/data/mvdevalg4.root")
std::string GetSimFileName(std::string addon="", bool cut=false)
A simple class which adds the corresponding file extensions to a given base class.