Class CKFSourceLinkSelector¶
Defined in File CKFSourceLinkSelector.hpp
Class Documentation¶
-
class
Acts
::
CKFSourceLinkSelector
¶ Source link selection struct selecting those source links compatible with the given track parameter against provided criteria on one surface.
The selection criteria could be allowed maximum chi2 and allowed maximum number of source links on one surface
If there is no compatible source link, the source link with the mininum chi2 will be selected and the status will be tagged as an outlier
Public Types
-
using
Config
= Acts::GeometryHierarchyMap<SourceLinkSelectorCuts>¶ Geometry-dependent cut configuration.
Different components on the geometry can require different cut settings. The configuration must either contain explicit settings for all geometry components that are used or contain a global default.
Public Functions
-
CKFSourceLinkSelector
() = default¶ Default constructor.
-
CKFSourceLinkSelector
(Config cfg)¶ Constructor with config and (non-owning) logger.
- Parameters
config
: a config instancelogger
: a logger instance
-
template<typename
calibrator_t
, typenamesource_link_t
>
Result<void>operator()
(const calibrator_t &calibrator, const BoundTrackParameters &predictedParams, const std::vector<source_link_t> &sourcelinks, std::vector<std::pair<size_t, double>> &sourcelinkChi2, std::vector<size_t> &sourcelinkCandidateIndices, bool &isOutlier, LoggerWrapper logger) const¶ Operater that select the source links compatible with the given track parameter on a surface.
- Template Parameters
calibrator_t
: The type of calibratorsource_link_t
: The type of source link
- Parameters
calibrator
: The measurement calibratorpredictedParams
: The predicted track parameter on a surfacesourcelinks
: The pool of source linkssourcelinkChi2
: The container for index and chi2 of intermediate source link candidatessourcelinkCandidateIndices
: The container for index of final source link candidatesisOutlier
: The indicator for outlier or not
-
using