8 template <
typename Finder>
9 struct TrkrFindingFunctionImpl
13 TrkrFindingFunctionImpl(Finder&& f) : finder(std::move(f)) {}
17 const std::vector<SourceLink>& sourceLinks,
22 return finder.findTracks(sourceLinks, initialParameters, options);
43 using InputMagneticField =
typename std::decay_t<decltype(inputField)>::element_type;
50 <
Propagator, Updater, Smoother, SourceLinkSelector>;
53 MagneticField field(std::move(inputField));
56 navigator.resolvePassive =
false;
57 navigator.resolveMaterial =
true;
58 navigator.resolveSensitive =
true;
59 Propagator propagator(std::move(stepper), std::move(navigator));
60 Finder finder(std::move(propagator));
63 return TrkrFindingFunctionImpl<Finder>(std::move(finder));
65 std::move(magneticField));