Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
19
virtual
~VertexDistance
() {}
20
21
Measurement1D
distance
(
const
reco::Vertex
&,
22
const
reco::Vertex
&)
const
;
23
24
Measurement1D
distance
(
const
VertexState &,
25
const
VertexState &)
const
;
26
27
Measurement1D
distance
(
const
reco::Vertex
&,
28
const
VertexState &)
const
;
29
30
Measurement1D
distance
(
const
VertexState &,
31
const
reco::Vertex
&)
const
;
32
45
virtual
Measurement1D
signedDistance
(
const
reco::Vertex
&primVtx ,
46
const
reco::Vertex
&secVtx,
47
const
GlobalVector
& momentum)
const
= 0;
48
49
virtual
float
compatibility
(
const
reco::Vertex
&,
50
const
reco::Vertex
&)
const
;
51
52
virtual
float
compatibility
(
const
VertexState &,
53
const
VertexState &)
const
;
54
55
virtual
float
compatibility
(
const
reco::Vertex
&,
56
const
VertexState &)
const
;
57
58
virtual
float
compatibility
(
const
VertexState &,
59
const
reco::Vertex
&)
const
;
60
61
virtual
VertexDistance
*
clone
()
const
= 0;
62
63
protected
:
64
virtual
Measurement1D
distance
(
const
GlobalPoint
& vtx1Position,
65
const
GlobalError
& vtx1PositionError,
66
const
GlobalPoint
& vtx2Position,
67
const
GlobalError
& vtx2PositionError)
const
= 0;
68
69
virtual
float
compatibility
(
const
GlobalPoint
& vtx1Position,
70
const
GlobalError
& vtx1PositionError,
71
const
GlobalPoint
& vtx2Position,
72
const
GlobalError
& vtx2PositionError)
const
= 0;
73
74
};
75
#endif // Tracker_VertexDistance_H
Vector3DBase
Definition:
Vector3DBase.h:9
GlobalError.h
VertexDistance::compatibility
virtual float compatibility(const reco::Vertex &, const reco::Vertex &) const
Definition:
VertexDistance.cc:68
VertexDistance::clone
virtual VertexDistance * clone() const =0
reco::Vertex
Definition:
Vertex.h:34
VertexDistance::signedDistance
virtual Measurement1D signedDistance(const reco::Vertex &primVtx, const reco::Vertex &secVtx, const GlobalVector &momentum) const =0
Vertex.h
GlobalVector.h
VertexDistance::distance
Measurement1D distance(const reco::Vertex &, const reco::Vertex &) const
Definition:
VertexDistance.cc:35
GlobalErrorBase< double, ErrorMatrixTag >
Measurement1D.h
VertexDistance::~VertexDistance
virtual ~VertexDistance()
Definition:
VertexDistance.h:19
Measurement1D
Definition:
Measurement1D.h:11
Point3DBase
Definition:
Point3DBase.h:11
VertexDistance
Definition:
VertexDistance.h:16
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.5