diff --git a/MuonSpectrometer/MuonReconstruction/MuonTrackMakers/MuonTrackMakerAlgs/MuonSegmentTrackMaker/src/MuPatTrackBuilder.cxx b/MuonSpectrometer/MuonReconstruction/MuonTrackMakers/MuonTrackMakerAlgs/MuonSegmentTrackMaker/src/MuPatTrackBuilder.cxx
index 180201b515396b81393489ebc236a0a26820b01f..7fe7b0f129e499108511ef3a2cad2fd1f5d2d80a 100755
--- a/MuonSpectrometer/MuonReconstruction/MuonTrackMakers/MuonTrackMakerAlgs/MuonSegmentTrackMaker/src/MuPatTrackBuilder.cxx
+++ b/MuonSpectrometer/MuonReconstruction/MuonTrackMakers/MuonTrackMakerAlgs/MuonSegmentTrackMaker/src/MuPatTrackBuilder.cxx
@@ -1,5 +1,5 @@
 /*
-  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
 
 #include "MuPatTrackBuilder.h"
@@ -39,11 +39,11 @@ StatusCode MuPatTrackBuilder::initialize()
   return StatusCode::SUCCESS; 
 }
 
-StatusCode MuPatTrackBuilder::execute()
+StatusCode MuPatTrackBuilder::execute(const EventContext& ctx) const
 {
   typedef std::vector<const Muon::MuonSegment*> MuonSegmentCollection;
 
-  SG::ReadHandle<Trk::SegmentCollection> segmentColl (m_segmentKey);
+  SG::ReadHandle<Trk::SegmentCollection> segmentColl (m_segmentKey, ctx);
   if (!segmentColl.isValid() ) {
     msg(MSG::WARNING) << "Could not find MuonSegmentCollection at " << segmentColl.name() <<endmsg;
     return StatusCode::RECOVERABLE;
@@ -72,7 +72,7 @@ StatusCode MuPatTrackBuilder::execute()
   TrackCollection * newtracks = m_trackMaker->find(msc);
   if (!newtracks) newtracks = new TrackCollection();
 
-  SG::WriteHandle<TrackCollection> spectroTracks(m_spectroTrackKey); 	  
+  SG::WriteHandle<TrackCollection> spectroTracks(m_spectroTrackKey, ctx); 	  
   if (spectroTracks.record(std::unique_ptr<TrackCollection>(newtracks)).isFailure()){    
       ATH_MSG_WARNING( "New Track Container " << spectroTracks.name() << " could not be recorded in StoreGate !");
       return StatusCode::RECOVERABLE;
diff --git a/MuonSpectrometer/MuonReconstruction/MuonTrackMakers/MuonTrackMakerAlgs/MuonSegmentTrackMaker/src/MuPatTrackBuilder.h b/MuonSpectrometer/MuonReconstruction/MuonTrackMakers/MuonTrackMakerAlgs/MuonSegmentTrackMaker/src/MuPatTrackBuilder.h
index 1358676858349b38c63730f849a45bb09625c1b7..a957b956dd4e694132d9e7d9656dc56a21d886b5 100755
--- a/MuonSpectrometer/MuonReconstruction/MuonTrackMakers/MuonTrackMakerAlgs/MuonSegmentTrackMaker/src/MuPatTrackBuilder.h
+++ b/MuonSpectrometer/MuonReconstruction/MuonTrackMakers/MuonTrackMakerAlgs/MuonSegmentTrackMaker/src/MuPatTrackBuilder.h
@@ -1,5 +1,5 @@
 /*
-  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 */
 
 #ifndef MUPATTRACKBUILDER_H
@@ -7,7 +7,7 @@
 
 #include <string>
 
-#include "AthenaBaseComps/AthAlgorithm.h"
+#include "AthenaBaseComps/AthReentrantAlgorithm.h"
 #include "GaudiKernel/ServiceHandle.h"
 #include "GaudiKernel/ToolHandle.h"
 #include "TrkSegment/SegmentCollection.h"
@@ -18,13 +18,13 @@
 #include "AthenaMonitoringKernel/GenericMonitoringTool.h"
 #include "AthenaMonitoringKernel/Monitored.h"
 
-class MuPatTrackBuilder : public AthAlgorithm
+class MuPatTrackBuilder : public AthReentrantAlgorithm
 {
  public:
- using AthAlgorithm::AthAlgorithm;
+ using AthReentrantAlgorithm::AthReentrantAlgorithm;
  public:
   virtual StatusCode initialize() override;
-  virtual StatusCode execute() override;
+  virtual StatusCode execute(const EventContext& ctx) const override;
 
  private: