Struct CKFSourceLinkSelector

Struct Documentation

struct 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, std::shared_ptr<const Logger> logger = std::shared_ptr<const Logger>(getDefaultLogger("CKFSourceLinkSelector", Logging::INFO).release()))

Constructor with config and (non-owning) logger.

Parameters
  • config: a config instance

  • logger: a logger instance

const Logger &logger() const

Getter for the logger, to support logging macros.

Operater that select the source links compatible with the given track parameter on a surface.

Template Parameters
  • calibrator_t: The type of calibrator

  • source_link_t: The type of source link

Parameters
  • calibrator: The measurement calibrator

  • predictedParams: The predicted track parameter on a surface

  • sourcelinks: The pool of source links

  • sourcelinkChi2: The container for index and chi2 of intermediate source link candidates

  • sourcelinkCandidateIndices: The container for index of final source link candidates

  • isOutlier: The indicator for outlier or not

Public Members

Config m_config

The config.

std::shared_ptr<const Logger> m_logger = {nullptr}

Pointer to a logger that is owned by the parent, track finder.