Skip to content

Commit 7764006

Browse files
authored
Fix bug
1 parent eff6f5a commit 7764006

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
@@ -543,7 +543,7 @@ struct femtoUniversePairTaskTrackTrackSpherHarMultKtExtended {
543543

544544
if (kT < firstRealElement || kT > lastElement)
545545
continue;
546-
float pairFractionTPCsCls = static_cast<float>((p1.tpcNClsFound() + p2.tpcNClsFound())) / static_cast<float>((p1.tpcNClsShared() + p2.tpcNClsShared()));
546+
float pairFractionTPCsCls = static_cast<float>((p1.tpcNClsShared() + p2.tpcNClsShared())) / static_cast<float>((p1.tpcNClsFound() + p2.tpcNClsFound()));
547547
if (pairFractionTPCsCls > twotracksconfigs.confPairFracSharedTPCcls.value) {
548548
continue;
549549
}
@@ -590,7 +590,7 @@ struct femtoUniversePairTaskTrackTrackSpherHarMultKtExtended {
590590
if (kT < firstRealElement || kT > lastElement)
591591
continue;
592592

593-
float pairFractionTPCsCls = static_cast<float>((p1.tpcNClsFound() + p2.tpcNClsFound())) / static_cast<float>((p1.tpcNClsShared() + p2.tpcNClsShared()));
593+
float pairFractionTPCsCls = static_cast<float>((p1.tpcNClsShared() + p2.tpcNClsShared())) / static_cast<float>((p1.tpcNClsFound() + p2.tpcNClsFound()));
594594
if (pairFractionTPCsCls > twotracksconfigs.confPairFracSharedTPCcls.value) {
595595
continue;
596596
}

0 commit comments

Comments
 (0)