Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Detectors/ITSMFT/common/reconstruction/src/Clusterer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ void Clusterer::ClustererThread::process(uint16_t chip, uint16_t nChips, CompClu
auto chipID = curChipData->getChipID();
if (parent->mMaxBCSeparationToMask > 0) { // mask pixels fired from the previous ROF
const auto& chipInPrevROF = parent->mChipsOld[chipID];
if (std::abs(rofPtr.getBCData().differenceInBC(chipInPrevROF.getInteractionRecord())) < parent->mMaxBCSeparationToMask) {
auto bcDiff = rofPtr.getBCData().differenceInBC(chipInPrevROF.getInteractionRecord()); // the sample must precede, it may come from an unrelated earlier TF
if (bcDiff > 0 && bcDiff < parent->mMaxBCSeparationToMask) {
parent->mMaxRowColDiffToMask ? curChipData->maskFiredInSample(parent->mChipsOld[chipID], parent->mMaxRowColDiffToMask) : curChipData->maskFiredInSample(parent->mChipsOld[chipID]);
}
}
Expand Down
Loading