Logo ROOT   6.14/05
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(str(ROOT.gROOT.GetTutorialDir()), '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.