13 #include <analysis/VertexFitting/TreeFitter/EigenStackConfig.h>
15 #include <analysis/VertexFitting/TreeFitter/FitParams.h>
16 #include <analysis/VertexFitting/TreeFitter/ErrCode.h>
19 #include <Eigen/Dense>
22 namespace TreeFitter {
25 class KalmanCalculator {
38 void updateState(FitParams& fitparams, FitParams& oldState);
48 const Eigen::Matrix < double, -1, 1, 0, 5, 1 > & residuals,
49 const Eigen::Matrix < double, -1, -1, 0, 5, MAX_MATRIX_SIZE > & G,
50 const FitParams& fitparams,
51 const Eigen::Matrix < double, -1, -1, 0, 5, 5 > * V = 0,
79 Eigen::Matrix < double, -1, 1, 0, 5, 1 >
m_res;
82 Eigen::Matrix < double, -1, -1, 0, 5, MAX_MATRIX_SIZE >
m_G;
85 Eigen::Matrix < double, -1, -1, 0, 5, 5 >
m_R;
88 Eigen::Matrix < double, -1, -1, 0, 5, 5 >
m_Rinverse;
91 Eigen::Matrix < double, -1, -1, 0, MAX_MATRIX_SIZE, 5 >
m_K;
94 Eigen::Matrix < double, -1, -1, 0, MAX_MATRIX_SIZE, 5 >
m_CGt;