Skip to content

Commit

Permalink
Update logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Zehvogel committed Aug 28, 2023
1 parent ec3ef0f commit 63f2a0a
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 @@ -10,6 +10,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 @@ -53,7 +54,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 63f2a0a

Please sign in to comment.