CMS 3D CMS Logo

VertexDistanceXY.h
Go to the documentation of this file.
1 #ifndef Vertex_VertexDistanceXY_H
2 #define Vertex_VertexDistanceXY_H
3 
5 
12 
13 public:
14 
16 
25  Measurement1D signedDistance(const reco::Vertex &primVtx ,
26  const reco::Vertex &secVtx,
27  const GlobalVector & momentum) const override;
28 
29  VertexDistanceXY * clone() const override
30  {
31  return new VertexDistanceXY(*this);
32  }
33 
34 
37 
38 private:
39 
41 
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 
Measurement1D signedDistance(const reco::Vertex &primVtx, const reco::Vertex &secVtx, const GlobalVector &momentum) const override
ROOT::Math::SMatrix< double, 2, 2, ROOT::Math::MatRepSym< double, 2 > > AlgebraicSymMatrix22
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
Measurement1D distance(const reco::Vertex &, const reco::Vertex &) const
VertexDistanceXY * clone() const override
float compatibility(const GlobalPoint &vtx1Position, const GlobalError &vtx1PositionError, const GlobalPoint &vtx2Position, const GlobalError &vtx2PositionError) const override
AlgebraicSymMatrix22 theNullMatrix