Skip to content

Commit 9ce8ca6

Browse files
committed
Slightly modify RCT selection in HF event selection for generated events using BCs
1 parent 2d0fad0 commit 9ce8ca6

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

PWGHF/Utils/utilsEvSelHf.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -584,11 +584,8 @@ struct HfEventSelectionMc {
584584

585585
/// RCT condition
586586
if (requireGoodRct) {
587-
for (auto const& collision : collSlice) {
588-
if (!rctChecker.checkTable(collision)) {
589-
SETBIT(rejectionMask, EventRejection::Rct);
590-
break;
591-
}
587+
if (!rctChecker.checkTable(bc)) {
588+
SETBIT(rejectionMask, EventRejection::Rct);
592589
}
593590
}
594591
/// Sel8 trigger selection

0 commit comments

Comments
 (0)