Skip to content

Commit fc09f29

Browse files
jikim1290junleekim
andauthored
[PWGLF] Fix V0 DCA cut in Lambda polarisation task (#8487)
Co-authored-by: junleekim <junleekim@junleekims-MacBook-Pro-2.local>
1 parent 96e1226 commit fc09f29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGLF/Tasks/Strangeness/lambdapolarization.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ struct lambdapolarization {
325325
return false;
326326
if (candidate.v0cosPA() < cfgv0CosPA)
327327
return false;
328-
if (candidate.dcaV0daughters() > cfgDCAV0Dau)
328+
if (std::abs(candidate.dcaV0daughters()) > cfgDCAV0Dau)
329329
return false;
330330
if (candidate.pt() < cfgV0PtMin)
331331
return false;

0 commit comments

Comments
 (0)