Skip to content
Snippets Groups Projects
Commit 6e36a724 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

MuonGeoModelR4: switched to GeoModel 5

Adapted to the new interface GeoVolumeCursor
parent 1986a5d1
No related branches found
No related tags found
No related merge requests found
/*
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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment