https://github.com/root-project/root
Raw File
Tip revision: 4bd6da5d0d33a875b43ceb7007a5aeaf63077b93 authored by Axel Naumann on 06 November 2023, 16:06:34 UTC
[cmake] Fix distsrc script.
Tip revision: 4bd6da5
geometry.py
## \file
## \ingroup tutorial_pyroot
## \notebook -nodraw
## Geometry
##
## \macro_code
##
## \author Wim Lavrijsen

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