src
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::AlgebraicMatrix3M
ROOT::Math::SMatrix< double, 3, N - 2, ROOT::Math::MatRepStd< double, 3, N - 2 > > AlgebraicMatrix3M
Definition:
KalmanVertexTrackUpdator.h:47
CachingVertex.h
bphysicsOniaDQM_cfi.vertex
vertex
Definition:
bphysicsOniaDQM_cfi.py:7
KalmanVertexTrackUpdator::RefCountedVertexTrack
CachingVertex< N >::RefCountedVertexTrack RefCountedVertexTrack
Definition:
KalmanVertexTrackUpdator.h:19
KVFHelper
Definition:
KVFHelper.h:11
VertexTrackFactory.h
weight
Definition:
weight.py:1
HLT_2024v14_cff.track
track
Definition:
HLT_2024v14_cff.py:9565
KalmanVertexTrackUpdator
Definition:
KalmanVertexTrackUpdator.h:17
VertexTrackUpdator.h
ReferenceCountingPointer
Definition:
ReferenceCounted.h:60
KalmanVertexTrackUpdator::trackMatrixPair
std::pair< RefCountedRefittedTrackState, AlgebraicSymMatrixOO > trackMatrixPair
Definition:
KalmanVertexTrackUpdator.h:49
KalmanVertexTrackUpdator::AlgebraicSymMatrixOO
ROOT::Math::SMatrix< double, N+1, N+1, ROOT::Math::MatRepSym< double, N+1 > > AlgebraicSymMatrixOO
Definition:
KalmanVertexTrackUpdator.h:48
KalmanVertexTrackUpdator::update
RefCountedVertexTrack update(const CachingVertex< N > &vertex, RefCountedVertexTrack track) const override
Definition:
KalmanVertexTrackUpdator.cc:12
VertexTrack.h
KalmanVertexUpdator.h
KalmanVertexTrackUpdator::helper
KVFHelper< N > helper
Definition:
KalmanVertexTrackUpdator.h:64
KalmanVertexTrackUpdator::theVTFactory
VertexTrackFactory< N > theVTFactory
Definition:
KalmanVertexTrackUpdator.h:63
CachingVertex
Definition:
CachingVertex.h:22
N
#define N
Definition:
blowfish.cc:9
KalmanVertexTrackUpdator::clone
KalmanVertexTrackUpdator< N > * clone() const override
Definition:
KalmanVertexTrackUpdator.h:45
KalmanVertexTrackUpdator::trackRefit
trackMatrixPair trackRefit(const VertexState &vertex, RefCountedLinearizedTrackState linTrackState, float weight) const
Definition:
KalmanVertexTrackUpdator.cc:28
VertexTrackUpdator
Definition:
VertexTrackUpdator.h:12
KalmanVertexTrackUpdator::~KalmanVertexTrackUpdator
~KalmanVertexTrackUpdator() override
Definition:
KalmanVertexTrackUpdator.h:29
KalmanVertexUpdator
Definition:
KalmanVertexUpdator.h:13
KalmanVertexTrackUpdator::RefCountedLinearizedTrackState
VertexTrack< N >::RefCountedLinearizedTrackState RefCountedLinearizedTrackState
Definition:
KalmanVertexTrackUpdator.h:20
VertexTrackFactory
Definition:
VertexTrackFactory.h:16
KalmanVertexTrackUpdator::RefCountedRefittedTrackState
VertexTrack< N >::RefCountedRefittedTrackState RefCountedRefittedTrackState
Definition:
KalmanVertexTrackUpdator.h:21
VertexState
Definition:
VertexState.h:13
KalmanVertexTrackUpdator::updator
KalmanVertexUpdator< N > updator
Definition:
KalmanVertexTrackUpdator.h:65
KalmanVertexTrackUpdator::KalmanVertexTrackUpdator
KalmanVertexTrackUpdator()
Definition:
KalmanVertexTrackUpdator.h:27
KVFHelper.h
Generated for CMSSW Reference Manual by
1.8.14