https://github.com/root-project/root
Raw File
Tip revision: 4650cc30aeef9d1806540778c306047407f75f4f authored by Rene Brun on 14 May 2008, 14:51:27 UTC
tagging development version 5.19/04
Tip revision: 4650cc3
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