RecoVertex
KalmanVertexFit
interface
KalmanVertexTrackUpdator.h
Go to the documentation of this file.
1
#ifndef KalmanVertexTrackUpdator_H
2
#define KalmanVertexTrackUpdator_H
3
4
#include "
RecoVertex/VertexPrimitives/interface/VertexTrackUpdator.h
"
5
#include "
RecoVertex/VertexPrimitives/interface/CachingVertex.h
"
6
#include "
RecoVertex/VertexPrimitives/interface/VertexTrack.h
"
7
#include "
RecoVertex/VertexTools/interface/VertexTrackFactory.h
"
8
#include "
RecoVertex/KalmanVertexFit/interface/KVFHelper.h
"
9
#include "
RecoVertex/KalmanVertexFit/interface/KalmanVertexUpdator.h
"
10
16
template
<
unsigned
int
N>
17
class
KalmanVertexTrackUpdator
:
public
VertexTrackUpdator
<N> {
18
public
:
19
typedef
typename
CachingVertex<N>::RefCountedVertexTrack
RefCountedVertexTrack
;
20
typedef
typename
VertexTrack<N>::RefCountedLinearizedTrackState
RefCountedLinearizedTrackState
;
21
typedef
typename
VertexTrack<N>::RefCountedRefittedTrackState
RefCountedRefittedTrackState
;
22
27
KalmanVertexTrackUpdator
() {}
28
29
~KalmanVertexTrackUpdator
()
override
{}
30
39
RefCountedVertexTrack
update
(
const
CachingVertex<N>
&
vertex
,
RefCountedVertexTrack
track
)
const override
;
40
45
KalmanVertexTrackUpdator<N>
*
clone
()
const override
{
return
new
KalmanVertexTrackUpdator
(*
this
); }
46
47
typedef
ROOT::Math::SMatrix<double, 3,
N
- 2, ROOT::Math::MatRepStd<double, 3,
N
- 2> >
AlgebraicMatrix3M
;
48
typedef
ROOT::Math::SMatrix<double, N + 1, N + 1, ROOT::Math::MatRepSym<double, N + 1> >
AlgebraicSymMatrixOO
;
49
typedef
std::pair<RefCountedRefittedTrackState, AlgebraicSymMatrixOO>
trackMatrixPair
;
50
58
trackMatrixPair
trackRefit
(
const
VertexState
&
vertex
,
59
RefCountedLinearizedTrackState
linTrackState,
60
float
weight
)
const
;
61
62
private
:
63
VertexTrackFactory<N>
theVTFactory
;
64
KVFHelper<N>
helper
;
65
KalmanVertexUpdator<N>
updator
;
66
};
67
68
#endif
KalmanVertexTrackUpdator::helper
KVFHelper< N > helper
Definition:
KalmanVertexTrackUpdator.h:64
KalmanVertexUpdator
Definition:
KalmanVertexUpdator.h:13
KalmanVertexTrackUpdator
Definition:
KalmanVertexTrackUpdator.h:17
CachingVertex
Definition:
CachingVertex.h:22
ReferenceCountingPointer
Definition:
ReferenceCounted.h:60
KalmanVertexTrackUpdator::~KalmanVertexTrackUpdator
~KalmanVertexTrackUpdator() override
Definition:
KalmanVertexTrackUpdator.h:29
VertexTrackFactory.h
KalmanVertexTrackUpdator::trackRefit
trackMatrixPair trackRefit(const VertexState &vertex, RefCountedLinearizedTrackState linTrackState, float weight) const
Definition:
KalmanVertexTrackUpdator.cc:28
CachingVertex.h
KalmanVertexTrackUpdator::RefCountedVertexTrack
CachingVertex< N >::RefCountedVertexTrack RefCountedVertexTrack
Definition:
KalmanVertexTrackUpdator.h:19
KalmanVertexTrackUpdator::RefCountedLinearizedTrackState
VertexTrack< N >::RefCountedLinearizedTrackState RefCountedLinearizedTrackState
Definition:
KalmanVertexTrackUpdator.h:20
VertexTrack.h
KVFHelper
Definition:
KVFHelper.h:11
N
#define N
Definition:
blowfish.cc:9
VertexTrackUpdator.h
bphysicsOniaDQM_cfi.vertex
vertex
Definition:
bphysicsOniaDQM_cfi.py:7
KVFHelper.h
VertexTrackFactory
Definition:
VertexTrackFactory.h:16
KalmanVertexTrackUpdator::clone
KalmanVertexTrackUpdator< N > * clone() const override
Definition:
KalmanVertexTrackUpdator.h:45
VertexTrackUpdator
Definition:
VertexTrackUpdator.h:12
KalmanVertexTrackUpdator::update
RefCountedVertexTrack update(const CachingVertex< N > &vertex, RefCountedVertexTrack track) const override
Definition:
KalmanVertexTrackUpdator.cc:12
KalmanVertexUpdator.h
KalmanVertexTrackUpdator::RefCountedRefittedTrackState
VertexTrack< N >::RefCountedRefittedTrackState RefCountedRefittedTrackState
Definition:
KalmanVertexTrackUpdator.h:21
KalmanVertexTrackUpdator::AlgebraicSymMatrixOO
ROOT::Math::SMatrix< double, N+1, N+1, ROOT::Math::MatRepSym< double, N+1 > > AlgebraicSymMatrixOO
Definition:
KalmanVertexTrackUpdator.h:48
KalmanVertexTrackUpdator::updator
KalmanVertexUpdator< N > updator
Definition:
KalmanVertexTrackUpdator.h:65
VertexState
Definition:
VertexState.h:13
KalmanVertexTrackUpdator::theVTFactory
VertexTrackFactory< N > theVTFactory
Definition:
KalmanVertexTrackUpdator.h:63
KalmanVertexTrackUpdator::AlgebraicMatrix3M
ROOT::Math::SMatrix< double, 3, N - 2, ROOT::Math::MatRepStd< double, 3, N - 2 > > AlgebraicMatrix3M
Definition:
KalmanVertexTrackUpdator.h:47
KalmanVertexTrackUpdator::KalmanVertexTrackUpdator
KalmanVertexTrackUpdator()
Definition:
KalmanVertexTrackUpdator.h:27
HLT_2018_cff.track
track
Definition:
HLT_2018_cff.py:10352
KalmanVertexTrackUpdator::trackMatrixPair
std::pair< RefCountedRefittedTrackState, AlgebraicSymMatrixOO > trackMatrixPair
Definition:
KalmanVertexTrackUpdator.h:49
weight
Definition:
weight.py:1
Generated for CMSSW Reference Manual by
1.8.16