Skip to content

Commit

Permalink
Update logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Zehvogel committed Sep 19, 2023
1 parent 11f72df commit e0b2794
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion k4ActsTracking/src/components/GeoSvc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit e0b2794

Please sign in to comment.