Belle II Software
release-08-01-10
|
does the calculation of the gain matrix, updates the cov and fitpars More...
#include <KalmanCalculator.h>
Public Member Functions | |
KalmanCalculator (int sizeRes, int sizeState) | |
constructor | |
void | updateState (FitParams &fitparams) |
update statevector | |
void | updateState (FitParams &fitparams, FitParams &oldState) |
update statevector | |
void | updateCovariance (FitParams &fitparams) |
update the statevectors covariance | |
double | getChiSquare () const |
get chi2 of this iteration | |
ErrCode | calculateGainMatrix (const Eigen::Matrix< double, -1, 1, 0, 7, 1 > &residuals, const Eigen::Matrix< double, -1, -1, 0, 7, MAX_MATRIX_SIZE > &G, const FitParams &fitparams, const Eigen::Matrix< double, -1, -1, 0, 7, 7 > *V=0, double weight=1) |
init the kalman machienery | |
double | getConstraintDim () const |
get dimension of the constraint | |
Private Attributes | |
int | m_constrDim |
dimension of the constraint | |
double | m_chisq |
chi2 | |
Eigen::Matrix< double, -1, 1, 0, 7, 1 > | m_res |
we know the max sizes of the matrices we assume the tree is smaller than MAX_MATRIX_SIZE parameters and the largest constraint is the track constraint with 7 More... | |
Eigen::Matrix< double, -1, -1, 0, 7, MAX_MATRIX_SIZE > | m_G |
G former H, transforms covraince of {residuals}<->{x,p,E}. | |
Eigen::Matrix< double, -1, -1, 0, 7, 7 > | m_R |
R residual covariance. | |
Eigen::Matrix< double, -1, -1, 0, 7, 7 > | m_Rinverse |
R inverse. | |
Eigen::Matrix< double, -1, -1, 0, MAX_MATRIX_SIZE, 7 > | m_K |
K kalman gain matrix. | |
Eigen::Matrix< double, -1, -1, 0, MAX_MATRIX_SIZE, 7 > | m_CGt |
C times G^t | |
does the calculation of the gain matrix, updates the cov and fitpars
Definition at line 23 of file KalmanCalculator.h.
|
private |
we know the max sizes of the matrices we assume the tree is smaller than MAX_MATRIX_SIZE parameters and the largest constraint is the track constraint with 7
-> Eigen puts this on the stack
Eigen::Matrix < double, col, row, ColMajor, maxCol, maxRow> -1 = Eigen::Dynamic 0 = Eigen::ColMajor (don't touch) vector holding the residuals
Definition at line 74 of file KalmanCalculator.h.