Skip to content

Commit c302af9

Browse files
[PWGLF] Fix xi0 mass calculation in sigma0builder (#18068)
1 parent 1e7970b commit c302af9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎PWGLF/TableProducer/Strangeness/sigma0builder.cxx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
#include <Framework/InitContext.h>
4444
#include <Framework/OutputObjHeader.h>
4545
#include <Framework/runDataProcessing.h>
46-
#include <ReconstructionDataFormats/TrackParametrization.h>
46+
#include <ReconstructionDataFormats/TrackParametrizationWithError.h>
4747

4848
#include <Math/Vector3D.h> // IWYU pragma: keep (do not replace with Math/Vector3Dfwd.h)
4949
#include <Math/Vector3Dfwd.h>
@@ -2805,7 +2805,7 @@ struct sigma0builder {
28052805

28062806
std::array<float, 3> momPi0{gamma1.px() + gamma2.px(), gamma1.py() + gamma2.py(), gamma1.pz() + gamma2.pz()};
28072807
auto arrMom = std::array{momPi0, momLambda};
2808-
cascade.xi0Mass = RecoDecay::m(arrMom, std::array{o2::constants::physics::MassPi0, o2::constants::physics::MassXi0});
2808+
cascade.xi0Mass = RecoDecay::m(arrMom, std::array{o2::constants::physics::MassPi0, o2::constants::physics::MassLambda0});
28092809

28102810
// Calculate position covariance matrix
28112811
auto covVtxV = fitter3Prongs.calcPCACovMatrix(0);

0 commit comments

Comments
 (0)