Class Acts::NeighborhoodIterator

template<typename external_spacepoint_t>
class 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<InternalSpacePoint<external_spacepoint_t>>>::const_iterator

Public Functions

NeighborhoodIterator() = delete
inline NeighborhoodIterator(NeighborhoodVector indices, const SpacePointGrid<external_spacepoint_t> *spgrid)
inline NeighborhoodIterator(NeighborhoodVector indices, const SpacePointGrid<external_spacepoint_t> *spgrid, size_t curInd, sp_it_t curIt)
inline NeighborhoodIterator(const NeighborhoodIterator<external_spacepoint_t> &other)
inline bool operator!=(const NeighborhoodIterator<external_spacepoint_t> &other)
inline InternalSpacePoint<external_spacepoint_t> *operator*()
inline 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
NeighborhoodVector m_indices

Public Static Functions

static inline NeighborhoodIterator<external_spacepoint_t> begin(NeighborhoodVector indices, const SpacePointGrid<external_spacepoint_t> *spgrid)