We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32cd535 commit 2bc608eCopy full SHA for 2bc608e
Detectors/ITSMFT/ITS/tracking/src/TrackerTraits.cxx
@@ -863,13 +863,16 @@ void TrackerTraits<nLayers>::findRoads(const int iteration)
863
}
864
865
866
- if (rofs[2] != INT_MAX) {
+ if (rofs[2] != INT_MAX) { // should not possible to be in 3 rofs
867
continue;
868
869
track.setUserField(0);
870
track.getParamOut().setUserField(0);
871
if (rofs[1] != INT_MAX) {
872
track.setNextROFbit();
873
+ if (std::abs(rofs[0] - rofs[1]) > 1) { // if there was second rof, it should be exactly one away
874
+ continue;
875
+ }
876
877
mTimeFrame->getTracks(o2::gpu::CAMath::Min(rofs[0], rofs[1])).emplace_back(track);
878
0 commit comments