From 6e36a72439d2dbca84562f7a11914e76604c2d1b Mon Sep 17 00:00:00 2001 From: Vakho Tsulaia <vakhtang.tsulaia@cern.ch> Date: Wed, 24 Jan 2024 20:56:12 +0100 Subject: [PATCH] MuonGeoModelR4: switched to GeoModel 5 Adapted to the new interface GeoVolumeCursor --- .../MuonDetDescr/MuonGeoModelR4/src/MuonDetectorTool.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MuonSpectrometer/MuonPhaseII/MuonDetDescr/MuonGeoModelR4/src/MuonDetectorTool.cxx b/MuonSpectrometer/MuonPhaseII/MuonDetDescr/MuonGeoModelR4/src/MuonDetectorTool.cxx index 244b41b1238f..5d540e1ca76e 100644 --- a/MuonSpectrometer/MuonPhaseII/MuonDetDescr/MuonGeoModelR4/src/MuonDetectorTool.cxx +++ b/MuonSpectrometer/MuonPhaseII/MuonDetDescr/MuonGeoModelR4/src/MuonDetectorTool.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration */ #include "MuonGeoModelR4/MuonDetectorTool.h" @@ -52,7 +52,7 @@ StatusCode MuonDetectorTool::create() { ATH_MSG_VERBOSE("Check whether "<<volName<<" belongs to the muon world. "); if (std::find(m_treeTopNodes.value().begin(), m_treeTopNodes.value().end(),volName) != m_treeTopNodes.value().end()) { - m_manager->addTreeTop(GeoPVLink(cursor.getVolume().operator->())); + m_manager->addTreeTop(cursor.getVolume()); } cursor.next(); } -- GitLab