|
ACTS
Experiment-independent tracking
|
Helper class for variable subspace operations. More...
#include <Acts/EventData/SubspaceHelpers.hpp>
Public Types | |
| using | Container = boost::container::static_vector<IndexType, FullSize> |
| Type alias for container holding subspace indices. | |
| using | IndexType = index_t |
| Type alias for index type. | |
Public Member Functions | |
| template<std::ranges::sized_range other_index_range_t> | |
| VariableSubspaceHelper (const other_index_range_t &indices) | |
| Construct a variable subspace helper with specified indices. | |
| auto | begin () const |
| Get iterator to beginning of indices. | |
| bool | empty () const |
| Check if the subspace is empty. | |
| auto | end () const |
| Get iterator to end of indices. | |
| const Container & | indices () const |
| Get the container of subspace indices. | |
| IndexType | operator[] (std::size_t i) const |
| Access subspace index at position i. | |
| std::size_t | size () const |
| Get the size of the subspace. | |
Static Public Attributes | |
| static constexpr std::size_t | kFullSize = FullSize |
| Size of the full parameter space. | |
Helper class for variable subspace operations.
| FullSize | the full size of the subspace |
| index_t | the index type |
| using Acts::VariableSubspaceHelper< FullSize, index_t >::Container = boost::container::static_vector<IndexType, FullSize> |
Type alias for container holding subspace indices.
| using Acts::VariableSubspaceHelper< FullSize, index_t >::IndexType = index_t |
Type alias for index type.
|
explicit |
Construct a variable subspace helper with specified indices.
| other_index_range_t | Type of the index range |
| indices | Range of indices defining the subspace |
| auto Acts::VariableSubspaceHelper< FullSize, index_t >::begin | ( | ) | const |
Get iterator to beginning of indices.
| bool Acts::VariableSubspaceHelper< FullSize, index_t >::empty | ( | ) | const |
Check if the subspace is empty.
| auto Acts::VariableSubspaceHelper< FullSize, index_t >::end | ( | ) | const |
Get iterator to end of indices.
| const Container & Acts::VariableSubspaceHelper< FullSize, index_t >::indices | ( | ) | const |
Get the container of subspace indices.
| IndexType Acts::VariableSubspaceHelper< FullSize, index_t >::operator[] | ( | std::size_t | i | ) | const |
Access subspace index at position i.
| i | Position index |
| std::size_t Acts::VariableSubspaceHelper< FullSize, index_t >::size | ( | ) | const |
Get the size of the subspace.
|
staticconstexpr |
Size of the full parameter space.