# Before executing this macro, the file makegeometry.C must have been executed # import ROOT ROOT.gBenchmark.Start( 'geometry' ) na = ROOT.TFile( 'na49.root', 'RECREATE' ) n49 = ROOT.gROOT.FindObject( 'na49' ) n49.Write() na.Write() na.Close() ROOT.gBenchmark.Show( 'geometry' ) #gROOT.Reset();