Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Sherwood
athena
Commits
98a1574d
Commit
98a1574d
authored
6 years ago
by
Tomasz Bold
Browse files
Options
Downloads
Patches
Plain Diff
handle misisng HLT Result
Former-commit-id:
b5455bea
parent
f091bc47
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Trigger/TrigSteer/TrigOutputHandling/src/TriggerEDMDeserialiserAlg.cxx
+3
-1
3 additions, 1 deletion
...teer/TrigOutputHandling/src/TriggerEDMDeserialiserAlg.cxx
with
3 additions
and
1 deletion
Trigger/TrigSteer/TrigOutputHandling/src/TriggerEDMDeserialiserAlg.cxx
+
3
−
1
View file @
98a1574d
...
@@ -50,7 +50,9 @@ StatusCode TriggerEDMDeserialiserAlg::execute_r(const EventContext& context) con
...
@@ -50,7 +50,9 @@ StatusCode TriggerEDMDeserialiserAlg::execute_r(const EventContext& context) con
auto
resultHandle
=
SG
::
makeHandle
(
m_resultKey
,
context
);
auto
resultHandle
=
SG
::
makeHandle
(
m_resultKey
,
context
);
std
::
unordered_map
<
uint16_t
,
Payload
>::
const_iterator
mapElement
=
resultHandle
->
getSerialisedData
().
find
(
m_moduleID
);
std
::
unordered_map
<
uint16_t
,
Payload
>::
const_iterator
mapElement
=
resultHandle
->
getSerialisedData
().
find
(
m_moduleID
);
if
(
mapElement
==
resultHandle
->
getSerialisedData
().
end
()
)
{
if
(
mapElement
==
resultHandle
->
getSerialisedData
().
end
()
)
{
ATH_MSG_WARNING
(
"Payload of ID "
<<
m_moduleID
<<
" absent in this event"
);
// TODO revise this behavior for TLA usecases
ATH_MSG_ERROR
(
"Payload of ID "
<<
m_moduleID
<<
" absent in this event"
);
return
StatusCode
::
FAILURE
;
}
}
const
Payload
&
data
=
mapElement
->
second
;
const
Payload
&
data
=
mapElement
->
second
;
PayloadIterator
start
=
data
.
begin
();
PayloadIterator
start
=
data
.
begin
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment