Skip to content

Commit 07f0c07

Browse files
authored
[PWGLF] Fix assignment of proton vector in Xi local polarisation (AliceO2Group#9467)
1 parent 21e2a5f commit 07f0c07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGLF/TableProducer/Strangeness/cascadeflow.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ struct cascadeFlow {
353353
float cosThetaStarLambda[2], cosThetaStarProton;
354354
lambdaVector.SetCoordinates(casc.pxlambda(), casc.pylambda(), casc.pzlambda(), o2::constants::physics::MassLambda);
355355
ROOT::Math::Boost lambdaBoost{lambdaVector.BoostToCM()};
356-
if (casc.sign() < 0) {
356+
if (casc.sign() > 0) {
357357
protonVector.SetCoordinates(casc.pxneg(), casc.pyneg(), casc.pzneg(), o2::constants::physics::MassProton);
358358
} else {
359359
protonVector.SetCoordinates(casc.pxpos(), casc.pypos(), casc.pzpos(), o2::constants::physics::MassProton);

0 commit comments

Comments
 (0)