Skip to content

Commit 262c384

Browse files
committed
cast double to float
1 parent 12e780f commit 262c384

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGHF/TableProducer/candidateCreator3Prong.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -606,9 +606,9 @@ struct HfCandidateCreator3Prong {
606606
if (applyInvMassConstraint) { // constraints applied after minv getters - to preserve unbiased values of minv
607607
kfCandPKPi.SetNonlinearMassConstraint(createLc ? static_cast<float>(MassLambdaCPlus) : static_cast<float>(MassXiCPlus));
608608
kfCandPiKP.SetNonlinearMassConstraint(createLc ? static_cast<float>(MassLambdaCPlus) : static_cast<float>(MassXiCPlus));
609-
kfCandPiKPi.SetNonlinearMassConstraint(MassDPlus);
610-
kfCandKKPi.SetNonlinearMassConstraint(MassDS);
611-
kfCandPiKK.SetNonlinearMassConstraint(MassDS);
609+
kfCandPiKPi.SetNonlinearMassConstraint(static_cast<float>(MassDPlus));
610+
kfCandKKPi.SetNonlinearMassConstraint(static_cast<float>(MassDS));
611+
kfCandPiKK.SetNonlinearMassConstraint(static_cast<float>(MassDS));
612612
}
613613

614614
const float chi2geo = kfCandPKPi.Chi2() / static_cast<float>(kfCandPKPi.NDF());

0 commit comments

Comments
 (0)