Logo ROOT  
Reference Guide
na49geomfile.py File Reference

Namespaces

 na49geomfile
 

Detailed Description

Before executing this macro, the file makegeometry.C must have been executed

import ROOT
ROOT.gBenchmark.Start( 'geometry' )
na = ROOT.TFile( 'py-na49.root', 'RECREATE' )
n49 = ROOT.gROOT.FindObject( 'na49' )
n49.Write()
na.Write()
na.Close()
ROOT.gBenchmark.Show( 'geometry' )
Author
Wim Lavrijsen

Definition in file na49geomfile.py.