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
295fff41
Commit
295fff41
authored
Jul 18, 2019
by
Jiří Mašík
Browse files
basic autoconfiguration of the EDMDecodingVersion from the AOD
parent
2ee22263
Changes
1
Hide whitespace changes
Inline
Side-by-side
Trigger/TriggerCommon/TriggerJobOpts/python/HLTTriggerResultGetter.py
View file @
295fff41
...
...
@@ -48,15 +48,17 @@ def EDMDecodingVersion():
ItemDic
=
inputFileSummary
.
get
(
"eventdata_itemsDic"
)
ItemList
=
inputFileSummary
.
get
(
'eventdata_itemsList'
)
TriggerFlags
.
doMergedHLTResult
=
True
if
cfgKeyStore
.
isInInputFile
(
"HLTResult"
,
"HLTResult_EF"
):
TriggerFlags
.
EDMDecodingVersion
=
1
TriggerFlags
.
doMergedHLTResult
=
False
log
.
info
(
"Decoding version set to 1, because HLTResult_EF found in pool file"
)
elif
cfgKeyStore
.
isInInputFile
(
"HLTResult"
,
"HLTResult_HLT"
):
TriggerFlags
.
EDMDecodingVersion
=
2
TriggerFlags
.
doMergedHLTResult
=
True
elif
cfgKeyStore
.
isInInputFile
(
"xAOD::TrigCompositeContainer"
,
"HLTSummary"
):
TriggerFlags
.
EDMDecodingVersion
=
3
else
:
log
.
warning
(
"
No HLTResult found in pool file"
)
log
.
warning
(
"
Cannot recognise HLT EDM format, TriggerFlags.EDMDecodingVersion=%d"
%
TriggerFlags
.
EDMDecodingVersion
()
)
pass
pass
...
...
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