From d1e1bee3150f0d27c0906fd0f069212625e9623d Mon Sep 17 00:00:00 2001
From: christos <christos@cern.ch>
Date: Sat, 23 Dec 2023 14:38:54 +0100
Subject: [PATCH] Fix for ATLASRECTS-7866

---
 .../TrkG4UserActions/src/GeantFollowerMSHelper.cxx            | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Tracking/TrkG4Components/TrkG4UserActions/src/GeantFollowerMSHelper.cxx b/Tracking/TrkG4Components/TrkG4UserActions/src/GeantFollowerMSHelper.cxx
index d4721bfefdc4..518dad0972b8 100644
--- a/Tracking/TrkG4Components/TrkG4UserActions/src/GeantFollowerMSHelper.cxx
+++ b/Tracking/TrkG4Components/TrkG4UserActions/src/GeantFollowerMSHelper.cxx
@@ -488,14 +488,14 @@ void Trk::GeantFollowerMSHelper::trackParticle(const G4ThreeVector& pos,
   m_treeData->m_trk_status[m_treeData->m_g4_steps] = trkParameters ? 1 : 0;
   ATH_MSG_DEBUG("m_treeData->m_g4_steps: "
                 << m_treeData->m_g4_steps << " exit Layer: " << crossedExitLayer
-                << " track parameters: " << trkParameters);
+                << " track parameters: " << trkParameters.get());
   ATH_MSG_DEBUG("m_parameterCache: " << m_parameterCache);
   if (!trkParameters) {
     return;
   }
 
   ATH_MSG_DEBUG(" exit Layer: " << crossedExitLayer
-                                << "track parameters: " << trkParameters);
+                                << "track parameters: " << trkParameters.get());
   if (crossedExitLayer) {
     ATH_MSG_DEBUG(" exit layer found ");
     // PK 2023
-- 
GitLab