Skip to content

Commit 5278097

Browse files
committed
Reset ITS tracks ROF counters if not tracks found
1 parent 4cfc7e4 commit 5278097

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Detectors/ITSMFT/ITS/tracking/src/TrackingInterface.cxx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,11 @@ void ITSTrackingInterface::run(framework::ProcessingContext& pc)
377377
allTracks.emplace_back(trc);
378378
}
379379
}
380+
} else {
381+
for (auto& r : trackROFvec) { // reset data copied from the clusters
382+
r.setFirstEntry(0);
383+
r.setNEntries(0);
384+
}
380385
}
381386
LOGP(info, "ITSTracker pushed {} tracks and {} vertices", allTracks.size(), vertices.size());
382387
if (mIsMC) {

0 commit comments

Comments
 (0)