Class Acts::Experimental::Chi2Fitter¶
-
template<typename propagator_t, typename traj_t>
class Chi2Fitter¶ Chi2 fitter implementation.
- Template Parameters
propagator_t – Type of the propagation class
Public Functions
-
inline Chi2Fitter(propagator_t pPropagator, std::unique_ptr<const Logger> _logger = getDefaultLogger("Chi2Fitter", Logging::INFO))¶
-
template<typename source_link_iterator_t, typename track_container_t, template<typename> class holder_t>
inline auto fit(source_link_iterator_t it, source_link_iterator_t end, const BoundTrackParameters &sParameters, const Chi2FitterOptions<traj_t> &chi2FitterOptions, TrackContainer<track_container_t, traj_t, holder_t> &trackContainer) const -> Result<typename TrackContainer<track_container_t, traj_t, holder_t>::TrackProxy>¶ Fit implementation of the GX2F.
Note
The input measurements are given in the form of
SourceLink
s. It’s the calibrators job to turn them into calibrated measurements used in the fit.- Template Parameters
source_link_iterator_t – Iterator type used to pass source links
start_parameters_t – Type of the initial parameters
parameters_t – Type of parameters used for local parameters
- Parameters
it – Begin iterator for the fittable uncalibrated measurements
end – End iterator for the fittable uncalibrated measurements
sParameters – The initial track parameters
chi2FitterOptions – Chi2FitterOptions steering the fit
trackContainer – The target track container
- Returns
the output as an output track