Logo ROOT   6.07/09
Reference Guide
Namespaces
geometry.py File Reference

Namespaces

 geometry
 

Detailed Description

View in nbviewer Open in SWAN Geometry

1 
2 import os
3 import ROOT
4 
5 macrodir = os.path.join(ROOT.gROOT.GetTutorialsDir(), 'pyroot')
6 
7 # the na49.C file was generated, so no python conversion is provided
8 ROOT.gROOT.Macro( ROOT.gSystem.UnixPathName( os.path.join( macrodir, os.pardir, 'geom', 'na49.C' ) ) )
9 
10 exec(open(os.path.join( macrodir, 'na49visible.py')).read())
11 exec(open(os.path.join( macrodir, 'na49geomfile.py')).read())
Author
Wim Lavrijsen

Definition in file geometry.py.