23 oldVertexCoord[0] = oldVertexPosition.
x();
24 oldVertexCoord[1] = oldVertexPosition.
y();
25 oldVertexCoord[2] = oldVertexPosition.
z();
31 priorMomentumCov(0, 0) = 1.0E-9;
32 priorMomentumCov(1, 1) = 1.0E-6;
33 priorMomentumCov(2, 2) = 1.0E-6;
34 priorMomentumCov *= cov;
39 trackParametersError + ROOT::Math::Similarity(
a, oldVertexError) + ROOT::Math::Similarity(
b, priorMomentumCov);
43 int ifail = !sigmaM.Invert();
45 edm::LogWarning(
"GsfVertexWeightCalculator") <<
"S matrix inversion failed";
49 double chi = ROOT::Math::Similarity(
diff, sigmaM);
58 return weight * previousWeight;