Skip to content

Commit 2c3adee

Browse files
authored
[PWGLF] Add tight dca selection on daughter (#13884)
1 parent 8e4d46b commit 2c3adee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,10 @@ struct lambdaspincorrderived {
257257
if (candidate.dcaBetweenDaughter() > dcaDaughters) {
258258
return false;
259259
}
260-
if (candidate.v0Status() == 0 && std::abs(candidate.dcaPositive()) < dcaProton && std::abs(candidate.dcaNegative()) < dcaPion) {
260+
if (candidate.v0Status() == 0 && (std::abs(candidate.dcaPositive()) < dcaProton || std::abs(candidate.dcaNegative()) < dcaPion)) {
261261
return false;
262262
}
263-
if (candidate.v0Status() == 1 && std::abs(candidate.dcaPositive()) < dcaPion && std::abs(candidate.dcaNegative()) < dcaProton) {
263+
if (candidate.v0Status() == 1 && (std::abs(candidate.dcaPositive()) < dcaPion || std::abs(candidate.dcaNegative()) < dcaProton)) {
264264
return false;
265265
}
266266
if (candidate.lambdaPt() < ptMin) {

0 commit comments

Comments
 (0)