9 double previousWeight = oldVertex.
weightInMixture() * track->weightInMixture();
22 oldVertexCoord[0] = oldVertexPosition.
x();
23 oldVertexCoord[1] = oldVertexPosition.
y();
24 oldVertexCoord[2] = oldVertexPosition.
z();
30 priorMomentumCov(0,0) = 1.0E-9;
31 priorMomentumCov(1,1) = 1.0E-6;
32 priorMomentumCov(2,2) = 1.0E-6;
33 priorMomentumCov *= cov;
36 a*oldVertexCoord -b*priorMomentum;
37 track->checkParameters(diff);
39 ROOT::Math::Similarity(a,oldVertexError) +
40 ROOT::Math::Similarity(b,priorMomentumCov);
44 int ifail = ! sigmaM.Invert();
46 edm::LogWarning(
"GsfVertexWeightCalculator") <<
"S matrix inversion failed";
51 double chi = ROOT::Math::Similarity(diff,sigmaM);;
59 return weight*previousWeight;
LinearizedTrackState< 5 >::AlgebraicMatrixNM AlgebraicMatrixNM
GlobalPoint position() const
const AlgebraicSymMatrix33 & matrix_new() const
ROOT::Math::SMatrix< double, 3, 3, ROOT::Math::MatRepSym< double, 3 > > AlgebraicSymMatrix33
double weightInMixture() const
ROOT::Math::SVector< double, 3 > AlgebraicVector3
double calculate(const VertexState &oldVertex, const RefCountedLinearizedTrackState track, double cov) const
LinearizedTrackState< 5 >::AlgebraicMatrixN3 AlgebraicMatrixN3
LinearizedTrackState< 5 >::AlgebraicSymMatrixNN AlgebraicSymMatrixNN
LinearizedTrackState< 5 >::AlgebraicVectorN AlgebraicVectorN
GlobalError error() const
Power< A, B >::type pow(const A &a, const B &b)