Skip to content

Commit ee784f9

Browse files
authored
Fix
1 parent 26361ab commit ee784f9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ALICE3/TableProducer/OTF/onTheFlyTracker.cxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,10 @@ struct OnTheFlyTracker {
734734
// DCA to PV taken care of in daughter tracks already, not necessary
735735
thisCascade.dcaV0dau = TMath::Sqrt(fitter.getChi2AtPCACandidate());
736736
thisCascade.v0radius = std::hypot(pos[0], pos[1]);
737-
thisCascade.mLambda = RecoDecay::m(array{array{posP[0], posP[1], posP[2]}, array{negP[0], negP[1], negP[2]}}, array{o2::constants::physics::MassProton, o2::constants::physics::MassPionCharged});
737+
thisCascade.mLambda = RecoDecay::m(std::array{std::array{posP[0], posP[1], posP[2]},
738+
std::array{negP[0], negP[1], negP[2]}},
739+
std::array{o2::constants::physics::MassProton,
740+
o2::constants::physics::MassPionCharged});
738741

739742
// go for cascade: create V0 (pseudo)track from reconstructed V0
740743
std::array<float, 21> covV = {0.};

0 commit comments

Comments
 (0)