From 70282260337f249b139be9e2523096fe30ee324d Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Sun, 25 Mar 2018 19:08:19 +0200
Subject: [PATCH] InDetTrackSystematicsTools: Fix StatusCode return value.

Fix StatusCode return value.
---
 .../InDetTrackSystematicsTools/Root/InDetTrackBiasingTool.cxx   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PhysicsAnalysis/TrackingID/InDetTrackSystematicsTools/Root/InDetTrackBiasingTool.cxx b/PhysicsAnalysis/TrackingID/InDetTrackSystematicsTools/Root/InDetTrackBiasingTool.cxx
index c8b9f574a0e4..a15ba820e107 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 );
-- 
GitLab