https://github.com/root-project/root
Raw File
Tip revision: ef14537a80570dfa2935994b22de5a083ce76c33 authored by Pere Mato on 01 April 2016, 14:23:10 UTC
Update ROOT version files to v6.07/06.
Tip revision: ef14537
geometry.py
## \file
## \ingroup tutorial_pyroot
## Geometry
##
## \macro_code
##
## \author Wim Lavrijsen

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


# the na49.C file was generated, so no python conversion is provided
ROOT.gROOT.Macro( ROOT.gSystem.UnixPathName( 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