Class MeasurementSelector¶
Defined in File MeasurementSelector.hpp
Class Documentation¶
-
class
Acts
::
MeasurementSelector
¶ Measurement selection struct selecting those measurements 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 measurements on one surface
If there is no compatible measurement, the measurement with the mininum chi2 will be selected and the status will be tagged as an outlier
Public Types
-
using
Config
= Acts::GeometryHierarchyMap<MeasurementSelectorCuts>¶ 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
-
MeasurementSelector
() = default¶ Default constructor.
-
MeasurementSelector
(Config cfg)¶ Constructor with config and (non-owning) logger.
- Parameters
config
: a config instancelogger
: a logger instance
-
template<typename
measurement_t
>
Result<void>operator()
(const BoundTrackParameters &predictedParams, const std::vector<measurement_t> &measurements, std::vector<std::pair<size_t, double>> &measChi2, std::vector<size_t> &measCandidateIndices, bool &isOutlier, LoggerWrapper logger) const¶ Operater that select the measurements compatible with the given track parameter on a surface.
- Template Parameters
measurement_t
: The type of measurement
- Parameters
predictedParams
: The predicted track parameter on a surfacemeasurements
: The pool of measurementsmeasChi2
: The container for index and chi2 of intermediate measurement candidatesmeasCandidateIndices
: The container for index of final measurement candidatesisOutlier
: The indicator for outlier or notlogger
: The logger wrapper
-
using