From 458e45cbace9aa85b354eb70ac65a0c441a234a4 Mon Sep 17 00:00:00 2001 From: Ernst Hellbar Date: Thu, 6 Mar 2025 17:40:08 +0100 Subject: [PATCH] TPC: fix crash in MIPTrackFilterDevice when skipping first TF --- Detectors/TPC/workflow/src/MIPTrackFilterSpec.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Detectors/TPC/workflow/src/MIPTrackFilterSpec.cxx b/Detectors/TPC/workflow/src/MIPTrackFilterSpec.cxx index b8b95090d8534..1329dea236b1f 100644 --- a/Detectors/TPC/workflow/src/MIPTrackFilterSpec.cxx +++ b/Detectors/TPC/workflow/src/MIPTrackFilterSpec.cxx @@ -106,6 +106,7 @@ void MIPTrackFilterDevice::init(framework::InitContext& ic) void MIPTrackFilterDevice::run(ProcessingContext& pc) { + o2::base::GRPGeomHelper::instance().checkUpdates(pc); const auto currentTF = processing_helpers::getCurrentTF(pc); if ((mTFCounter++ % mProcessEveryNthTF) && (currentTF >= mProcessNFirstTFs)) { LOGP(info, "Skipping TF {}", currentTF); @@ -115,7 +116,6 @@ void MIPTrackFilterDevice::run(ProcessingContext& pc) } return; } - o2::base::GRPGeomHelper::instance().checkUpdates(pc); const auto tracks = pc.inputs().get>("tracks"); const auto nTracks = tracks.size();