Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
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
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
y
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
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
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
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
y
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
y
z
Enumerations
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
Enumerator
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
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File 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
l
m
n
o
p
q
r
s
t
u
v
w
x
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
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Enumerator
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
Macros
_
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
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Functions
TestWriteEventFormat Namespace Reference
Functions
def
main
()
Function Documentation
◆
main()
def TestWriteEventFormat.main
(
)
Definition at line
12
of file
TestWriteEventFormat.py
.
12
def
main
():
13
numberOfStreams = 5
14
streamName =
"Test"
15
flags =
EventFormatTestFlags
(eventsPerFile=5)
16
for
i
in
range
(numberOfStreams):
17
flags.addFlag(
18
f
"Output.{streamName}{i}FileName"
,
19
f
"{streamName}{i}.pool.root"
,
20
)
21
flags.addFlag(f
"Output.doWrite{streamName}{i}"
,
True
)
22
23
flags.fillFromArgs()
24
flags.lock()
25
26
acc =
EventFormatTestOutputCfg
(
27
flags,
28
itemList=[
29
"xAODMakerTest::AVec#TestObject"
,
30
"xAODMakerTest::AAuxContainer#TestObjectAux."
,
31
"xAOD::EventInfo#EventInfo"
,
32
"xAOD::EventAuxInfo#EventInfoAux."
,
33
],
34
)
35
acc.addEventAlgo(
36
CompFactory.xAODMakerTest.ACreatorAlg(
"ACreator"
, OutputKey=
"TestObject"
),
37
sequenceName=
"AthAlgSeq"
,
38
)
39
acc.merge(
EventInfoCnvAlgCfg
(flags, disableBeamSpot=
True
))
40
acc.merge(
41
MetaDataSvcCfg
(
42
flags,
43
toolNames=[
44
"xAODMaker::EventFormatMetaDataTool"
,
45
"xAODMaker::FileMetaDataTool"
,
46
],
47
)
48
)
49
acc.run(flags.Exec.MaxEvents)
50
51
TestWriteEventFormat.main
def main()
Definition:
TestWriteEventFormat.py:12
EventFormatTestConfig.EventFormatTestFlags
def EventFormatTestFlags(eventsPerFile=5, inputFiles=None)
Definition:
EventFormatTestConfig.py:12
EventFormatTestConfig.EventFormatTestOutputCfg
def EventFormatTestOutputCfg(flags, streamName="Test", numberOfStreams=5, itemList=None)
Definition:
EventFormatTestConfig.py:24
plotBeamSpotVxVal.range
range
Definition:
plotBeamSpotVxVal.py:195
python.MetaDataSvcConfig.MetaDataSvcCfg
def MetaDataSvcCfg(flags, toolNames=[], tools=[])
Definition:
MetaDataSvcConfig.py:6
python.xAODEventInfoCnvConfig.EventInfoCnvAlgCfg
def EventInfoCnvAlgCfg(flags, name="EventInfoCnvAlg", inputKey="McEventInfo", outputKey="EventInfo", disableBeamSpot=False, **kwargs)
Definition:
xAODEventInfoCnvConfig.py:11
Generated on Tue May 13 2025 22:10:33 for ATLAS Offline Software by
1.8.18