ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::KalmanVertexUpdater Namespace Reference

Namespaces

namespace  detail
 

Classes

struct  MatrixCache
 adds or removes track from or updates current vertex Based on R. Frühwirth et al. Vertex reconstruction and track bundling at the lep collider using robust Algorithms Computer Physics Comm.: 96 (1996) 189, chapter 2.1 More...
 

Functions

template<typename input_track_t >
void updateVertexWithTrack (Vertex< input_track_t > &vtx, TrackAtVertex< input_track_t > &trk)
 Updates vertex with knowledge of new track.
 
template<typename input_track_t >
void updatePosition (const Acts::Vertex< input_track_t > &vtx, const Acts::LinearizedTrack &linTrack, double trackWeight, int sign, MatrixCache &matrixCache)
 Updates vertex position.
 

Function Documentation

template<typename input_track_t >
void Acts::KalmanVertexUpdater::updatePosition ( const Acts::Vertex< input_track_t > &  vtx,
const Acts::LinearizedTrack linTrack,
double  trackWeight,
int  sign,
MatrixCache &  matrixCache 
)

Updates vertex position.

Parameters
vtxOld vertex
linTrackLinearized version of track to be added or removed
trackWeightTrack weight
sign+1 (add track) or -1 (remove track)
[out]matrixCacheA cache to store matrix information
Returns
Vertex with updated position and covariance

Definition at line 63 of file KalmanVertexUpdater.ipp.

View newest version in sPHENIX GitHub at line 63 of file KalmanVertexUpdater.ipp

References Acts::LinearizedTrack::constantTerm, Acts::Vertex< input_track_t >::covariance(), Acts::LinearizedTrack::momentumJacobian, Acts::KalmanVertexUpdater::MatrixCache::momWeightInv, Acts::KalmanVertexUpdater::MatrixCache::newVertexCov, Acts::KalmanVertexUpdater::MatrixCache::newVertexPos, Acts::KalmanVertexUpdater::MatrixCache::newVertexWeight, Acts::KalmanVertexUpdater::MatrixCache::oldVertexWeight, Acts::LinearizedTrack::parametersAtPCA, Acts::Vertex< input_track_t >::position(), Acts::LinearizedTrack::positionJacobian, and Acts::LinearizedTrack::weightAtPCA.

Referenced by Acts::KalmanVertexUpdater::detail::update().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename input_track_t >
void Acts::KalmanVertexUpdater::updateVertexWithTrack ( Vertex< input_track_t > &  vtx,
TrackAtVertex< input_track_t > &  trk 
)

Updates vertex with knowledge of new track.

Note
KalmanVertexUpdater updates the vertex w.r.t. the newly given track, but does NOT add the track to the TrackAtVertex list. Has to be done manually after calling this method
Parameters
vtxVertex to be updated
trkTrack to be used for updating the vertex

Definition at line 13 of file KalmanVertexUpdater.ipp.

View newest version in sPHENIX GitHub at line 13 of file KalmanVertexUpdater.ipp