Skip to content
Snippets Groups Projects
Commit 70282260 authored by scott snyder's avatar scott snyder
Browse files

InDetTrackSystematicsTools: Fix StatusCode return value.

Fix StatusCode return value.
parent 4b1b8b0b
No related branches found
No related tags found
1 merge request!20779WIP: Migrate DataQualityTools to ToolHandles
...@@ -191,7 +191,7 @@ namespace InDet { ...@@ -191,7 +191,7 @@ namespace InDet {
if ( ! sc.isSuccess() ) { if ( ! sc.isSuccess() ) {
if (m_runNumber <= 0 || !(m_isData||m_isSimulation)) { if (m_runNumber <= 0 || !(m_isData||m_isSimulation)) {
ATH_MSG_ERROR( "Unable to retrieve from event store. Manually set data/simulation and/or run number." ); ATH_MSG_ERROR( "Unable to retrieve from event store. Manually set data/simulation and/or run number." );
return CP::CorrectionCode::Error; return StatusCode::FAILURE;
} }
} }
bool isSim = ei->eventType( xAOD::EventInfo::IS_SIMULATION ); bool isSim = ei->eventType( xAOD::EventInfo::IS_SIMULATION );
......
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