From 847e142c745831ce6b99ec98cd8941f71e5d3788 Mon Sep 17 00:00:00 2001 From: AJPfleger Date: Tue, 22 Aug 2023 13:16:26 +0700 Subject: [PATCH] please #2352 (SourceLink as explicit argument to calibrator) --- Core/include/Acts/TrackFitting/GlobalChiSquareFitter.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Core/include/Acts/TrackFitting/GlobalChiSquareFitter.hpp b/Core/include/Acts/TrackFitting/GlobalChiSquareFitter.hpp index 336308b52f2..08a7edf2b59 100644 --- a/Core/include/Acts/TrackFitting/GlobalChiSquareFitter.hpp +++ b/Core/include/Acts/TrackFitting/GlobalChiSquareFitter.hpp @@ -54,7 +54,8 @@ struct Gx2FitterExtensions { typename MultiTrajectory::ConstTrackStateProxy; using Parameters = typename TrackStateProxy::Parameters; - using Calibrator = Delegate; + using Calibrator = Delegate; using Updater = Delegate(const GeometryContext&, TrackStateProxy, Direction, const Logger&)>; @@ -392,7 +393,8 @@ class Gx2Fitter { // We have predicted parameters, so calibrate the uncalibrated input // measuerement - extensions.calibrator(state.geoContext, trackStateProxy); + extensions.calibrator(state.geoContext, sourcelink_it->second, + trackStateProxy); } }