https://github.com/root-project/root
Raw File
Tip revision: 78dc71f2471d7b5c4d0c6d63d241823d15b10db8 authored by Axel Naumann on 04 November 2016, 14:01:48 UTC
Update release date.
Tip revision: 78dc71f
geometry.py
## \file
## \ingroup tutorial_pyroot
## \notebook -nodraw
## Geometry
##
## \macro_code
##
## \author Wim Lavrijsen

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())
back to top