https://github.com/root-project/root
Raw File
Tip revision: 76be6de18dcbe8d887847d63ccba200af4390992 authored by Fons Rademakers on 19 May 2008, 09:32:27 UTC
tag patch release v5-18-00c.
Tip revision: 76be6de
geometry.py
import os
import ROOT

macrodir = os.path.dirname( os.path.join( os.getcwd(), __file__ ) )

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