Skip to content

Commit c7ad288

Browse files
authored
fix mass number O2linter bug
1 parent efbcaff commit c7ad288

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGCF/Femto/TableProducer/PiDeuteronFemto.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -729,8 +729,8 @@ struct PiDeuteronFemto {
729729

730730
double computeKstar(const PiDecandidate& piDecand)
731731
{
732-
constexpr double massDe = 1.8756;
733-
constexpr double massHad = 0.1395704;
732+
constexpr double massDe = o2::constants::physics::MassDeuteron;
733+
constexpr double massHad = o2::constants::physics::MassPiPlus;
734734

735735
const ROOT::Math::PtEtaPhiMVector De(std::abs(piDecand.recoPtDe()), piDecand.recoEtaDe(), piDecand.recoPhiDe(), massDe);
736736
const ROOT::Math::PtEtaPhiMVector Had(std::abs(piDecand.recoPtPi()), piDecand.recoEtaPi(), piDecand.recoPhiPi(), massHad);

0 commit comments

Comments
 (0)