ROOT
6.10/00
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
tutorials
pyroot
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
())
read
double read(const std::string &file_name)
reading
Definition:
testVectorIO.cxx:209
ROOT::Math::detail::open
Definition:
GenVectorIO.h:35