Skip to content

Commit

Permalink
Merge branch 'main' into feat-refine-dd4hep-building
Browse files Browse the repository at this point in the history
  • Loading branch information
asalzburger authored Nov 17, 2023
2 parents 42256af + 394192a commit 0358d4c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions Core/include/Acts/TrackFitting/GlobalChiSquareFitter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ struct Gx2FitterExtensions {
calibrator.template connect<&detail::voidFitterCalibrator<traj_t>>();
updater.template connect<&detail::voidFitterUpdater<traj_t>>();
outlierFinder.template connect<&detail::voidOutlierFinder<traj_t>>();
surfaceAccessor.connect<&detail::voidSurfaceAccessor>();
}
};

Expand Down
3 changes: 3 additions & 0 deletions Core/include/Acts/TrackFitting/GsfOptions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ struct GsfExtensions {
calibrator.template connect<&detail::voidFitterCalibrator<traj_t>>();
updater.template connect<&detail::voidFitterUpdater<traj_t>>();
outlierFinder.template connect<&detail::voidOutlierFinder<traj_t>>();
surfaceAccessor.connect<&detail::voidSurfaceAccessor>();
mixtureReducer
.template connect<&detail::voidComponentReducer<GsfComponent>>();
}
};

Expand Down
1 change: 1 addition & 0 deletions Core/include/Acts/TrackFitting/KalmanFitter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ struct KalmanFitterExtensions {
outlierFinder.template connect<&detail::voidOutlierFinder<traj_t>>();
reverseFilteringLogic
.template connect<&detail::voidReverseFilteringLogic<traj_t>>();
surfaceAccessor.connect<&detail::voidSurfaceAccessor>();
}
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,11 @@ bool voidReverseFilteringLogic(
inline const Surface* voidSurfaceAccessor(const SourceLink& /*sourceLink*/) {
throw std::runtime_error{"voidSurfaceAccessor should not ever execute"};
}

template <typename component_t>
void voidComponentReducer(std::vector<component_t>& /*components*/,
std::size_t /*n*/, const Surface& /*surface*/) {
throw std::runtime_error{"voidComponentReducer should not ever execute"};
}

} // namespace Acts::detail

0 comments on commit 0358d4c

Please sign in to comment.