10 double previousWeight = oldVertex.
weightInMixture() * track->weightInMixture();
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;
36 AlgebraicVectorN diff = trackParameters - track->constantTerm() - a * oldVertexCoord - b * priorMomentum;
37 track->checkParameters(diff);
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;
LinearizedTrackState< 5 >::AlgebraicMatrixNM AlgebraicMatrixNM
constexpr bool isNotFinite(T x)
const AlgebraicSymMatrix33 matrix() const
Exp< T >::type exp(const T &t)
GlobalPoint position() const
double weightInMixture() const
double calculate(const VertexState &oldVertex, const RefCountedLinearizedTrackState track, double cov) const
LinearizedTrackState< 5 >::AlgebraicMatrixN3 AlgebraicMatrixN3
LinearizedTrackState< 5 >::AlgebraicSymMatrixNN AlgebraicSymMatrixNN
LinearizedTrackState< 5 >::AlgebraicVectorN AlgebraicVectorN
ROOT::Math::SVector< double, 3 > AlgebraicVector3
ROOT::Math::SMatrix< double, 3, 3, ROOT::Math::MatRepSym< double, 3 > > AlgebraicSymMatrix33
GlobalError error() const
Log< level::Warning, false > LogWarning
Power< A, B >::type pow(const A &a, const B &b)