|
ACTS
Experiment-independent tracking
|
Generic Implementation to fit a straight line to set of composite space point measurements. More...
#include <Acts/Seeding/CompositeSpacePointLineFitter.hpp>
Classes | |
| struct | Config |
| Fitter configuration object. More... | |
| struct | DoFcounts |
| Struct counting the different types of degrees of freedom. More... | |
| struct | FitOptions |
| Configuration object parsed per each fit. More... | |
| struct | FitParameters |
| Auxiliary object to store the fitted parameters, covariance, the chi2 / nDoF & the number of required iterations. More... | |
| struct | FitResult |
| Fit parameters together with the calibrated measurements. More... | |
Public Types | |
| using | ChiSqCache = detail::CompSpacePointAuxiliaries::ChiSqWithDerivatives |
| Abrivation of the carrier object of the chi2 of the measurements w.r.t. | |
| using | CovMat_t = Acts::ActsSquareMatrix<s_nPars> |
| Covariance estimation matrix on the segment line parameters. | |
| using | FastFitter_t = detail::FastStrawLineFitter |
| Abrivation of the fast fitter. | |
| using | FitParIndex = detail::CompSpacePointAuxiliaries::FitParIndex |
| Assignment of the parameter vector components. | |
| using | Line_t = detail::CompSpacePointAuxiliaries::Line_t |
| Abrivation of the line type. | |
| using | ParamVec_t = std::array<double, s_nPars> |
| Vector containing the 5 straight segment line parameters. | |
| template<CompositeSpacePoint Sp_t> | |
| using | Selector_t = Delegate<bool(const Sp_t&)> |
| During the repetitive recalibration, single hits may be invalidated under the track parameters. | |
| template<CompositeSpacePointContainer Cont_t> | |
| using | SpacePoint_t = RemovePointer_t<typename Cont_t::value_type> |
| Abrivation of the underlying space point type. | |
| using | Vector = Line_t::Vector |
| Vector abrivation. | |
Public Member Functions | |
| CompositeSpacePointLineFitter (const Config &cfg, std::unique_ptr< const Logger > logger=getDefaultLogger("CompositeSpacePointLineFitter", Logging::Level::INFO)) | |
| Class constructor. | |
| const Config & | config () const |
| Returns the instantiated configuration object. | |
| template<CompositeSpacePointContainer Cont_t> | |
| DoFcounts | countDoF (const Cont_t &measurements) const |
| Classify measurements according to whether they measure loc0, loc1, time or are straw measurements. | |
| template<CompositeSpacePointContainer Cont_t> | |
| DoFcounts | countDoF (const Cont_t &measurements, const Selector_t< SpacePoint_t< Cont_t > > &selector) const |
| Classify measurements according to whether they measure loc0, loc1, time or are straw measurements. | |
| std::vector< FitParIndex > | extractFitablePars (const DoFcounts &hitCounts) const |
| Helper function to extract which parameters shall be extracted from the hit counts. | |
| template<CompositeSpacePointContainer Cont_t, CompositeSpacePointCalibrator< Cont_t, Cont_t > Calibrator_t> | |
| FitResult< Cont_t > | fit (FitOptions< Cont_t, Calibrator_t > &&fitOpts) const |
| Fit a line to a set of Composite space point measurements. | |
Static Public Attributes | |
| static constexpr auto | s_nPars = toUnderlying(FitParIndex::nPars) |
Generic Implementation to fit a straight line to set of composite space point measurements.
The line is parameterized by x_{0}, y_{0}, theta, phi, where the first two parameters are the line's intercept at z=0 and the latter two are the polar and azimuthal angle in the local frame common to all space points. Optionally, the fitter may also estimate the offset in the time of arrival at the line's reference plane.
| using Acts::Experimental::CompositeSpacePointLineFitter::ChiSqCache = detail::CompSpacePointAuxiliaries::ChiSqWithDerivatives |
Abrivation of the carrier object of the chi2 of the measurements w.r.t.
the line together with the corresponding derivatives
Covariance estimation matrix on the segment line parameters.
| using Acts::Experimental::CompositeSpacePointLineFitter::FastFitter_t = detail::FastStrawLineFitter |
Abrivation of the fast fitter.
| using Acts::Experimental::CompositeSpacePointLineFitter::FitParIndex = detail::CompSpacePointAuxiliaries::FitParIndex |
Assignment of the parameter vector components.
| using Acts::Experimental::CompositeSpacePointLineFitter::Line_t = detail::CompSpacePointAuxiliaries::Line_t |
Abrivation of the line type.
| using Acts::Experimental::CompositeSpacePointLineFitter::ParamVec_t = std::array<double, s_nPars> |
Vector containing the 5 straight segment line parameters.
| using Acts::Experimental::CompositeSpacePointLineFitter::Selector_t = Delegate<bool(const Sp_t&)> |
During the repetitive recalibration, single hits may be invalidated under the track parameters.
Define a Delegate to sort out the invalid hits
| using Acts::Experimental::CompositeSpacePointLineFitter::SpacePoint_t = RemovePointer_t<typename Cont_t::value_type> |
Abrivation of the underlying space point type.
| using Acts::Experimental::CompositeSpacePointLineFitter::Vector = Line_t::Vector |
Vector abrivation.
|
explicit |
Class constructor.
| cfg | Reference to the fitter configuration object |
| logger | Logger object used for debug print out |
| const Config & Acts::Experimental::CompositeSpacePointLineFitter::config | ( | ) | const |
Returns the instantiated configuration object.
| DoFcounts Acts::Experimental::CompositeSpacePointLineFitter::countDoF | ( | const Cont_t & | measurements | ) | const |
Classify measurements according to whether they measure loc0, loc1, time or are straw measurements.
| measurements | Collection of composite space points of interest |
| DoFcounts Acts::Experimental::CompositeSpacePointLineFitter::countDoF | ( | const Cont_t & | measurements, |
| const Selector_t< SpacePoint_t< Cont_t > > & | selector ) const |
Classify measurements according to whether they measure loc0, loc1, time or are straw measurements.
| measurements | Collection of composite space points of interest |
| selector | Delegate to sort out the invalid measurements |
| std::vector< FitParIndex > Acts::Experimental::CompositeSpacePointLineFitter::extractFitablePars | ( | const DoFcounts & | hitCounts | ) | const |
Helper function to extract which parameters shall be extracted from the hit counts.
| hitCounts | Filled array representing the degrees of freedom for nonBending, bending, timeStrip, and straw measurement |
| FitResult< Cont_t > Acts::Experimental::CompositeSpacePointLineFitter::fit | ( | FitOptions< Cont_t, Calibrator_t > && | fitOpts | ) | const |
Fit a line to a set of Composite space point measurements.
| fitOpts | Auxiliary object carrying all necessary input needed to execute the fit |
|
staticconstexpr |