From b057f332c1ef2d39b6be72c8cd67be9d0a7308dc Mon Sep 17 00:00:00 2001
From: Johannes Josef Junggeburth <johannes.josef.junggeburth@CERN.CH>
Date: Wed, 17 Apr 2024 11:31:01 +0200
Subject: [PATCH] Declare the posInstation as protected data member

---
 .../MuonReadoutGeometryR4/MuonReadoutElement.h                 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/MuonSpectrometer/MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h b/MuonSpectrometer/MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h
index b143644d97ca..712433110208 100644
--- a/MuonSpectrometer/MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h
+++ b/MuonSpectrometer/MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonReadoutElement.h
@@ -165,9 +165,10 @@ class MuonReadoutElement : public GeoVDetectorElement, public AthMessaging, publ
 
     unsigned int storeAlignedTransforms(const ActsTrk::DetectorAlignStore& store) const override final;
 
+     friend class ActsTrk::TransformCacheDetEle<MuonGMR4::MuonReadoutElement>;
+   protected:
      /// Returns the transformation into the center of the readout volume
      Amg::Transform3D toStation(const ActsTrk::DetectorAlignStore* alignStore) const;
-   protected:
       
      /// Inserts a transfomration for caching
      template <class MuonDetImpl> StatusCode insertTransform(const IdentifierHash& hash);
-- 
GitLab