From db36f5fc2b500fad724b6f233d75f933f194ea33 Mon Sep 17 00:00:00 2001 From: Felix Schlepper Date: Tue, 8 Apr 2025 10:34:27 +0200 Subject: [PATCH] ITS3: fix tracking initialisation Signed-off-by: Felix Schlepper --- .../ITS3/reconstruction/src/TrackingInterface.cxx | 11 +++++++++++ Detectors/Upgrades/ITS3/workflow/src/TrackerSpec.cxx | 1 - 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Detectors/Upgrades/ITS3/reconstruction/src/TrackingInterface.cxx b/Detectors/Upgrades/ITS3/reconstruction/src/TrackingInterface.cxx index 10c6b9265a8bb..afb276e956e76 100644 --- a/Detectors/Upgrades/ITS3/reconstruction/src/TrackingInterface.cxx +++ b/Detectors/Upgrades/ITS3/reconstruction/src/TrackingInterface.cxx @@ -14,6 +14,7 @@ #include "ITSBase/GeometryTGeo.h" #include "ITSMFTBase/DPLAlpideParam.h" #include "DetectorsBase/GRPGeomHelper.h" +#include "Framework/DeviceSpec.h" namespace o2::its3 { @@ -31,7 +32,17 @@ void ITS3TrackingInterface::updateTimeDependentParams(framework::ProcessingConte } auto geom = its::GeometryTGeo::Instance(); geom->fillMatrixCache(o2::math_utils::bit2Mask(o2::math_utils::TransformType::T2L, o2::math_utils::TransformType::T2GRot, o2::math_utils::TransformType::T2G)); + initialise(); getConfiguration(pc); + if (pc.services().get().inputTimesliceId == 0) { // print settings only for the 1st pipeling + o2::its::VertexerParamConfig::Instance().printKeyValues(); + o2::its::TrackerParamConfig::Instance().printKeyValues(); + const auto& trParams = getTracker()->getParameters(); + for (size_t it = 0; it < trParams.size(); it++) { + const auto& par = trParams[it]; + LOGP(info, "recoIter#{} : {}", it, par.asString()); + } + } } } diff --git a/Detectors/Upgrades/ITS3/workflow/src/TrackerSpec.cxx b/Detectors/Upgrades/ITS3/workflow/src/TrackerSpec.cxx index 90f94e625d6ea..5b710a3d11fef 100644 --- a/Detectors/Upgrades/ITS3/workflow/src/TrackerSpec.cxx +++ b/Detectors/Upgrades/ITS3/workflow/src/TrackerSpec.cxx @@ -67,7 +67,6 @@ void TrackerDPL::init(InitContext& ic) mITS3TrackingInterface.setTraitsFromProvider(mChainITS->GetITSVertexerTraits(), mChainITS->GetITSTrackerTraits(), mChainITS->GetITSTimeframe()); - mITS3TrackingInterface.initialise(); } void TrackerDPL::stop()