Revision 006c98b85d8b743848d4a89773728740c39a465b authored by Vassil Vassilev on 27 March 2014, 10:26:03 UTC, committed by Vassil Vassilev on 31 March 2014, 11:57:22 UTC
1 parent bdd1961
Raw File
na49geomfile.C
void na49geomfile() {
//   Before executing this macro, the file makegeometry.C must have been executed
//
   gBenchmark->Start("geometry");
   TGeometry *n49 =(TGeometry*)gROOT->FindObject("na49");
   if (n49) {
      TFile na("na49.root","RECREATE");
      n49->Write();
      na.Write();
   }
   gBenchmark->Show("geometry");
}
back to top