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
69836aa5
Commit
69836aa5
authored
Nov 08, 2019
by
Rafal Bielski
Browse files
Update EDMDecodingVersion auto-configuration
parent
f194317c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Trigger/TriggerCommon/TriggerJobOpts/python/HLTTriggerResultGetter.py
View file @
69836aa5
...
...
@@ -82,16 +82,12 @@ def EDMDecodingVersion():
TriggerFlags
.
EDMDecodingVersion
=
1
TriggerFlags
.
doMergedHLTResult
=
False
log
.
info
(
"Decoding version set to 1, because HLTResult_EF found in POOL file"
)
elif
cfgKeyStore
.
isInInputFile
(
"
HLT::HLTResult"
,
"HLTResult_HLT"
):
elif
cfgKeyStore
.
isInInputFile
(
"
xAOD::TrigNavigation"
,
"TrigNavigation"
):
TriggerFlags
.
EDMDecodingVersion
=
2
log
.
info
(
"Decoding version set to 2, because
HLTResult_HLT
found in POOL file"
)
log
.
info
(
"Decoding version set to 2, because
TrigNavigation
found in POOL file"
)
elif
cfgKeyStore
.
isInInputFile
(
"xAOD::TrigCompositeContainer"
,
"HLTNav_Summary"
):
TriggerFlags
.
EDMDecodingVersion
=
3
log
.
info
(
"Decoding version set to 3, because HLTNav_Summary found in POOL file"
)
elif
rec
.
readAOD
()
and
cfgKeyStore
.
isInInputFile
(
"xAOD::TrigNavigation"
,
"TrigNavigation"
):
# If running on AOD input (e.g. for monitoring), there is not HLTResult, so check for TrigNavigation
TriggerFlags
.
EDMDecodingVersion
=
2
log
.
info
(
"Decoding version set to 2, because TrigNavigation found in POOL file"
)
elif
rec
.
readRDO
():
# If running Trigger on RDO input (without previous trigger result), choose Run-2 or Run-3 based on doMT
if
TriggerFlags
.
doMT
():
...
...
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