ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
geometry.py
Go to the documentation of this file.
1 import os
2 import ROOT
3 
4 try:
5  # convenience, allowing to run this file from a different directory
6  macrodir = os.path.dirname( os.path.join( os.getcwd(), __file__ ) )
7 except NameError:
8  macrodir = '' # in case of p2.2
9 
10 
11 # the na49.C file was generated, so no python conversion is provided
12 ROOT.gROOT.Macro( ROOT.gSystem.UnixPathName( os.path.join( macrodir, os.pardir, 'geom', 'na49.C' ) ) )
13 execfile( os.path.join( macrodir, 'na49visible.py' ) )
14 execfile( os.path.join( macrodir, 'na49geomfile.py' ) )