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 public:
14 
24  const reco::Vertex &secVtx,
25  const GlobalVector &momentum) const override;
26 
27  VertexDistanceXY *clone() const override { return new VertexDistanceXY(*this); }
28 
31 
32 private:
34 
35  Measurement1D distance(const GlobalPoint &vtx1Position,
36  const GlobalError &vtx1PositionError,
37  const GlobalPoint &vtx2Position,
38  const GlobalError &vtx2PositionError) const override;
39 
40  float compatibility(const GlobalPoint &vtx1Position,
41  const GlobalError &vtx1PositionError,
42  const GlobalPoint &vtx2Position,
43  const GlobalError &vtx2PositionError) const override;
44 };
45 
46 #endif
Vector3DBase
Definition: Vector3DBase.h:8
Measurement1D
Definition: Measurement1D.h:11
VertexDistanceXY::signedDistance
Measurement1D signedDistance(const reco::Vertex &primVtx, const reco::Vertex &secVtx, const GlobalVector &momentum) const override
Definition: VertexDistanceXY.cc:9
VertexDistanceXY::compatibility
float compatibility(const GlobalPoint &vtx1Position, const GlobalError &vtx1PositionError, const GlobalPoint &vtx2Position, const GlobalError &vtx2PositionError) const override
Definition: VertexDistanceXY.cc:40
VertexDistanceXY::theNullMatrix
AlgebraicSymMatrix22 theNullMatrix
Definition: VertexDistanceXY.h:33
VertexDistance::distance
Measurement1D distance(const reco::Vertex &, const reco::Vertex &) const
Definition: VertexDistance.cc:26
VertexDistance::compatibility
virtual float compatibility(const reco::Vertex &, const reco::Vertex &) const
Definition: VertexDistance.cc:51
Point3DBase< float, GlobalTag >
VertexDistance
Definition: VertexDistance.h:16
VertexDistanceXY::clone
VertexDistanceXY * clone() const override
Definition: VertexDistanceXY.h:27
VertexDistance.h
GlobalErrorBase< double, ErrorMatrixTag >
VertexDistanceXY
Definition: VertexDistanceXY.h:11
VertexDistanceXY::VertexDistanceXY
VertexDistanceXY()
Definition: VertexDistanceXY.h:13
VertexDistanceXY::distance
Measurement1D distance(const GlobalPoint &vtx1Position, const GlobalError &vtx1PositionError, const GlobalPoint &vtx2Position, const GlobalError &vtx2PositionError) const override
Definition: VertexDistanceXY.cc:19
AlgebraicSymMatrix22
ROOT::Math::SMatrix< double, 2, 2, ROOT::Math::MatRepSym< double, 2 > > AlgebraicSymMatrix22
Definition: AlgebraicROOTObjects.h:20
reco::Vertex
Definition: Vertex.h:35