Skip to content

Commit 206d9ab

Browse files
authored
ITS3: fix tracking initialisation (#14154)
1 parent 9e322a9 commit 206d9ab

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Detectors/Upgrades/ITS3/reconstruction/src/TrackingInterface.cxx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include "ITSBase/GeometryTGeo.h"
1515
#include "ITSMFTBase/DPLAlpideParam.h"
1616
#include "DetectorsBase/GRPGeomHelper.h"
17+
#include "Framework/DeviceSpec.h"
1718

1819
namespace o2::its3
1920
{
@@ -31,7 +32,17 @@ void ITS3TrackingInterface::updateTimeDependentParams(framework::ProcessingConte
3132
}
3233
auto geom = its::GeometryTGeo::Instance();
3334
geom->fillMatrixCache(o2::math_utils::bit2Mask(o2::math_utils::TransformType::T2L, o2::math_utils::TransformType::T2GRot, o2::math_utils::TransformType::T2G));
35+
initialise();
3436
getConfiguration(pc);
37+
if (pc.services().get<const o2::framework::DeviceSpec>().inputTimesliceId == 0) { // print settings only for the 1st pipeling
38+
o2::its::VertexerParamConfig::Instance().printKeyValues();
39+
o2::its::TrackerParamConfig::Instance().printKeyValues();
40+
const auto& trParams = getTracker()->getParameters();
41+
for (size_t it = 0; it < trParams.size(); it++) {
42+
const auto& par = trParams[it];
43+
LOGP(info, "recoIter#{} : {}", it, par.asString());
44+
}
45+
}
3546
}
3647
}
3748

Detectors/Upgrades/ITS3/workflow/src/TrackerSpec.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ void TrackerDPL::init(InitContext& ic)
6767
mITS3TrackingInterface.setTraitsFromProvider(mChainITS->GetITSVertexerTraits(),
6868
mChainITS->GetITSTrackerTraits(),
6969
mChainITS->GetITSTimeframe());
70-
mITS3TrackingInterface.initialise();
7170
}
7271

7372
void TrackerDPL::stop()

0 commit comments

Comments
 (0)