#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 68 of file KalmanVertexUpdator.h.
|
private |
Definition at line 66 of file KalmanVertexUpdator.h.
|
private |
Definition at line 67 of file KalmanVertexUpdator.h.
|
private |
Definition at line 71 of file KalmanVertexUpdator.h.
|
private |
Definition at line 72 of file KalmanVertexUpdator.h.
|
private |
Definition at line 69 of file KalmanVertexUpdator.h.
|
private |
Definition at line 70 of file KalmanVertexUpdator.h.
|
private |
Definition at line 65 of file KalmanVertexUpdator.h.
|
private |
Definition at line 64 of file KalmanVertexUpdator.h.
typedef VertexTrack<N>::RefCountedLinearizedTrackState KalmanVertexUpdator< N >::RefCountedLinearizedTrackState |
Definition at line 18 of file KalmanVertexUpdator.h.
typedef CachingVertex<N>::RefCountedVertexTrack KalmanVertexUpdator< N >::RefCountedVertexTrack |
Definition at line 17 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 57 of file KalmanVertexUpdator.cc.
References update.
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 137 of file KalmanVertexUpdator.cc.
References a, b, vertices_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 KalmanVertexUpdator< 5 >::clone(), and GsfVertexUpdator::createNewComponent().
|
inlineoverridevirtual |
Clone method
Implements VertexUpdator< N >.
Definition at line 40 of file KalmanVertexUpdator.h.
VertexState KalmanVertexUpdator< N >::positionUpdate | ( | const VertexState & | oldVertex, |
const RefCountedLinearizedTrackState | linearizedTrack, | ||
const float | weight, | ||
int | sign | ||
) | const |
Definition at line 75 of file KalmanVertexUpdator.cc.
References a, b, relativeConstraints::error, invertPosDefMatrix(), GlobalErrorBase< T, ErrorWeightType >::matrix(), alignCSCRings::s, Validation_hcalonly_cfi::sign, VertexState::weight(), and VertexState::weightTimesPosition().
Referenced by KalmanVertexUpdator< 5 >::clone(), 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 65 of file KalmanVertexUpdator.cc.
References update.
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(), Validation_hcalonly_cfi::sign, CachingVertex< N >::totalChiSquared(), HiIsolationCommonParameters_cff::track, CachingVertex< N >::tracks(), CachingVertex< N >::vertexState(), and mps_merge::weight.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), KalmanVertexUpdator< 5 >::clone(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |
Definition at line 74 of file KalmanVertexUpdator.h.