#include <KVFHelper.h>
Public Types | |
typedef std::pair< bool, double > | BDpair |
typedef VertexTrack< N > ::RefCountedLinearizedTrackState | RefCountedLinearizedTrackState |
typedef VertexTrack< N > ::RefCountedRefittedTrackState | RefCountedRefittedTrackState |
typedef CachingVertex< N > ::RefCountedVertexTrack | RefCountedVertexTrack |
Public Member Functions | |
BDpair | trackParameterChi2 (const RefCountedLinearizedTrackState linTrack, const RefCountedRefittedTrackState refittedTrackState) const |
BDpair | trackParameterChi2 (const RefCountedVertexTrack track) const |
double | vertexChi2 (const VertexState &vertexA, const VertexState &VertexB) const |
double | vertexChi2 (const CachingVertex< N > &vertexA, const CachingVertex< N > &vertexB) const |
Helper class to calculate chi2 increments for the Kalman Filter
Definition at line 11 of file KVFHelper.h.
Definition at line 18 of file KVFHelper.h.
typedef VertexTrack<N>::RefCountedLinearizedTrackState KVFHelper< N >::RefCountedLinearizedTrackState |
Definition at line 16 of file KVFHelper.h.
typedef VertexTrack<N>::RefCountedRefittedTrackState KVFHelper< N >::RefCountedRefittedTrackState |
Definition at line 17 of file KVFHelper.h.
typedef CachingVertex<N>::RefCountedVertexTrack KVFHelper< N >::RefCountedVertexTrack |
Definition at line 15 of file KVFHelper.h.
KVFHelper< N >::BDpair KVFHelper< N >::trackParameterChi2 | ( | const RefCountedLinearizedTrackState | linTrack, |
const RefCountedRefittedTrackState | refittedTrackState | ||
) | const |
Methode which calculates the chi**2 between the prior and the fitted track parameters.
linTrack | The track as linearized |
refittedTrackState | The refitted track |
Definition at line 46 of file KVFHelper.cc.
References relativeConstraints::error.
Referenced by GsfVertexSmoother::createNewComponent().
KVFHelper< N >::BDpair KVFHelper< N >::trackParameterChi2 | ( | const RefCountedVertexTrack | track | ) | const |
Methode which calculates the chi**2 between the prior and the fitted track parameters. The track must have been smoothed before calling this method. If not, an Exception will be thrown.
Definition at line 39 of file KVFHelper.cc.
double KVFHelper< N >::vertexChi2 | ( | const VertexState & | vertexA, |
const VertexState & | VertexB | ||
) | const |
Methode which calculates the chi**2-increment due to the vertices E.g. between the prior and the fitted vertex. The covariance matrix used is that of the first vertex (vertexA). This method will not take into account multiple states, so in case one of the VertexStates is a multi-state vertex, only the mean will be used.
vertexA,: | The prior vertex state |
VertexB,: | The fitted vertex state |
Definition at line 13 of file KVFHelper.cc.
References PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by GsfVertexSmoother::createNewComponent(), and GsfVertexSmoother::priorVertexChi2().
double KVFHelper< N >::vertexChi2 | ( | const CachingVertex< N > & | vertexA, |
const CachingVertex< N > & | vertexB | ||
) | const |
Definition at line 5 of file KVFHelper.cc.
References CachingVertex< N >::vertexState().