Skip to content

Commit 89dadd7

Browse files
prchakraMATTEI
authored andcommitted
[PWGCF] FemtoUniverse: Fixing bug in CPR calc. in mixed events (AliceO2Group#12437)
1 parent d99a1ac commit 89dadd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)