diff --git a/MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonTrackSummaryHelperTool/src/MuonTrackSummaryHelperTool.cxx b/MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonTrackSummaryHelperTool/src/MuonTrackSummaryHelperTool.cxx
index d6823fcb0b06e0b0b9c475a1c80c08fd145645ef..b1cbb362a25e0f55624a39ac3bc9b9176c49e9d0 100755
--- a/MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonTrackSummaryHelperTool/src/MuonTrackSummaryHelperTool.cxx
+++ b/MuonSpectrometer/MuonReconstruction/MuonRecTools/MuonTrackSummaryHelperTool/src/MuonTrackSummaryHelperTool.cxx
@@ -298,9 +298,7 @@ void Muon::MuonTrackSummaryHelperTool::searchForHoles (
   }
   // 
   if (!m_trackingGeometry) {   
-    StoreGateSvc* detStore = 0;
-    StatusCode sc = service( "DetectorStore", detStore );
-    sc = detStore->retrieve(m_trackingGeometry, m_trackingGeometryName);
+    StatusCode sc = detStore()->retrieve(m_trackingGeometry, m_trackingGeometryName);
     if (sc.isFailure()) {
       msg (MSG::FATAL)<<"Could not find geometry "<< m_trackingGeometryName<<". Exiting."
 		      << endmsg;