Template Class NeighborhoodIterator

Class Documentation

template<typename external_spacepoint_t>
class Acts::NeighborhoodIterator

Iterates over the elements of all bins given by the indices parameter in the given SpacePointGrid.

Fullfills the forward iterator.

Public Types

using sp_it_t = typename std::vector<std::unique_ptr<const InternalSpacePoint<external_spacepoint_t>>>::const_iterator

Public Functions

NeighborhoodIterator() = delete
NeighborhoodIterator(std::vector<size_t> indices, const SpacePointGrid<external_spacepoint_t> *spgrid)
NeighborhoodIterator(std::vector<size_t> indices, const SpacePointGrid<external_spacepoint_t> *spgrid, size_t curInd, sp_it_t curIt)
NeighborhoodIterator(const NeighborhoodIterator<external_spacepoint_t> &other)
bool operator!=(const NeighborhoodIterator<external_spacepoint_t> &other)
const InternalSpacePoint<external_spacepoint_t> *operator*()
void operator++()

Public Members

sp_it_t m_binEnd
size_t m_curInd
sp_it_t m_curIt
const Acts::SpacePointGrid<external_spacepoint_t> *m_grid
std::vector<size_t> m_indices

Public Static Functions

NeighborhoodIterator<external_spacepoint_t> begin(std::vector<size_t> indices, const SpacePointGrid<external_spacepoint_t> *spgrid)