From d0d9be994e8c268f07c128a1f0f8da8a4ca8548c Mon Sep 17 00:00:00 2001 From: AJPfleger Date: Mon, 16 Oct 2023 22:30:10 +0200 Subject: [PATCH] add comment to size_t nUpdate = kInvalid --- Core/include/Acts/TrackFitting/GlobalChiSquareFitter.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Core/include/Acts/TrackFitting/GlobalChiSquareFitter.hpp b/Core/include/Acts/TrackFitting/GlobalChiSquareFitter.hpp index d4f4015934f8..b77d363d123d 100644 --- a/Core/include/Acts/TrackFitting/GlobalChiSquareFitter.hpp +++ b/Core/include/Acts/TrackFitting/GlobalChiSquareFitter.hpp @@ -346,7 +346,11 @@ class Gx2Fitter { /// Calibration context for the fit const CalibrationContext* calibrationContext{nullptr}; - /// The current iteration of the fitter + /// The current iteration of the fitter. + /// The variable is updated in fit(). + /// The actor needs to know the current iteration for adding new + /// trackStates. During the first iteration, each measurement surfaces will + /// be added to the track. size_t nUpdate = Acts::MultiTrajectoryTraits::kInvalid; /// @brief Gx2f actor operation