Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Beojan Stanislaus
athena
Commits
9de0662b
Commit
9de0662b
authored
Jan 20, 2022
by
Beojan Stanislaus
Browse files
Re-introduce current StoreGate name check in EvtIdModifierSvc
parent
0a1b14b9
Pipeline
#3469947
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Control/AthenaServices/src/EvtIdModifierSvc.cxx
View file @
9de0662b
...
...
@@ -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: "
...
...
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