diff --git a/MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/src/RpcSensitiveDetector.cxx b/MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/src/RpcSensitiveDetector.cxx
index 866205dc51904373b041eb26431c3e73b5ebac7a..beb45a4d38dfcb6d673746f777dcdbc1856c4c48 100755
--- a/MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/src/RpcSensitiveDetector.cxx
+++ b/MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/src/RpcSensitiveDetector.cxx
@@ -21,9 +21,6 @@ using namespace MuonGMR4;
 using namespace CxxUtils;
 using namespace ActsTrk;
 
-namespace {
-   constexpr double tolerance = 10. * Gaudi::Units::micrometer;
-}
 // construction/destruction
 namespace MuonG4R4 {
 
@@ -186,4 +183,4 @@ const MuonGMR4::RpcReadoutElement* RpcSensitiveDetector::getReadoutElement(const
    }
    return readOutElem;
 }
-}
\ No newline at end of file
+}
diff --git a/MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/src/TgcSensitiveDetector.cxx b/MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/src/TgcSensitiveDetector.cxx
index 391cef20b8b7c56669b2d2217c3dc3192d7d15cb..4b0e36b6b975ec255e18964dc479a7aaa270af82 100644
--- a/MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/src/TgcSensitiveDetector.cxx
+++ b/MuonSpectrometer/MuonPhaseII/MuonG4/MuonSensitiveDetectorsR4/src/TgcSensitiveDetector.cxx
@@ -1,4 +1,3 @@
-
 /*
   Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
 */
@@ -20,9 +19,6 @@
 
 using namespace ActsTrk;
 
-namespace {
-   constexpr double tolerance = 10. * Gaudi::Units::micrometer;
-}
 // construction/destruction
 namespace MuonG4R4 {
 
@@ -170,4 +166,4 @@ Identifier TgcSensitiveDetector::getIdentifier(const ActsGeometryContext& gctx,
     return idHelper.channelID(readOutEle->identify(), gasGap, phiGap, 1);
 }
 
-}
\ No newline at end of file
+}