diff --git a/k4ActsTracking/src/components/GeoSvc.cpp b/k4ActsTracking/src/components/GeoSvc.cpp index 82b9d6e..e186e2b 100644 --- a/k4ActsTracking/src/components/GeoSvc.cpp +++ b/k4ActsTracking/src/components/GeoSvc.cpp @@ -26,6 +26,7 @@ #include "Acts/Surfaces/PlaneSurface.hpp" #include "Acts/Visualization/GeometryView3D.hpp" #include "Acts/Visualization/ObjVisualization3D.hpp" +#include "Acts/Utilities/Logger.hpp" #include "DD4hep/Printout.h" #include "GaudiKernel/Service.h" #include "TGeoManager.h" @@ -69,7 +70,8 @@ StatusCode GeoSvc::initialize() { double layerEnvelopeZ = Acts::UnitConstants::mm; double defaultLayerThickness = Acts::UnitConstants::fm; using Acts::sortDetElementsByID; - m_trackingGeo = Acts::convertDD4hepDetector(m_dd4hepGeo->world(), m_actsLoggingLevel, bTypePhi, bTypeR, bTypeZ, + auto logger = Acts::getDefaultLogger("k4ActsTracking", m_actsLoggingLevel); + m_trackingGeo = Acts::convertDD4hepDetector(m_dd4hepGeo->world(), *logger, bTypePhi, bTypeR, bTypeZ, layerEnvelopeR, layerEnvelopeZ, defaultLayerThickness, sortDetElementsByID, m_trackingGeoCtx, m_materialDeco);