|
ACTS
Experiment-independent tracking
|
Container for doublets found by the doublet seed finder. More...
#include <Acts/Seeding2/DoubletSeedFinder.hpp>
Classes | |
| struct | IndexAndCotTheta |
| class | Proxy |
| class | Proxy2 |
| Same as Proxy but also contains cotTheta. More... | |
| class | Range |
| class | Subset |
| class | Subset2 |
Public Types | |
| using | const_iterator |
| Type alias for const iterator over doublets in container. | |
| using | Index = std::uint32_t |
| Type alias for index type used in doublets container. | |
| using | IndexAndCotThetaSubset = std::span<const IndexAndCotTheta> |
| Type alias for subset of index and cotTheta pairs. | |
| using | IndexRange = std::pair<Index, Index> |
| Type alias for range of indices in doublets container. | |
| using | IndexSubset = std::span<const Index> |
| Type alias for subset of indices in doublets container. | |
Public Member Functions | |
| const_iterator | begin () const |
| Get iterator to beginning of doublets container. | |
| void | clear () |
| Clear all stored doublets and associated data. | |
| const std::vector< float > & | cotTheta () const |
| Get reference to cotTheta values container. | |
| void | emplace_back (SpacePointIndex2 sp, float cotTheta, float iDeltaR, float er, float u, float v, float x, float y) |
| Add a new doublet with associated parameters. | |
| bool | empty () const |
| Check if the doublets container is empty. | |
| const_iterator | end () const |
| Get iterator to end of doublets container. | |
| Proxy | operator[] (Index index) const |
| Access doublet by index. | |
| Proxy2 | operator[] (IndexAndCotTheta indexAndCotTheta) const |
| Access doublet by index and cotTheta pair. | |
| Range | range () const noexcept |
| Get range view of all doublets. | |
| Range | range (const IndexRange &range) const noexcept |
| Get range view of doublets within specified index range. | |
| Index | size () const |
| Get the number of doublets in container. | |
| void | sortByCotTheta (const IndexRange &range, std::vector< IndexAndCotTheta > &indexAndCotTheta) const |
| Sort doublets by cotTheta within given range. | |
| const std::vector< SpacePointIndex2 > & | spacePoints () const |
| Get reference to space point indices container. | |
| Subset2 | subset (const IndexAndCotThetaSubset &subset) const noexcept |
| Create subset view from index and cotTheta subset. | |
| Subset | subset (const IndexSubset &subset) const noexcept |
| Create subset view from index subset. | |
Container for doublets found by the doublet seed finder.
This implementation uses partial AoS/SoA depending on the access pattern in the doublet finding process.
Type alias for const iterator over doublets in container.
| using Acts::DoubletsForMiddleSp::Index = std::uint32_t |
Type alias for index type used in doublets container.
| using Acts::DoubletsForMiddleSp::IndexAndCotThetaSubset = std::span<const IndexAndCotTheta> |
Type alias for subset of index and cotTheta pairs.
| using Acts::DoubletsForMiddleSp::IndexRange = std::pair<Index, Index> |
Type alias for range of indices in doublets container.
| using Acts::DoubletsForMiddleSp::IndexSubset = std::span<const Index> |
Type alias for subset of indices in doublets container.
| const_iterator Acts::DoubletsForMiddleSp::begin | ( | ) | const |
Get iterator to beginning of doublets container.
| void Acts::DoubletsForMiddleSp::clear | ( | ) |
Clear all stored doublets and associated data.
| const std::vector< float > & Acts::DoubletsForMiddleSp::cotTheta | ( | ) | const |
Get reference to cotTheta values container.
| void Acts::DoubletsForMiddleSp::emplace_back | ( | SpacePointIndex2 | sp, |
| float | cotTheta, | ||
| float | iDeltaR, | ||
| float | er, | ||
| float | u, | ||
| float | v, | ||
| float | x, | ||
| float | y ) |
Add a new doublet with associated parameters.
| sp | Space point index for the doublet |
| cotTheta | Cotangent of polar angle |
| iDeltaR | Inverse delta R parameter |
| er | Error in R coordinate |
| u | U coordinate parameter |
| v | V coordinate parameter |
| x | X coordinate |
| y | Y coordinate |
|
nodiscard |
Check if the doublets container is empty.
| const_iterator Acts::DoubletsForMiddleSp::end | ( | ) | const |
Get iterator to end of doublets container.
Access doublet by index.
| index | Index of the doublet to access |
| Proxy2 Acts::DoubletsForMiddleSp::operator[] | ( | IndexAndCotTheta | indexAndCotTheta | ) | const |
Access doublet by index and cotTheta pair.
| indexAndCotTheta | Index and cotTheta pair for the doublet |
|
noexcept |
Get range view of all doublets.
|
noexcept |
Get range view of doublets within specified index range.
| range | Index range to create view for |
|
nodiscard |
Get the number of doublets in container.
| void Acts::DoubletsForMiddleSp::sortByCotTheta | ( | const IndexRange & | range, |
| std::vector< IndexAndCotTheta > & | indexAndCotTheta ) const |
Sort doublets by cotTheta within given range.
| range | Index range to sort within |
| indexAndCotTheta | Output vector containing sorted index and cotTheta pairs |
| const std::vector< SpacePointIndex2 > & Acts::DoubletsForMiddleSp::spacePoints | ( | ) | const |
Get reference to space point indices container.
|
noexcept |
Create subset view from index and cotTheta subset.
| subset | Span of index and cotTheta pairs to include |
|
noexcept |
Create subset view from index subset.
| subset | Span of indices to include in subset |