File indexing completed on 2025-01-18 09:11:31
0001
0002
0003
0004
0005
0006
0007
0008
0009 #include "Acts/TrackFitting/GainMatrixUpdater.hpp"
0010
0011 #include "Acts/Definitions/Algebra.hpp"
0012 #include "Acts/Definitions/TrackParametrization.hpp"
0013 #include "Acts/EventData/MeasurementHelpers.hpp"
0014 #include "Acts/TrackFitting/KalmanFitterError.hpp"
0015
0016 #include <algorithm>
0017 #include <cstddef>
0018 #include <type_traits>
0019 #include <utility>
0020
0021 #include <Eigen/src/Core/MatrixBase.h>
0022
0023 namespace Acts {
0024
0025 std::tuple<double, std::error_code> GainMatrixUpdater::visitMeasurement(
0026 InternalTrackState trackState, const Logger& logger) const {
0027
0028
0029 return visit_measurement(
0030 trackState.calibratedSize,
0031 [&, this]<std::size_t N>(std::integral_constant<std::size_t, N>)
0032 -> std::tuple<double, std::error_code> {
0033 return visitMeasurementImpl<N>(trackState, logger);
0034 });
0035 }
0036
0037 }