Skip to content

Commit 776bea0

Browse files
lauraserLaura Serksnyte
andauthored
Updated pair cleaner (#8664)
Co-authored-by: Laura Serksnyte <laura.serksnyte@cern.ch>
1 parent 79603fd commit 776bea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGCF/FemtoDream/Core/femtoDreamPairCleaner.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class FemtoDreamPairCleaner
7070
}
7171
const auto& posChild = particles.iteratorAt(part2.index() - 2);
7272
const auto& negChild = particles.iteratorAt(part2.index() - 1);
73-
if (part1.globalIndex() != posChild.globalIndex() || part1.globalIndex() != negChild.globalIndex()) {
73+
if (part1.globalIndex() != posChild.childrenIds()[0] && part1.globalIndex() != negChild.childrenIds()[1]) {
7474
return true;
7575
}
7676
return false;

0 commit comments

Comments
 (0)