Skip to content

Commit d0932c9

Browse files
prchakrajpxrk
authored andcommitted
[PWGCF] FemtoUniverse: Fixing bug in CPR calc. in mixed events (AliceO2Group#12437)
1 parent bf76738 commit d0932c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGCF/FemtoUniverse/Tasks/femtoUniversePairTaskTrackTrackSpherHarMultKtExtended.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,11 +681,11 @@ struct femtoUniversePairTaskTrackTrackSpherHarMultKtExtended {
681681

682682
if (ConfIsCPR.value) {
683683
if (confCPRIsAtITS.value) {
684-
if (pairCloseRejection.isClosePairAtITS(p1, p2, magFieldTesla, femto_universe_container::EventType::same)) {
684+
if (pairCloseRejection.isClosePairAtITS(p1, p2, magFieldTesla, femto_universe_container::EventType::mixed)) {
685685
continue;
686686
}
687687
} else {
688-
if (pairCloseRejection.isClosePairFrac(p1, p2, magFieldTesla, femto_universe_container::EventType::same, confCPRDphiAvgOrDist, confCPRDistMax, confCPRFracMax)) {
688+
if (pairCloseRejection.isClosePairFrac(p1, p2, magFieldTesla, femto_universe_container::EventType::mixed, confCPRDphiAvgOrDist, confCPRDistMax, confCPRFracMax)) {
689689
continue;
690690
}
691691
}

0 commit comments

Comments
 (0)