The Gaudi Framework
v36r7 (7f57a304)
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
x
Enumerations
a
c
d
e
f
i
l
m
n
o
p
r
s
t
Enumerator
a
b
c
d
e
f
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Properties
Related Functions
:
a
b
c
d
e
g
h
i
m
o
p
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
_
b
c
e
f
g
h
i
l
m
n
o
p
r
s
t
u
z
Variables
a
b
c
d
e
g
h
i
m
o
p
r
s
t
v
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
Enumerations
Enumerator
c
e
f
p
u
v
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
TupleEx.py
Go to the documentation of this file.
1
11
from
Gaudi.Configuration
import
*
12
13
ApplicationMgr
().ExtSvc += [
"RndmGenSvc"
]
14
15
# Run various tupling algorithms
16
from
Configurables
import
TupleAlg, TupleAlg2, TupleAlg3
17
18
ApplicationMgr
().TopAlg = [
19
TupleAlg(
"Tuple"
, NTupleLUN=
"MYLUN"
),
20
TupleAlg2(
"Tuple2"
, NTupleLUN=
"MYLUN"
),
21
TupleAlg3(
"Tuple3"
, NTupleLUN=
"MYLUN"
),
22
]
23
24
# Output level
25
MessageSvc
().OutputLevel = 3
26
27
# 10000 'events', no input
28
ApplicationMgr
().EvtMax = 10000
29
ApplicationMgr
().EvtSel =
"NONE"
30
31
# Output ROOT tuple file name
32
ApplicationMgr
().HistogramPersistency =
"ROOT"
33
NTupleSvc
().Output = [
"MYLUN DATAFILE='TupleEx_pyopts.root' OPT='NEW' TYP='ROOT'"
]
34
35
# Set the compression level for the ROOT tuple file
36
from
GaudiKernel.Configurable
import
ConfigurableGeneric
as
RFileCnv
37
38
RFileCnv(
"RFileCnv"
).GlobalCompression =
"LZMA:6"
NTupleSvc
Definition:
NTupleSvc.h:33
GaudiKernel.Configurable
Definition:
Configurable.py:1
Gaudi.Configuration
Definition:
Configuration.py:1
MessageSvc
Definition:
MessageSvc.h:40
ApplicationMgr
Definition:
ApplicationMgr.h:57
GaudiExamples
options
TupleEx.py
Generated on Fri Jul 29 2022 20:50:40 for The Gaudi Framework by
1.8.18