ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::MeasurementSelector Class Reference

Measurement selection struct selecting those measurements compatible with the given track parameter against provided criteria on one surface. More...

#include <Acts/TrackFinding/MeasurementSelector.hpp>

Public Types

using Config = Acts::GeometryHierarchyMap<MeasurementSelectorCuts>
 Geometry-dependent cut configuration.

Public Member Functions

 MeasurementSelector ()
 Default constructor.
 MeasurementSelector (const Config &config)
 Constructor with config.
 MeasurementSelector (const MeasurementSelectorCuts &cuts)
 Constructor with cuts.
template<typename traj_t>
Result< std::pair< typename std::vector< typename traj_t::TrackStateProxy >::iterator, typename std::vector< typename traj_t::TrackStateProxy >::iterator > > select (std::vector< typename traj_t::TrackStateProxy > &candidates, bool &isOutlier, const Logger &logger) const
 Function that select the measurements compatible with the given track parameter on a surface.

Detailed Description

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 minimum chi2 will be selected and the status will be tagged as an outlier

Member Typedef Documentation

◆ Config

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.

Constructor & Destructor Documentation

◆ MeasurementSelector() [1/3]

Acts::MeasurementSelector::MeasurementSelector ( )

Default constructor.

This will use the default configuration for the cuts.

◆ MeasurementSelector() [2/3]

Acts::MeasurementSelector::MeasurementSelector ( const MeasurementSelectorCuts & cuts)
explicit

Constructor with cuts.

Parameters
cutsThe cuts to use

◆ MeasurementSelector() [3/3]

Acts::MeasurementSelector::MeasurementSelector ( const Config & config)
explicit

Constructor with config.

Parameters
configa config instance

Member Function Documentation

◆ select()

template<typename traj_t>
Result< std::pair< typename std::vector< typename traj_t::TrackStateProxy >::iterator, typename std::vector< typename traj_t::TrackStateProxy >::iterator > > Acts::MeasurementSelector::select ( std::vector< typename traj_t::TrackStateProxy > & candidates,
bool & isOutlier,
const Logger & logger ) const

Function that select the measurements compatible with the given track parameter on a surface.

Parameters
candidatesThe track state candidates which already contain predicted parameters
isOutlierThe indicator for outlier or not
loggerThe logger wrapper
Returns
Pair of iterators into candidates marking the range of selected candidates