|
ACTS
Experiment-independent tracking
|
Iterable indices for neighborhood lookups with optional wrap-around. More...
#include <Acts/Utilities/Axis.hpp>
Classes | |
| class | iterator |
| Iterator over the neighborhood index sequence. More... | |
Public Member Functions | |
| NeighborHoodIndices (std::size_t begin, std::size_t end) | |
| Constructor for continuous range. | |
| NeighborHoodIndices (std::size_t begin1, std::size_t end1, std::size_t begin2, std::size_t end2) | |
| Constructor for wrapped range (two segments). | |
| iterator | begin () const |
| Get begin iterator. | |
| std::vector< std::size_t > | collect () const |
| Collect all indices into a vector. | |
| iterator | end () const |
| Get end iterator. | |
| std::size_t | size () const |
| Get total number of indices in the sequence. | |
Iterable indices for neighborhood lookups with optional wrap-around.
| Acts::NeighborHoodIndices::NeighborHoodIndices | ( | std::size_t | begin, |
| std::size_t | end ) |
Constructor for continuous range.
| begin | Start index |
| end | End index (exclusive) |
| Acts::NeighborHoodIndices::NeighborHoodIndices | ( | std::size_t | begin1, |
| std::size_t | end1, | ||
| std::size_t | begin2, | ||
| std::size_t | end2 ) |
Constructor for wrapped range (two segments).
| begin1 | Start of first segment |
| end1 | End of first segment (exclusive) |
| begin2 | Start of second segment |
| end2 | End of second segment (exclusive) |
| iterator Acts::NeighborHoodIndices::begin | ( | ) | const |
Get begin iterator.
| std::vector< std::size_t > Acts::NeighborHoodIndices::collect | ( | ) | const |
Collect all indices into a vector.
| iterator Acts::NeighborHoodIndices::end | ( | ) | const |
Get end iterator.
| std::size_t Acts::NeighborHoodIndices::size | ( | ) | const |
Get total number of indices in the sequence.