Main Page
Namespaces
Classes
Package Documentation
RecoVertex
VertexPrimitives
interface
VertexTrackCompatibilityEstimator.h
Go to the documentation of this file.
1
#ifndef _VertexTrackCompatibilityEstimator_H
2
#define _VertexTrackCompatibilityEstimator_H
3
4
#include "
RecoVertex/VertexPrimitives/interface/CachingVertex.h
"
5
#include "
DataFormats/VertexReco/interface/Vertex.h
"
6
#include "
TrackingTools/TransientTrack/interface/TransientTrack.h
"
7
#include <climits>
8
14
template
<
unsigned
int
N>
15
class
VertexTrackCompatibilityEstimator
{
16
public
:
17
typedef
typename
CachingVertex<N>::RefCountedVertexTrack
RefCountedVertexTrack
;
18
typedef
typename
VertexTrack<N>::RefCountedLinearizedTrackState
RefCountedLinearizedTrackState
;
19
typedef
typename
std::pair<bool, double>
BDpair
;
20
21
VertexTrackCompatibilityEstimator
() {}
22
virtual
~VertexTrackCompatibilityEstimator
() {}
23
27
virtual
BDpair
estimate
(
const
CachingVertex<N>
&
v
,
28
const
RefCountedLinearizedTrackState
track
,
29
unsigned
int
hint = UINT_MAX)
const
= 0;
30
31
virtual
BDpair
estimate
(
const
reco::Vertex
& v,
const
reco::TransientTrack
& track)
const
= 0;
32
33
// obsolete ?
34
virtual
BDpair
estimate
(
const
CachingVertex<N>
& v,
35
const
RefCountedVertexTrack track,
36
unsigned
int
hint = UINT_MAX)
const
= 0;
40
virtual
VertexTrackCompatibilityEstimator<N>
*
clone
()
const
= 0;
41
};
42
43
#endif
CachingVertex.h
TransientTrack.h
VertexTrackCompatibilityEstimator::RefCountedLinearizedTrackState
VertexTrack< N >::RefCountedLinearizedTrackState RefCountedLinearizedTrackState
Definition:
VertexTrackCompatibilityEstimator.h:18
VertexTrackCompatibilityEstimator::estimate
virtual BDpair estimate(const CachingVertex< N > &v, const RefCountedLinearizedTrackState track, unsigned int hint=UINT_MAX) const =0
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
VertexTrackCompatibilityEstimator::RefCountedVertexTrack
CachingVertex< N >::RefCountedVertexTrack RefCountedVertexTrack
Definition:
VertexTrackCompatibilityEstimator.h:17
VertexTrackCompatibilityEstimator::clone
virtual VertexTrackCompatibilityEstimator< N > * clone() const =0
ReferenceCountingPointer
Definition:
ReferenceCounted.h:60
VertexTrackCompatibilityEstimator::VertexTrackCompatibilityEstimator
VertexTrackCompatibilityEstimator()
Definition:
VertexTrackCompatibilityEstimator.h:21
reco::Vertex
Definition:
Vertex.h:34
reco::TransientTrack
Definition:
TransientTrack.h:19
Vertex.h
VertexTrackCompatibilityEstimator::BDpair
std::pair< bool, double > BDpair
Definition:
VertexTrackCompatibilityEstimator.h:19
CachingVertex
Definition:
CachingVertex.h:22
VertexTrackCompatibilityEstimator::~VertexTrackCompatibilityEstimator
virtual ~VertexTrackCompatibilityEstimator()
Definition:
VertexTrackCompatibilityEstimator.h:22
VertexTrackCompatibilityEstimator
Definition:
VertexTrackCompatibilityEstimator.h:15
HLT_2018_cff.track
track
Definition:
HLT_2018_cff.py:10339
Generated for CMSSW Reference Manual by
1.8.11