Logo ROOT   6.08/07
Reference Guide
Namespaces
geometry.py File Reference

Namespaces

 geometry
 

Detailed Description

View in nbviewer Open in SWAN Geometry

import os
import ROOT
macrodir = os.path.join(ROOT.gROOT.GetTutorialsDir(), 'pyroot')
# 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' ) ) )
exec(open(os.path.join( macrodir, 'na49visible.py')).read())
exec(open(os.path.join( macrodir, 'na49geomfile.py')).read())
Author
Wim Lavrijsen

Definition in file geometry.py.