ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
na49geomfile.py
Go to the documentation of this file.
1 # Before executing this macro, the file makegeometry.C must have been executed
2 #
3 
4 import ROOT
5 
6 ROOT.gBenchmark.Start( 'geometry' )
7 na = ROOT.TFile( 'py-na49.root', 'RECREATE' )
8 n49 = ROOT.gROOT.FindObject( 'na49' )
9 n49.Write()
10 na.Write()
11 na.Close()
12 ROOT.gBenchmark.Show( 'geometry' )
13 #gROOT.Reset();
14