#include <KalmanVertexUpdator.h>
Public Types | |
typedef VertexTrack< N > ::RefCountedLinearizedTrackState | RefCountedLinearizedTrackState |
typedef CachingVertex< N > ::RefCountedVertexTrack | RefCountedVertexTrack |
Public Types inherited from VertexUpdator< N > | |
typedef CachingVertex< N > ::RefCountedVertexTrack | RefCountedVertexTrack |
Public Member Functions | |
CachingVertex< N > | add (const CachingVertex< N > &oldVertex, const RefCountedVertexTrack track) const override |
std::pair< bool, double > | chi2Increment (const VertexState &oldVertex, const VertexState &newVertexState, const RefCountedLinearizedTrackState linearizedTrack, float weight) const |
VertexUpdator< N > * | clone () const override |
VertexState | positionUpdate (const VertexState &oldVertex, const RefCountedLinearizedTrackState linearizedTrack, const float weight, int sign) const |
CachingVertex< N > | remove (const CachingVertex< N > &oldVertex, const RefCountedVertexTrack track) const override |
CachingVertex< N > | update (const CachingVertex< N > &oldVertex, const RefCountedVertexTrack track, float weight, int sign) const |
Public Member Functions inherited from VertexUpdator< N > | |
virtual CachingVertex< N > | add (const CachingVertex< N > &v, const typename CachingVertex< N >::RefCountedVertexTrack t) const =0 |
virtual CachingVertex< N > | remove (const CachingVertex< N > &v, const typename CachingVertex< N >::RefCountedVertexTrack t) const =0 |
VertexUpdator () | |
virtual | ~VertexUpdator () |
Private Types | |
typedef ROOT::Math::SMatrix < double, N-2, 3, ROOT::Math::MatRepStd < double, N-2, 3 > > | AlgebraicMatrixM3 |
typedef ROOT::Math::SMatrix < double, N, 3, ROOT::Math::MatRepStd < double, N, 3 > > | AlgebraicMatrixN3 |
typedef ROOT::Math::SMatrix < double, N, N-2, ROOT::Math::MatRepStd< double, N, N-2 > > | AlgebraicMatrixNM |
typedef ROOT::Math::SMatrix < double, N+1, N+1, ROOT::Math::MatRepStd< double, N+1, N+1 > > | AlgebraicMatrixOO |
typedef ROOT::Math::SMatrix < double, N-2, N-2, ROOT::Math::MatRepSym< double, N-2 > > | AlgebraicSymMatrixMM |
typedef ROOT::Math::SMatrix < double, N, N, ROOT::Math::MatRepSym< double, N > > | AlgebraicSymMatrixNN |
typedef ROOT::Math::SMatrix < double, N+1, N+1, ROOT::Math::MatRepSym< double, N+1 > > | AlgebraicSymMatrixOO |
typedef ROOT::Math::SVector < double, N-2 > | AlgebraicVectorM |
typedef ROOT::Math::SVector < double, N > | AlgebraicVectorN |
Private Attributes | |
KVFHelper< N > | helper |
Vertex updator for the Kalman vertex filter. (c.f. R. Fruewirth et.al., Comp.Phys.Comm 96 (1996) 189
Definition at line 13 of file KalmanVertexUpdator.h.
|
private |
Definition at line 62 of file KalmanVertexUpdator.h.
|
private |
Definition at line 60 of file KalmanVertexUpdator.h.
|
private |
Definition at line 61 of file KalmanVertexUpdator.h.
|
private |
Definition at line 65 of file KalmanVertexUpdator.h.
|
private |
Definition at line 66 of file KalmanVertexUpdator.h.
|
private |
Definition at line 63 of file KalmanVertexUpdator.h.
|
private |
Definition at line 64 of file KalmanVertexUpdator.h.
|
private |
Definition at line 59 of file KalmanVertexUpdator.h.
|
private |
Definition at line 58 of file KalmanVertexUpdator.h.
typedef VertexTrack<N>::RefCountedLinearizedTrackState KalmanVertexUpdator< N >::RefCountedLinearizedTrackState |
Definition at line 16 of file KalmanVertexUpdator.h.
typedef CachingVertex<N>::RefCountedVertexTrack KalmanVertexUpdator< N >::RefCountedVertexTrack |
Definition at line 15 of file KalmanVertexUpdator.h.
|
override |
Method to add a track to an existing CachingVertex An invalid vertex is returned in case of problems during the update.
Definition at line 56 of file KalmanVertexUpdator.cc.
References update, and histoStyle::weight.
Referenced by GsfVertexUpdator::add(), and counter.Counter::register().
std::pair< bool, double > KalmanVertexUpdator< N >::chi2Increment | ( | const VertexState & | oldVertex, |
const VertexState & | newVertexState, | ||
const RefCountedLinearizedTrackState | linearizedTrack, | ||
float | weight | ||
) | const |
Definition at line 129 of file KalmanVertexUpdator.cc.
References a, b, HLT_FULL_cff::chi2, relativeConstraints::error, invertPosDefMatrix(), VertexState::position(), alignCSCRings::s, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by GsfVertexUpdator::createNewComponent().
|
inlineoverridevirtual |
Clone method
Implements VertexUpdator< N >.
Definition at line 36 of file KalmanVertexUpdator.h.
VertexState KalmanVertexUpdator< N >::positionUpdate | ( | const VertexState & | oldVertex, |
const RefCountedLinearizedTrackState | linearizedTrack, | ||
const float | weight, | ||
int | sign | ||
) | const |
Definition at line 70 of file KalmanVertexUpdator.cc.
References a, b, relativeConstraints::error, invertPosDefMatrix(), GlobalErrorBase< T, ErrorWeightType >::matrix(), alignCSCRings::s, jetcorrextractor::sign(), VertexState::weight(), and VertexState::weightTimesPosition().
Referenced by GsfVertexUpdator::createNewComponent(), and GsfVertexSmoother::createNewComponent().
|
override |
Method removing already used VertexTrack from existing CachingVertex An invalid vertex is returned in case of problems during the update.
Definition at line 63 of file KalmanVertexUpdator.cc.
References update, and histoStyle::weight.
CachingVertex< N > KalmanVertexUpdator< N >::update | ( | const CachingVertex< N > & | oldVertex, |
const RefCountedVertexTrack | track, | ||
float | weight, | ||
int | sign | ||
) | const |
The methode which actually does the vertex update. An invalid vertex is returned in case of problems during the update.
Definition at line 13 of file KalmanVertexUpdator.cc.
References funct::abs(), gather_cfg::cout, spr::find(), CachingVertex< N >::hasPrior(), VertexState::isValid(), CachingVertex< N >::priorVertexState(), jetcorrextractor::sign(), CachingVertex< N >::totalChiSquared(), HLT_FULL_cff::track, CachingVertex< N >::tracks(), CachingVertex< N >::vertexState(), and histoStyle::weight.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 68 of file KalmanVertexUpdator.h.