20 #include <Eigen/src/Core/MatrixBase.h>
28 std::error_code
error;
32 constexpr
size_t kMeasurementSize = decltype(
N)::
value;
41 ACTS_VERBOSE(
"Measurement dimension: " << kMeasurementSize);
42 ACTS_VERBOSE(
"Calibrated measurement: " << calibrated.transpose());
44 << calibratedCovariance);
47 .template topLeftCorner<kMeasurementSize, eBoundSize>()
62 ? KalmanFitterError::ForwardUpdateFailed
63 : KalmanFitterError::BackwardUpdateFailed;
71 ACTS_VERBOSE(
"Filtered parameters: " << trackState.
filtered.transpose());
81 ParametersVector residual;
82 residual = calibrated -
H * trackState.
filtered;
86 ((CovarianceMatrix::Identity() -
H * K) * calibratedCovariance).eval();
88 chi2 = (residual.transpose() * m.inverse() * residual).
value();