Skip to content

Commit

Permalink
please acts-project#2352 (SourceLink as explicit argument to calibrator)
Browse files Browse the repository at this point in the history
  • Loading branch information
AJPfleger committed Aug 22, 2023
1 parent 0d25e04 commit 847e142
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Core/include/Acts/TrackFitting/GlobalChiSquareFitter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ struct Gx2FitterExtensions {
typename MultiTrajectory<traj_t>::ConstTrackStateProxy;
using Parameters = typename TrackStateProxy::Parameters;

using Calibrator = Delegate<void(const GeometryContext&, TrackStateProxy)>;
using Calibrator = Delegate<void(const GeometryContext&, const SourceLink&,
TrackStateProxy)>;

using Updater = Delegate<Result<void>(const GeometryContext&, TrackStateProxy,
Direction, const Logger&)>;
Expand Down Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 847e142

Please sign in to comment.