Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework
v36r16 (ea80daf8)
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
j
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
w
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
Read.py
Go to the documentation of this file.
1
11
"""
12
Read the Event Tag Collection
13
"""
14
from
Configurables
import
GaudiPersistency, TagCollectionSvc
15
from
Gaudi.Configuration
import
*
16
17
GaudiPersistency()
18
FileCatalog(Catalogs=[
"xmlcatalog_file:EvtColsEx.xml"
])
19
20
evtColl = TagCollectionSvc(
"EvtTupleSvc"
)
21
22
# Input
23
esel =
EventSelector
(PrintFreq=1)
24
esel.Input = [
25
"COLLECTION='Fill/COL1' SEL='%s' "
26
"DATAFILE='PFN:EvtColsEx.tags' "
27
"SVC='Gaudi::RootCnvSvc' OPT='READ'"
% sel
28
for
sel
in
[
29
"runNum<10 && runNum>8"
,
30
"runNum<100 && flat>9.9"
,
31
"binom==7 || poisson==9"
,
32
]
33
]
34
# "COLLECTION='Fill/COL1' SEL='runNum<10 && runNum>8' DATAFILE='PFN:EvtColsEx.tags' SVC='Gaudi::RootEvtSelector' OPT='READ'"
35
# "COLLECTION='Fill/COL1' SEL='runNum<100 && flat>9.9' DATAFILE='PFN:EvtColsEx.tags' SVC='Gaudi::RootEvtSelector' OPT='READ'"
36
# "COLLECTION='Fill/COL1' SEL='binom==7 || poisson==9' DATAFILE='PFN:EvtColsEx.tags' SVC='Gaudi::RootEvtSelector' OPT='READ'"
37
38
app =
ApplicationMgr
()
39
app.EvtMax = -1
40
app.ExtSvc += [evtColl]
Gaudi.Configuration
Definition:
Configuration.py:1
ApplicationMgr
Definition:
ApplicationMgr.h:57
EventSelector
Definition of class EventSelector.
Definition:
EventSelector.h:63
GaudiExamples
options
EvtColsEx
Read.py
Generated on Fri Jul 28 2023 16:22:53 for The Gaudi Framework by
1.8.18