Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
geometry.py
Go to the documentation of this file.
1## \file
2## \ingroup tutorial_geom
3## \notebook -nodraw
4## Geometry
5##
6## \macro_code
7##
8## \author Wim Lavrijsen
9
10import os
11import ROOT
12
13macrodir = os.path.join(str(ROOT.gROOT.GetTutorialDir()), 'visualisation', 'geom')
14
15# the na49.C file was generated, so no python conversion is provided
16ROOT.gROOT.Macro( ROOT.gSystem.UnixPathName( os.path.join( macrodir, 'na49.C' ) ) )
17
18exec(open(os.path.join( macrodir, 'na49visible.py')).read())
19exec(open(os.path.join( macrodir, 'na49geomfile.py')).read())