https://github.com/root-project/root
Raw File
Tip revision: f668981f9a2e1f08d019f7c02834258140441e0d authored by Fons Rademakers on 21 June 2011, 08:25:30 UTC
tag patch release v5-28-00e.
Tip revision: f668981
geometry.py
import os
import ROOT

try:
 # convenience, allowing to run this file from a different directory
   macrodir = os.path.dirname( os.path.join( os.getcwd(), __file__ ) )
except NameError:
   macrodir = ''         # in case of p2.2

ROOT.gROOT.Reset()

# the na49.C file was generated, so no python conversion is provided
ROOT.gROOT.Macro( os.path.join( macrodir, os.pardir, 'geom', 'na49.C' ) )
execfile( os.path.join( macrodir, 'na49visible.py' ) )
execfile( os.path.join( macrodir, 'na49geomfile.py' ) )
back to top