Loading [MathJax]/extensions/tex2jax.js
ROOT
Version v6.22
master
v6.36
v6.34
v6.32
v6.30
v6.28
v6.26
v6.24
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
Reference Guide
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
geometry.py
Go to the documentation of this file.
1
## \file
2
## \ingroup tutorial_pyroot
3
## \notebook -nodraw
4
## Geometry
5
##
6
## \macro_code
7
##
8
## \author Wim Lavrijsen
9
10
import
os
11
import
ROOT
12
13
macrodir = os.path.join(str(ROOT.gROOT.GetTutorialDir()),
'pyroot'
)
14
15
# the na49.C file was generated, so no python conversion is provided
16
ROOT.gROOT.Macro( ROOT.gSystem.UnixPathName( os.path.join( macrodir, os.pardir,
'geom'
,
'na49.C'
) ) )
17
18
exec(
open
(os.path.join( macrodir,
'na49visible.py'
)).read())
19
exec(
open
(os.path.join( macrodir,
'na49geomfile.py'
)).read())
ROOT::Math::detail::open
@ open
Definition:
GenVectorIO.h:35
tutorials
pyroot
geometry.py
ROOT v6-22 - Reference Guide Generated on Fri Apr 1 2022 11:53:30 (GVA Time) using Doxygen 1.9.4