diff --git a/PhysicsAnalysis/TrackingID/InDetTrackSystematicsTools/Root/InDetTrackBiasingTool.cxx b/PhysicsAnalysis/TrackingID/InDetTrackSystematicsTools/Root/InDetTrackBiasingTool.cxx
index c8b9f574a0e4376c47351e2b78386ccf43d95fe2..a15ba820e10769f3ac29ee0ac6e49cb9cd5ddc59 100644
--- a/PhysicsAnalysis/TrackingID/InDetTrackSystematicsTools/Root/InDetTrackBiasingTool.cxx
+++ b/PhysicsAnalysis/TrackingID/InDetTrackSystematicsTools/Root/InDetTrackBiasingTool.cxx
@@ -191,7 +191,7 @@ namespace InDet {
     if ( ! sc.isSuccess() ) {
       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." );
-	return CP::CorrectionCode::Error;
+	return StatusCode::FAILURE;
       }
     }
     bool isSim = ei->eventType( xAOD::EventInfo::IS_SIMULATION );