17 : mProngs{tr0, tr1, tr2}
19 std::array<float, 21> cov{}, cov0{}, cov1{}, cov2{};
20 tr0.getCovXYZPxPyPzGlo(cov0);
21 tr1.getCovXYZPxPyPzGlo(cov1);
22 tr2.getCovXYZPxPyPzGlo(cov2);
23 constexpr int MomInd[6] = {9, 13, 14, 18, 19, 20};
24 for (
int i = 0;
i < 6;
i++) {
26 cov[MomInd[
i]] = cov0[MomInd[
i]] + cov1[MomInd[
i]] + cov2[MomInd[
i]];
28 this->set(xyz, pxyz, cov, tr0.getCharge() + tr1.getCharge() + tr2.getCharge(),
true,
pid);