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

Container for triplet candidates found by the triplet seed finder. More...

#include <Acts/Seeding2/TripletSeedFinder.hpp>

Classes

class  Proxy

Public Types

using const_iterator
 Type alias for const iterator over triplet candidates.
using Index = std::uint32_t
 Type alias for candidate index type.

Public Member Functions

const_iterator begin () const
 Returns iterator to the beginning of the candidate collection.
void clear ()
 Clears all stored triplet candidates Removes all candidates from the container and frees memory.
const std::vector< float > & curvatures () const
 Returns the vector of track curvature estimations.
void emplace_back (SpacePointIndex2 spT, float curvature, float impactParameter)
 Adds a new triplet candidate to the container.
const_iterator end () const
 Returns iterator to the end of the candidate collection.
const std::vector< float > & impactParameters () const
 Returns the vector of impact parameter estimations.
Proxy operator[] (Index index) const
 Provides access to a triplet candidate via proxy object.
void reserve (Index size)
 Reserves storage space for the specified number of candidates.
Index size () const
 Returns the number of triplet candidates stored.
const std::vector< SpacePointIndex2 > & topSpacePoints () const
 Returns the vector of top space point indices.

Detailed Description

Container for triplet candidates found by the triplet seed finder.

This implementation uses partial AoS/SoA depending on the access pattern in the triplet finding process.

Member Typedef Documentation

◆ const_iterator

Initial value:
Acts::detail::ContainerIterator<TripletTopCandidates, Proxy, Index, true>

Type alias for const iterator over triplet candidates.

◆ Index

using Acts::TripletTopCandidates::Index = std::uint32_t

Type alias for candidate index type.

Member Function Documentation

◆ begin()

const_iterator Acts::TripletTopCandidates::begin ( ) const

Returns iterator to the beginning of the candidate collection.

Returns
Const iterator pointing to the first triplet candidate

◆ clear()

void Acts::TripletTopCandidates::clear ( )

Clears all stored triplet candidates Removes all candidates from the container and frees memory.

◆ curvatures()

const std::vector< float > & Acts::TripletTopCandidates::curvatures ( ) const

Returns the vector of track curvature estimations.

Returns
Const reference to vector containing curvature values for all candidates

◆ emplace_back()

void Acts::TripletTopCandidates::emplace_back ( SpacePointIndex2 spT,
float curvature,
float impactParameter )

Adds a new triplet candidate to the container.

Parameters
spTSpace point index for the top space point of the triplet
curvatureTrack curvature estimation for the triplet
impactParameterImpact parameter estimation for the triplet

◆ end()

const_iterator Acts::TripletTopCandidates::end ( ) const

Returns iterator to the end of the candidate collection.

Returns
Const iterator pointing past the last triplet candidate

◆ impactParameters()

const std::vector< float > & Acts::TripletTopCandidates::impactParameters ( ) const

Returns the vector of impact parameter estimations.

Returns
Const reference to vector containing impact parameter values for all candidates

◆ operator[]()

Proxy Acts::TripletTopCandidates::operator[] ( Index index) const

Provides access to a triplet candidate via proxy object.

Parameters
indexIndex of the candidate to access
Returns
Proxy object providing structured access to candidate data

◆ reserve()

void Acts::TripletTopCandidates::reserve ( Index size)

Reserves storage space for the specified number of candidates.

Parameters
sizeNumber of candidates to reserve space for

◆ size()

Index Acts::TripletTopCandidates::size ( ) const

Returns the number of triplet candidates stored.

Returns
Number of triplet candidates in the container

◆ topSpacePoints()

const std::vector< SpacePointIndex2 > & Acts::TripletTopCandidates::topSpacePoints ( ) const

Returns the vector of top space point indices.

Returns
Const reference to vector containing all top space point indices