|
ACTS
Experiment-independent tracking
|
The CandidatesForMiddleSp collects the triplet candidates given a fixed middle spacepoint. More...
#include <Acts/Seeding/CandidatesForMiddleSp.hpp>
Public Types | |
| using | value_type = TripletCandidate<external_space_point_t> |
| Type alias for triplet candidate type stored in this container. | |
Public Member Functions | |
| void | clear () |
| Clear the internal storage. | |
| std::size_t | nHighQualityCandidates () const |
| Retrieve the number of High quality candidates. | |
| std::size_t | nLowQualityCandidates () const |
| Retrieve the number of Low quality candidates. | |
| bool | push (external_space_point_t &spB, external_space_point_t &spM, external_space_point_t &spT, float weight, float zOrigin, bool isQuality) |
| Adding a new triplet candidate to the collection, should it satisfy the selection criteria. | |
| void | setMaxElements (std::size_t nLow, std::size_t nHigh) |
| Setting maximum number of candidates to keep. | |
| std::vector< value_type > | storage () |
| Retrieve the triplet candidates, the resulting vector is already sorted, elements with higher quality first. | |
Static Public Member Functions | |
| static bool | ascendingByQuality (const value_type &i1, const value_type &i2) |
| A function for sorting the triplet candidates from lower to higher quality. | |
| static bool | descendingByQuality (const value_type &i1, const value_type &i2) |
| A function for sorting the triplet candidates from higher to lower quality. | |
The CandidatesForMiddleSp collects the triplet candidates given a fixed middle spacepoint.
It internally stores the triplet candidates keeping only those with the higher quality.
| external_space_point_t | The external spacepoint type. |
| using Acts::CandidatesForMiddleSp< external_space_point_t >::value_type = TripletCandidate<external_space_point_t> |
Type alias for triplet candidate type stored in this container.
|
static |
A function for sorting the triplet candidates from lower to higher quality.
| i1 | First triplet candidate |
| i2 | Second triplet candidate |
| void Acts::CandidatesForMiddleSp< external_space_point_t >::clear | ( | ) |
Clear the internal storage.
|
static |
A function for sorting the triplet candidates from higher to lower quality.
| i1 | First triplet candidate |
| i2 | Second triplet candidate |
| std::size_t Acts::CandidatesForMiddleSp< external_space_point_t >::nHighQualityCandidates | ( | ) | const |
Retrieve the number of High quality candidates.
| std::size_t Acts::CandidatesForMiddleSp< external_space_point_t >::nLowQualityCandidates | ( | ) | const |
Retrieve the number of Low quality candidates.
| bool Acts::CandidatesForMiddleSp< external_space_point_t >::push | ( | external_space_point_t & | spB, |
| external_space_point_t & | spM, | ||
| external_space_point_t & | spT, | ||
| float | weight, | ||
| float | zOrigin, | ||
| bool | isQuality ) |
Adding a new triplet candidate to the collection, should it satisfy the selection criteria.
| spB | Bottom space point |
| spM | Medium space point |
| spT | Top space point |
| weight | The quality of the triplet candidate |
| zOrigin | The z-coordinate of the origin |
| isQuality | Whether the triplet candidate is high or low quality |
| void Acts::CandidatesForMiddleSp< external_space_point_t >::setMaxElements | ( | std::size_t | nLow, |
| std::size_t | nHigh ) |
Setting maximum number of candidates to keep.
| nLow | Maximum number of candidates in the low-quality collection |
| nHigh | Maximum number of candidates in the high-quality collection |
| std::vector< value_type > Acts::CandidatesForMiddleSp< external_space_point_t >::storage | ( | ) |
Retrieve the triplet candidates, the resulting vector is already sorted, elements with higher quality first.