Skip to content

Commit 8161458

Browse files
authored
[PWGLF] Hot fix absolute value check in K892PM flow task (AliceO2Group#9608)
1 parent df208a2 commit 8161458

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGLF/Tasks/Resonances/chk892Flow.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,8 +548,8 @@ struct Chk892Flow {
548548
bool selectionK0s(CollisionType const& collision, K0sType const& candidate)
549549
{
550550
auto lDauDCA = candidate.dcaV0daughters();
551-
auto lDauPosDCAtoPV = candidate.dcapostopv();
552-
auto lDauNegDCAtoPV = candidate.dcanegtopv();
551+
auto lDauPosDCAtoPV = std::abs(candidate.dcapostopv());
552+
auto lDauNegDCAtoPV = std::abs(candidate.dcanegtopv());
553553
auto lPt = candidate.pt();
554554
auto lRapidity = candidate.yK0Short();
555555
auto lRadius = candidate.v0radius();

0 commit comments

Comments
 (0)