Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Kazuya Mochizuki
athena
Commits
637f9e9d
Commit
637f9e9d
authored
Nov 05, 2019
by
Rafal Bielski
Browse files
Use eformat python event iterator instead of robs() method
parent
770ab2e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Trigger/TriggerCommon/TriggerJobOpts/python/HLTTriggerResultGetter.py
View file @
637f9e9d
...
...
@@ -29,11 +29,8 @@ def EDMDecodingVersion():
rodVersionM
=
-
1
rodVersionL
=
-
1
# Do an empty loop over all robs to work around memory allocation problem ATR-20480
for
robf
in
bs
[
0
].
robs
()[
0
]:
pass
# Find the first HLT ROBFragment in the first event
for
robf
in
bs
[
0
]
.
robs
()[
0
]
:
for
robf
in
bs
[
0
]:
if
robf
.
rob_source_id
().
subdetector_id
()
==
SubDetector
.
TDAQ_HLT
:
rodVersionM
=
robf
.
rod_minor_version
()
>>
8
rodVersionL
=
robf
.
rod_minor_version
()
&
0xFF
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment