Commit 9de0662b authored by Beojan Stanislaus's avatar Beojan Stanislaus
Browse files

Re-introduce current StoreGate name check in EvtIdModifierSvc

parent 0a1b14b9
Pipeline #3469947 failed with stage
in 0 seconds
......@@ -260,22 +260,21 @@ EvtIdModifierSvc::run_number_list() const
void
EvtIdModifierSvc::modify_evtid(EventID*& evt_id, bool consume_stream)
{
// REVIEW Is this really necessary?
// // only when consuming stream is required do we check for a matching
// // active-store name (ie: typically the case of being called from a T/P cnv)
// if (consume_stream) {
// StoreGateSvc *active = m_activeStore->activeStore();
// if (!active) {
// ATH_MSG_INFO("could not retrieve the active evtstore - bailing out");
// return;
// }
// const std::string& evtStoreName = active->name();
// ATH_MSG_DEBUG("active store: [" << evtStoreName << "]");
// if (evtStoreName != m_evtStoreName) {
// return;
// }
// }
// only when consuming stream is required do we check for a matching
// current StoreGate name (ie: typically the case of being called from a T/P cnv)
if (consume_stream) {
StoreGateSvc *active = StoreGateSvc::currentStoreGate();
if (!active) {
ATH_MSG_INFO("could not retrieve the active evtstore - bailing out");
return;
}
const std::string& evtStoreName = active->name();
ATH_MSG_DEBUG("active store: [" << evtStoreName << "]");
if (evtStoreName != m_evtStoreName) {
return;
}
}
ATH_MSG_DEBUG
( "evtid before massaging: "
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment