File indexing completed on 2026-10-16 08:47:29
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #include "Acts/EventData/MeasurementHelpers.hpp"
0013 #include "Acts/TrackFitting/GlobalChiSquareFitterBackend.hpp"
0014
0015 void Acts::Experimental::updateGx2fCovarianceParams(
0016 BoundMatrix& fullCovariancePredicted, Gx2fSystem& extendedSystem) {
0017
0018 for (std::size_t i = 0; i < extendedSystem.nDims(); ++i) {
0019 if (extendedSystem.aMatrix()(i, i) == 0.) {
0020 extendedSystem.aMatrix()(i, i) = 1.;
0021 }
0022 }
0023
0024 visit_measurement(extendedSystem.findRequiredNdf(), [&](auto N) {
0025 fullCovariancePredicted.topLeftCorner<N, N>() =
0026 extendedSystem.aMatrix().inverse().topLeftCorner<N, N>();
0027 });
0028
0029 return;
0030 }