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
17
public
:
18
19
typedef
typename
CachingVertex<N>::RefCountedVertexTrack
RefCountedVertexTrack
;
20
typedef
typename
VertexTrack<N>::RefCountedLinearizedTrackState
RefCountedLinearizedTrackState
;
21
typedef
typename
std::pair <bool, double>
BDpair
;
22
23
VertexTrackCompatibilityEstimator
(){}
24
virtual
~VertexTrackCompatibilityEstimator
(){}
25
29
virtual
BDpair
estimate
(
const
CachingVertex<N>
&
v
,
30
const
RefCountedLinearizedTrackState
track
,
31
unsigned
int
hint=UINT_MAX)
const
= 0;
32
33
virtual
BDpair
estimate
(
const
reco::Vertex
& v,
34
const
reco::TransientTrack
& track)
const
= 0;
35
36
// obsolete ?
37
virtual
BDpair
estimate
(
const
CachingVertex<N>
& v,
38
const
RefCountedVertexTrack track,
unsigned
int
hint=UINT_MAX)
const
= 0;
42
virtual
VertexTrackCompatibilityEstimator<N>
*
clone
()
const
= 0;
43
44
};
45
46
#endif
CachingVertex.h
TransientTrack.h
VertexTrackCompatibilityEstimator::RefCountedLinearizedTrackState
VertexTrack< N >::RefCountedLinearizedTrackState RefCountedLinearizedTrackState
Definition:
VertexTrackCompatibilityEstimator.h:20
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:177
VertexTrackCompatibilityEstimator::RefCountedVertexTrack
CachingVertex< N >::RefCountedVertexTrack RefCountedVertexTrack
Definition:
VertexTrackCompatibilityEstimator.h:19
VertexTrackCompatibilityEstimator::clone
virtual VertexTrackCompatibilityEstimator< N > * clone() const =0
ReferenceCountingPointer
Definition:
ReferenceCounted.h:63
VertexTrackCompatibilityEstimator::VertexTrackCompatibilityEstimator
VertexTrackCompatibilityEstimator()
Definition:
VertexTrackCompatibilityEstimator.h:23
reco::Vertex
Definition:
Vertex.h:34
reco::TransientTrack
Definition:
TransientTrack.h:21
Vertex.h
VertexTrackCompatibilityEstimator::BDpair
std::pair< bool, double > BDpair
Definition:
VertexTrackCompatibilityEstimator.h:21
CachingVertex
Definition:
CachingVertex.h:25
VertexTrackCompatibilityEstimator::~VertexTrackCompatibilityEstimator
virtual ~VertexTrackCompatibilityEstimator()
Definition:
VertexTrackCompatibilityEstimator.h:24
HiIsolationCommonParameters_cff.track
track
Definition:
HiIsolationCommonParameters_cff.py:9
VertexTrackCompatibilityEstimator
Definition:
VertexTrackCompatibilityEstimator.h:15
Generated for CMSSW Reference Manual by
1.8.11