11 #include "Acts/EventData/TrackParameters.hpp"
19 std::unique_ptr<Trk::Track>
21 const Acts::GeometryContext& tgContext,
22 const Acts::GsfOptions<ActsTrk::MutableTrackStateBackend>& gsfOptions,
23 const std::vector<Acts::SourceLink>& trackSourceLinks,
24 const Acts::BoundTrackParameters& initialParams)
const
27 ATH_MSG_ERROR(
"ACTS GSF UseDirectNavigation is true, but standard navigation is used");
30 if (trackSourceLinks.empty()) {
31 ATH_MSG_DEBUG(
"input contain measurement but no source link created, probable issue with the converter, reject fit ");
37 auto result =
m_fitter->fit(trackSourceLinks.begin(), trackSourceLinks.end(),
38 initialParams, gsfOptions, tracks);
41 if (not
result.ok())
return nullptr;