16V0::V0(
const std::array<float, 3>& xyz,
const std::array<float, 3>& pxyz,
const std::array<float, 6>& covxyz,
19 std::array<float, 21> covV{0.}, covP, covN;
20 trPos.getCovXYZPxPyPzGlo(covP);
21 trNeg.getCovXYZPxPyPzGlo(covN);
22 constexpr int MomInd[6] = {9, 13, 14, 18, 19, 20};
23 for (
int i = 0;
i < 6;
i++) {
25 covV[MomInd[
i]] = covP[MomInd[
i]] + covN[MomInd[
i]];
27 this->set(xyz, pxyz, covV, trPos.getCharge() + trNeg.getCharge(),
true,
pid);
28 this->checkCorrelations();