CMS 3D CMS Logo

VertexDistance3D.h
Go to the documentation of this file.
1 #ifndef Vertex_VertexDistance3D_H
2 #define Vertex_VertexDistance3D_H
3 
7 
14 
15 public:
17 
19 
28  Measurement1D signedDistance(const reco::Vertex &primVtx ,
29  const reco::Vertex &secVtx,
30  const GlobalVector & momentum) const override;
31 
32  VertexDistance3D * clone() const override
33  {
34  return new VertexDistance3D(*this);
35  }
36 
38 
39 private:
40 
42  Measurement1D distance(const GlobalPoint & vtx1Position,
43  const GlobalError & vtx1PositionError,
44  const GlobalPoint & vtx2Position,
45  const GlobalError & vtx2PositionError) const override;
46 
47  float compatibility(const GlobalPoint & vtx1Position,
48  const GlobalError & vtx1PositionError,
49  const GlobalPoint & vtx2Position,
50  const GlobalError & vtx2PositionError) const override;
51 };
52 
53 
54 #endif
55 
56 
57 
AlgebraicSymMatrix33 theNullMatrix
VertexDistance3D * clone() const override
virtual float compatibility(const reco::Vertex &, const reco::Vertex &) const
Measurement1D distance(const GlobalPoint &vtx1Position, const GlobalError &vtx1PositionError, const GlobalPoint &vtx2Position, const GlobalError &vtx2PositionError) const override
ROOT::Math::SMatrix< double, 3, 3, ROOT::Math::MatRepSym< double, 3 > > AlgebraicSymMatrix33
float compatibility(const GlobalPoint &vtx1Position, const GlobalError &vtx1PositionError, const GlobalPoint &vtx2Position, const GlobalError &vtx2PositionError) const override
Measurement1D signedDistance(const reco::Vertex &primVtx, const reco::Vertex &secVtx, const GlobalVector &momentum) const override
Measurement1D distance(const reco::Vertex &, const reco::Vertex &) const