Skip to content
Snippets Groups Projects
Commit 98a1574d authored by Tomasz Bold's avatar Tomasz Bold
Browse files

handle misisng HLT Result

Former-commit-id: b5455bea
parent f091bc47
No related branches found
No related tags found
No related merge requests found
...@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment