ATLAS Offline Software
Public Member Functions | Static Public Member Functions | List of all members
Trk::IPatternParametersUpdator Class Referenceabstract

Interface for updating Trk::PatternTrackParameters, the fast internal representation of track parameters in the (inner detector) pattern recognition tools, with a measurement. More...

#include <IPatternParametersUpdator.h>

Inheritance diagram for Trk::IPatternParametersUpdator:
Collaboration diagram for Trk::IPatternParametersUpdator:

Public Member Functions

virtual bool addToState (PatternTrackParameters &, const Amg::Vector2D &, const Amg::MatrixX &, PatternTrackParameters &) const =0
 add a PRD-level local position to a track state given by pattern track pars (no chi2 calculated). More...
 
virtual bool addToState (PatternTrackParameters &, const LocalParameters &, const Amg::MatrixX &, PatternTrackParameters &) const =0
 add a ROT-level measurement to a track state given by pattern track pars (no chi2 calculated). More...
 
virtual bool addToStateOneDimension (PatternTrackParameters &, const Amg::Vector2D &, const Amg::MatrixX &, PatternTrackParameters &) const =0
 add an explicitly one-dimensional measurement without chi2 calculation to pattern pars. More...
 
virtual bool removeFromState (PatternTrackParameters &, const Amg::Vector2D &, const Amg::MatrixX &, PatternTrackParameters &) const =0
 remove a PRD-level local position from a track state given by pattern track pars (no chi2 calculated). More...
 
virtual bool removeFromState (PatternTrackParameters &, const LocalParameters &, const Amg::MatrixX &, PatternTrackParameters &) const =0
 remove a ROT-level measurement from a track state given by pattern track pars (no chi2 calculated). More...
 
virtual bool addToState (PatternTrackParameters &, const Amg::Vector2D &, const Amg::MatrixX &, PatternTrackParameters &, double &, int &) const =0
 add a PRD-level local position to a track state given by pattern track pars (chi2 calculated). More...
 
virtual bool addToState (PatternTrackParameters &, const LocalParameters &, const Amg::MatrixX &, PatternTrackParameters &, double &, int &) const =0
 add a ROT-level measurement to a track state given by pattern track pars (chi2 calculated). More...
 
virtual bool addToStateOneDimension (PatternTrackParameters &, const Amg::Vector2D &, const Amg::MatrixX &, PatternTrackParameters &, double &, int &) const =0
 add an explicitly one-dimensional measurement to pattern pars and calculate chi2 contribution. More...
 
virtual bool removeFromState (PatternTrackParameters &, const Amg::Vector2D &, const Amg::MatrixX &, PatternTrackParameters &, double &, int &) const =0
 remove a PRD-level local position from a track state given by pattern track pars (chi2 calculated). More...
 
virtual bool removeFromState (PatternTrackParameters &, const LocalParameters &, const Amg::MatrixX &, PatternTrackParameters &, double &, int &) const =0
 remove a ROT-level measurement from a track state given by pattern track pars (chi2 calculated). More...
 
virtual bool combineStates (PatternTrackParameters &, PatternTrackParameters &, PatternTrackParameters &) const =0
 combine two track states into a resulting state. More...
 
virtual bool combineStates (PatternTrackParameters &, PatternTrackParameters &, PatternTrackParameters &, double &) const =0
 combine two track states into a resulting state and calculate chi2 contribution. More...
 
virtual bool predictedStateFitQuality (const PatternTrackParameters &, const Amg::Vector2D &, const Amg::MatrixX &, int &, double &) const =0
 calculate fit quality in terms of chi2 assuming a track state which does not include information from the current measurement (given as PRD-level local position). More...
 
virtual bool predictedStateFitQuality (const PatternTrackParameters &, const LocalParameters &, const Amg::MatrixX &, int &, double &) const =0
 calculate fit quality in terms of chi2 assuming a track state which does not include information from the current measurement. More...
 
virtual bool fullStateFitQuality (const PatternTrackParameters &, const Amg::Vector2D &, const Amg::MatrixX &, int &, double &) const =0
 calculate fit quality in terms of chi2 assuming a track state which includes information from the current measurement (given as PRD-level local position). More...
 
virtual bool fullStateFitQuality (const PatternTrackParameters &, const LocalParameters &, const Amg::MatrixX &, int &, double &) const =0
 calculate fit quality in terms of chi2 assuming a track state which includes information from the current measurement. More...
 
virtual bool predictedStateFitQuality (const PatternTrackParameters &, const PatternTrackParameters &, double &) const =0
 calculate fit quality in terms of chi2 between two track states. More...
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 

Detailed Description

Interface for updating Trk::PatternTrackParameters, the fast internal representation of track parameters in the (inner detector) pattern recognition tools, with a measurement.

The interface provides methods for adding or removing a measurement to/from a track state as well as calculating chi2 contributions. The methods are the same tasks as the standard Trk::IUpdator, but instead of the EDM Trk::TrackParameters it works with Trk::PatternTrackParameters. The interface is aimed at an implementation using the Kalman filter gain formalism.

Author
Igor.Gavrilenko -at- cern.ch, Wolfgang.Liebig -at- cern.ch

Definition at line 40 of file IPatternParametersUpdator.h.

Member Function Documentation

◆ addToState() [1/4]

virtual bool Trk::IPatternParametersUpdator::addToState ( PatternTrackParameters ,
const Amg::Vector2D ,
const Amg::MatrixX ,
PatternTrackParameters  
) const
pure virtual

add a PRD-level local position to a track state given by pattern track pars (no chi2 calculated).

The last PatternTrackPar argument is the output, returns false if the calculation fails.

Implemented in Trk::KalmanUpdator_xk.

◆ addToState() [2/4]

virtual bool Trk::IPatternParametersUpdator::addToState ( PatternTrackParameters ,
const Amg::Vector2D ,
const Amg::MatrixX ,
PatternTrackParameters ,
double &  ,
int &   
) const
pure virtual

add a PRD-level local position to a track state given by pattern track pars (chi2 calculated).

The last PatternTrackPar argument is the output, returns false if the calculation fails.

Implemented in Trk::KalmanUpdator_xk.

◆ addToState() [3/4]

virtual bool Trk::IPatternParametersUpdator::addToState ( PatternTrackParameters ,
const LocalParameters ,
const Amg::MatrixX ,
PatternTrackParameters  
) const
pure virtual

add a ROT-level measurement to a track state given by pattern track pars (no chi2 calculated).

The last PatternTrackPar argument is the output, returns false if the calculation fails.

Implemented in Trk::KalmanUpdator_xk.

◆ addToState() [4/4]

virtual bool Trk::IPatternParametersUpdator::addToState ( PatternTrackParameters ,
const LocalParameters ,
const Amg::MatrixX ,
PatternTrackParameters ,
double &  ,
int &   
) const
pure virtual

add a ROT-level measurement to a track state given by pattern track pars (chi2 calculated).

The last PatternTrackPar argument is the output, returns false if the calculation fails.

Implemented in Trk::KalmanUpdator_xk.

◆ addToStateOneDimension() [1/2]

virtual bool Trk::IPatternParametersUpdator::addToStateOneDimension ( PatternTrackParameters ,
const Amg::Vector2D ,
const Amg::MatrixX ,
PatternTrackParameters  
) const
pure virtual

add an explicitly one-dimensional measurement without chi2 calculation to pattern pars.

The last PatternTrackPar argument is the output, returns false if the calculation fails.

Implemented in Trk::KalmanUpdator_xk.

◆ addToStateOneDimension() [2/2]

virtual bool Trk::IPatternParametersUpdator::addToStateOneDimension ( PatternTrackParameters ,
const Amg::Vector2D ,
const Amg::MatrixX ,
PatternTrackParameters ,
double &  ,
int &   
) const
pure virtual

add an explicitly one-dimensional measurement to pattern pars and calculate chi2 contribution.

The last PatternTrackPar argument is the output, returns false if the calculation fails.

Implemented in Trk::KalmanUpdator_xk.

◆ combineStates() [1/2]

virtual bool Trk::IPatternParametersUpdator::combineStates ( PatternTrackParameters ,
PatternTrackParameters ,
PatternTrackParameters  
) const
pure virtual

combine two track states into a resulting state.

The third PatternTrackPar argument is the output, returns false if the calculation fails.

Implemented in Trk::KalmanUpdator_xk.

◆ combineStates() [2/2]

virtual bool Trk::IPatternParametersUpdator::combineStates ( PatternTrackParameters ,
PatternTrackParameters ,
PatternTrackParameters ,
double &   
) const
pure virtual

combine two track states into a resulting state and calculate chi2 contribution.

The third PatternTrackPar argument is the output, returns false if the calculation fails.

Implemented in Trk::KalmanUpdator_xk.

◆ fullStateFitQuality() [1/2]

virtual bool Trk::IPatternParametersUpdator::fullStateFitQuality ( const PatternTrackParameters ,
const Amg::Vector2D ,
const Amg::MatrixX ,
int &  ,
double &   
) const
pure virtual

calculate fit quality in terms of chi2 assuming a track state which includes information from the current measurement (given as PRD-level local position).

The last parameters are the output ndof and chi2, returns false if the calculation fails.

Implemented in Trk::KalmanUpdator_xk.

◆ fullStateFitQuality() [2/2]

virtual bool Trk::IPatternParametersUpdator::fullStateFitQuality ( const PatternTrackParameters ,
const LocalParameters ,
const Amg::MatrixX ,
int &  ,
double &   
) const
pure virtual

calculate fit quality in terms of chi2 assuming a track state which includes information from the current measurement.

The last parameters are the output ndof and chi2, returns false if the calculation fails.

Implemented in Trk::KalmanUpdator_xk.

◆ interfaceID()

const InterfaceID & Trk::IPatternParametersUpdator::interfaceID ( )
inlinestatic

Definition at line 168 of file IPatternParametersUpdator.h.

169 {
170  return IID_IPatternParametersUpdator;
171 }

◆ predictedStateFitQuality() [1/3]

virtual bool Trk::IPatternParametersUpdator::predictedStateFitQuality ( const PatternTrackParameters ,
const Amg::Vector2D ,
const Amg::MatrixX ,
int &  ,
double &   
) const
pure virtual

calculate fit quality in terms of chi2 assuming a track state which does not include information from the current measurement (given as PRD-level local position).

The last parameters are the output ndof and chi2, returns false if the calculation fails.

Implemented in Trk::KalmanUpdator_xk.

◆ predictedStateFitQuality() [2/3]

virtual bool Trk::IPatternParametersUpdator::predictedStateFitQuality ( const PatternTrackParameters ,
const LocalParameters ,
const Amg::MatrixX ,
int &  ,
double &   
) const
pure virtual

calculate fit quality in terms of chi2 assuming a track state which does not include information from the current measurement.

The last parameters are the output ndof and chi2, returns false if the calculation fails.

Implemented in Trk::KalmanUpdator_xk.

◆ predictedStateFitQuality() [3/3]

virtual bool Trk::IPatternParametersUpdator::predictedStateFitQuality ( const PatternTrackParameters ,
const PatternTrackParameters ,
double &   
) const
pure virtual

calculate fit quality in terms of chi2 between two track states.

The last parameters is the output chi2, ndof is 5.

Implemented in Trk::KalmanUpdator_xk.

◆ removeFromState() [1/4]

virtual bool Trk::IPatternParametersUpdator::removeFromState ( PatternTrackParameters ,
const Amg::Vector2D ,
const Amg::MatrixX ,
PatternTrackParameters  
) const
pure virtual

remove a PRD-level local position from a track state given by pattern track pars (no chi2 calculated).

The last PatternTrackPar argument is the output, returns false if the calculation fails.

Implemented in Trk::KalmanUpdator_xk.

◆ removeFromState() [2/4]

virtual bool Trk::IPatternParametersUpdator::removeFromState ( PatternTrackParameters ,
const Amg::Vector2D ,
const Amg::MatrixX ,
PatternTrackParameters ,
double &  ,
int &   
) const
pure virtual

remove a PRD-level local position from a track state given by pattern track pars (chi2 calculated).

The last PatternTrackPar argument is the output, returns false if the calculation fails.

Implemented in Trk::KalmanUpdator_xk.

◆ removeFromState() [3/4]

virtual bool Trk::IPatternParametersUpdator::removeFromState ( PatternTrackParameters ,
const LocalParameters ,
const Amg::MatrixX ,
PatternTrackParameters  
) const
pure virtual

remove a ROT-level measurement from a track state given by pattern track pars (no chi2 calculated).

The last PatternTrackPar argument is the output, returns false if the calculation fails.

Implemented in Trk::KalmanUpdator_xk.

◆ removeFromState() [4/4]

virtual bool Trk::IPatternParametersUpdator::removeFromState ( PatternTrackParameters ,
const LocalParameters ,
const Amg::MatrixX ,
PatternTrackParameters ,
double &  ,
int &   
) const
pure virtual

remove a ROT-level measurement from a track state given by pattern track pars (chi2 calculated).

The last PatternTrackPar argument is the output, returns false if the calculation fails.

Implemented in Trk::KalmanUpdator_xk.


The documentation for this class was generated from the following file: