Main Page
Namespaces
Classes
Package Documentation
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
19
public
:
20
21
typedef
typename
CachingVertex<N>::RefCountedVertexTrack
RefCountedVertexTrack
;
22
typedef
typename
VertexTrack<N>::RefCountedLinearizedTrackState
RefCountedLinearizedTrackState
;
23
typedef
typename
VertexTrack<N>::RefCountedRefittedTrackState
RefCountedRefittedTrackState
;
24
25
30
KalmanVertexTrackUpdator
(){}
31
32
~KalmanVertexTrackUpdator
()
override
{}
33
42
RefCountedVertexTrack
update
(
const
CachingVertex<N>
& vertex,
43
RefCountedVertexTrack
track
)
const override
;
44
45
50
KalmanVertexTrackUpdator<N>
*
clone
()
const override
51
{
52
return
new
KalmanVertexTrackUpdator
(*
this
);
53
}
54
55
typedef
ROOT::Math::SMatrix<double,3,
N
-2,ROOT::Math::MatRepStd<double,3,N-2> >
AlgebraicMatrix3M
;
56
typedef
ROOT::Math::SMatrix<double,N+1,N+1,ROOT::Math::MatRepSym<double,N+1> >
AlgebraicSymMatrixOO
;
57
typedef
std::pair< RefCountedRefittedTrackState, AlgebraicSymMatrixOO >
trackMatrixPair
;
58
66
trackMatrixPair
trackRefit
(
const
VertexState
& vertex,
67
RefCountedLinearizedTrackState linTrackState,
68
float
weight
)
const
;
69
70
private
:
71
72
VertexTrackFactory<N>
theVTFactory
;
73
KVFHelper<N>
helper
;
74
KalmanVertexUpdator<N>
updator
;
75
};
76
77
#endif
CachingVertex.h
KalmanVertexTrackUpdator::RefCountedVertexTrack
CachingVertex< N >::RefCountedVertexTrack RefCountedVertexTrack
Definition:
KalmanVertexTrackUpdator.h:21
KVFHelper
Definition:
KVFHelper.h:11
VertexTrackFactory.h
weight
Definition:
weight.py:1
KalmanVertexTrackUpdator
Definition:
KalmanVertexTrackUpdator.h:17
VertexTrackUpdator.h
ReferenceCountingPointer
Definition:
ReferenceCounted.h:63
KalmanVertexTrackUpdator::AlgebraicSymMatrixOO
ROOT::Math::SMatrix< double, N+1, N+1, ROOT::Math::MatRepSym< double, N+1 > > AlgebraicSymMatrixOO
Definition:
KalmanVertexTrackUpdator.h:56
KalmanVertexTrackUpdator::update
RefCountedVertexTrack update(const CachingVertex< N > &vertex, RefCountedVertexTrack track) const override
Definition:
KalmanVertexTrackUpdator.cc:15
KalmanVertexTrackUpdator::trackMatrixPair
std::pair< RefCountedRefittedTrackState, AlgebraicSymMatrixOO > trackMatrixPair
Definition:
KalmanVertexTrackUpdator.h:57
KalmanVertexTrackUpdator::clone
KalmanVertexTrackUpdator< N > * clone() const override
Definition:
KalmanVertexTrackUpdator.h:50
VertexTrack.h
KalmanVertexUpdator.h
KalmanVertexTrackUpdator::helper
KVFHelper< N > helper
Definition:
KalmanVertexTrackUpdator.h:73
KalmanVertexTrackUpdator::theVTFactory
VertexTrackFactory< N > theVTFactory
Definition:
KalmanVertexTrackUpdator.h:72
CachingVertex
Definition:
CachingVertex.h:25
N
#define N
Definition:
blowfish.cc:9
HiIsolationCommonParameters_cff.track
track
Definition:
HiIsolationCommonParameters_cff.py:9
KalmanVertexTrackUpdator::AlgebraicMatrix3M
ROOT::Math::SMatrix< double, 3, N-2, ROOT::Math::MatRepStd< double, 3, N-2 > > AlgebraicMatrix3M
Definition:
KalmanVertexTrackUpdator.h:55
VertexTrackUpdator
Definition:
VertexTrackUpdator.h:12
KalmanVertexTrackUpdator::~KalmanVertexTrackUpdator
~KalmanVertexTrackUpdator() override
Definition:
KalmanVertexTrackUpdator.h:32
KalmanVertexUpdator
Definition:
KalmanVertexUpdator.h:13
KalmanVertexTrackUpdator::RefCountedLinearizedTrackState
VertexTrack< N >::RefCountedLinearizedTrackState RefCountedLinearizedTrackState
Definition:
KalmanVertexTrackUpdator.h:22
VertexTrackFactory
Definition:
VertexTrackFactory.h:16
KalmanVertexTrackUpdator::trackRefit
trackMatrixPair trackRefit(const VertexState &vertex, RefCountedLinearizedTrackState linTrackState, float weight) const
Definition:
KalmanVertexTrackUpdator.cc:34
KalmanVertexTrackUpdator::RefCountedRefittedTrackState
VertexTrack< N >::RefCountedRefittedTrackState RefCountedRefittedTrackState
Definition:
KalmanVertexTrackUpdator.h:23
VertexState
Definition:
VertexState.h:13
KalmanVertexTrackUpdator::updator
KalmanVertexUpdator< N > updator
Definition:
KalmanVertexTrackUpdator.h:74
KalmanVertexTrackUpdator::KalmanVertexTrackUpdator
KalmanVertexTrackUpdator()
Definition:
KalmanVertexTrackUpdator.h:30
KVFHelper.h
Generated for CMSSW Reference Manual by
1.8.11