Skip to content

Commit 1141080

Browse files
EloviyoShirajum Monira
andauthored
[PWGCF] FemtoUniverse cascade task -- fixed cascade pair cleaner (#8714)
Co-authored-by: Shirajum Monira <shirajum.monira@cernch>
1 parent 2876bb7 commit 1141080

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PWGCF/FemtoUniverse/Core/FemtoUniversePairCleaner.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ class FemtoUniversePairCleaner
113113
if (part1.globalIndex() == posChild.globalIndex() || part1.globalIndex() == negChild.globalIndex() || part1.globalIndex() == bachelor.globalIndex()) {
114114
return false;
115115
}
116+
return part1.globalIndex() != part2.globalIndex();
116117
} else if constexpr (mPartOneType == o2::aod::femtouniverseparticle::ParticleType::kTrack && mPartTwoType == o2::aod::femtouniverseparticle::ParticleType::kD0) {
117118
/// Track-D0 combination part1 is hadron and part2 is D0
118119
if (part2.partType() != o2::aod::femtouniverseparticle::ParticleType::kD0) {

0 commit comments

Comments
 (0)