https://github.com/root-project/root
Raw File
Tip revision: 7e576dde453d4e2c5ef4dbbcd8d1dfaf67470de6 authored by Philippe Canal on 28 March 2007, 09:54:14 UTC
Remove memory leak in the case where the buffer is not compressible (rare)
Tip revision: 7e576dd
na49geomfile.C
{
//   Before executing this macro, the file makegeometry.C must have been executed
//
   gBenchmark->Start("geometry");
   TFile na("na49.root","RECREATE");
   TGeometry *n49 =(TGeometry*)gROOT->FindObject("na49");
   n49->Write();
   na.Write();
   na.Close();
   gBenchmark->Show("geometry");
   //gROOT->Reset();
}
back to top