Main Page
Namespaces
Classes
Package Documentation
RecoVertex
VertexTools
interface
VertexDistance.h
Go to the documentation of this file.
1
#ifndef VertexDistance_H
2
#define VertexDistance_H
3
4
#include "
DataFormats/GeometryCommonDetAlgo/interface/Measurement1D.h
"
5
#include "
DataFormats/VertexReco/interface/Vertex.h
"
6
#include "
DataFormats/GeometryVector/interface/GlobalVector.h
"
7
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
8
#include "
DataFormats/GeometryCommonDetAlgo/interface/GlobalError.h
"
9
14
class
VertexState
;
15
16
class
VertexDistance
{
17
public
:
18
virtual
~VertexDistance
() {}
19
20
Measurement1D
distance
(
const
reco::Vertex
&,
const
reco::Vertex
&)
const
;
21
22
Measurement1D
distance
(
const
VertexState
&,
const
VertexState
&)
const
;
23
24
Measurement1D
distance
(
const
reco::Vertex
&,
const
VertexState
&)
const
;
25
26
Measurement1D
distance
(
const
VertexState
&,
const
reco::Vertex
&)
const
;
27
40
virtual
Measurement1D
signedDistance
(
const
reco::Vertex
&primVtx,
41
const
reco::Vertex
&secVtx,
42
const
GlobalVector
&momentum)
const
= 0;
43
44
virtual
float
compatibility
(
const
reco::Vertex
&,
const
reco::Vertex
&)
const
;
45
46
virtual
float
compatibility
(
const
VertexState
&,
const
VertexState
&)
const
;
47
48
virtual
float
compatibility
(
const
reco::Vertex
&,
const
VertexState
&)
const
;
49
50
virtual
float
compatibility
(
const
VertexState
&,
const
reco::Vertex
&)
const
;
51
52
virtual
VertexDistance
*
clone
()
const
= 0;
53
54
protected
:
55
virtual
Measurement1D
distance
(
const
GlobalPoint
&vtx1Position,
56
const
GlobalError
&vtx1PositionError,
57
const
GlobalPoint
&vtx2Position,
58
const
GlobalError
&vtx2PositionError)
const
= 0;
59
60
virtual
float
compatibility
(
const
GlobalPoint
&vtx1Position,
61
const
GlobalError
&vtx1PositionError,
62
const
GlobalPoint
&vtx2Position,
63
const
GlobalError
&vtx2PositionError)
const
= 0;
64
};
65
#endif // Tracker_VertexDistance_H
Vector3DBase
Definition:
Vector3DBase.h:8
GlobalError.h
VertexDistance::compatibility
virtual float compatibility(const reco::Vertex &, const reco::Vertex &) const
Definition:
VertexDistance.cc:51
VertexDistance::clone
virtual VertexDistance * clone() const =0
reco::Vertex
Definition:
Vertex.h:34
Vertex.h
GlobalVector.h
VertexDistance::distance
Measurement1D distance(const reco::Vertex &, const reco::Vertex &) const
Definition:
VertexDistance.cc:26
GlobalErrorBase< double, ErrorMatrixTag >
Measurement1D.h
VertexDistance::~VertexDistance
virtual ~VertexDistance()
Definition:
VertexDistance.h:18
Measurement1D
Definition:
Measurement1D.h:11
Point3DBase< float, GlobalTag >
VertexDistance::signedDistance
virtual Measurement1D signedDistance(const reco::Vertex &primVtx, const reco::Vertex &secVtx, const GlobalVector &momentum) const =0
VertexDistance
Definition:
VertexDistance.h:16
VertexState
Definition:
VertexState.h:13
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.11