Skip to content

Commit 2395824

Browse files
ehellbarwiechula
authored andcommitted
TPC: fix crash in MIPTrackFilterDevice when skipping first TF
1 parent b643287 commit 2395824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Detectors/TPC/workflow/src/MIPTrackFilterSpec.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ void MIPTrackFilterDevice::init(framework::InitContext& ic)
106106

107107
void MIPTrackFilterDevice::run(ProcessingContext& pc)
108108
{
109+
o2::base::GRPGeomHelper::instance().checkUpdates(pc);
109110
const auto currentTF = processing_helpers::getCurrentTF(pc);
110111
if ((mTFCounter++ % mProcessEveryNthTF) && (currentTF >= mProcessNFirstTFs)) {
111112
LOGP(info, "Skipping TF {}", currentTF);
@@ -115,7 +116,6 @@ void MIPTrackFilterDevice::run(ProcessingContext& pc)
115116
}
116117
return;
117118
}
118-
o2::base::GRPGeomHelper::instance().checkUpdates(pc);
119119

120120
const auto tracks = pc.inputs().get<gsl::span<TrackTPC>>("tracks");
121121
const auto nTracks = tracks.size();

0 commit comments

Comments
 (0)