EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::NeighborhoodIterator< external_spacepoint_t > Class Template Reference

#include <acts/blob/sPHENIX/Core/include/Acts/Seeding/BinnedSPGroup.hpp>

+ Collaboration diagram for Acts::NeighborhoodIterator< external_spacepoint_t >:

Public Types

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

Public Member 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)
 
void operator++ ()
 
const InternalSpacePoint
< external_spacepoint_t > * 
operator* ()
 
bool operator!= (const NeighborhoodIterator< external_spacepoint_t > &other)
 

Static Public Member Functions

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

Public Attributes

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

Detailed Description

template<typename external_spacepoint_t>
class Acts::NeighborhoodIterator< external_spacepoint_t >

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

Definition at line 26 of file BinnedSPGroup.hpp.

View newest version in sPHENIX GitHub at line 26 of file BinnedSPGroup.hpp

Member Typedef Documentation

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

Definition at line 29 of file BinnedSPGroup.hpp.

View newest version in sPHENIX GitHub at line 29 of file BinnedSPGroup.hpp

Constructor & Destructor Documentation

template<typename external_spacepoint_t>
Acts::NeighborhoodIterator< external_spacepoint_t >::NeighborhoodIterator ( )
delete
template<typename external_spacepoint_t>
Acts::NeighborhoodIterator< external_spacepoint_t >::NeighborhoodIterator ( std::vector< size_t >  indices,
const SpacePointGrid< external_spacepoint_t > *  spgrid 
)
inline

Definition at line 33 of file BinnedSPGroup.hpp.

View newest version in sPHENIX GitHub at line 33 of file BinnedSPGroup.hpp

References Acts::detail::Grid< T, Axes >::at(), Acts::NeighborhoodIterator< external_spacepoint_t >::m_binEnd, Acts::NeighborhoodIterator< external_spacepoint_t >::m_curInd, Acts::NeighborhoodIterator< external_spacepoint_t >::m_curIt, Acts::NeighborhoodIterator< external_spacepoint_t >::m_grid, and Acts::NeighborhoodIterator< external_spacepoint_t >::m_indices.

+ Here is the call graph for this function:

template<typename external_spacepoint_t>
Acts::NeighborhoodIterator< external_spacepoint_t >::NeighborhoodIterator ( std::vector< size_t >  indices,
const SpacePointGrid< external_spacepoint_t > *  spgrid,
size_t  curInd,
sp_it_t  curIt 
)
inline

Definition at line 44 of file BinnedSPGroup.hpp.

View newest version in sPHENIX GitHub at line 44 of file BinnedSPGroup.hpp

References Acts::detail::Grid< T, Axes >::at(), Acts::NeighborhoodIterator< external_spacepoint_t >::m_binEnd, Acts::NeighborhoodIterator< external_spacepoint_t >::m_curInd, Acts::NeighborhoodIterator< external_spacepoint_t >::m_curIt, Acts::NeighborhoodIterator< external_spacepoint_t >::m_grid, and Acts::NeighborhoodIterator< external_spacepoint_t >::m_indices.

+ Here is the call graph for this function:

Member Function Documentation

template<typename external_spacepoint_t>
static NeighborhoodIterator<external_spacepoint_t> Acts::NeighborhoodIterator< external_spacepoint_t >::begin ( std::vector< size_t >  indices,
const SpacePointGrid< external_spacepoint_t > *  spgrid 
)
inlinestatic

Definition at line 55 of file BinnedSPGroup.hpp.

View newest version in sPHENIX GitHub at line 55 of file BinnedSPGroup.hpp

Referenced by Acts::Neighborhood< external_spacepoint_t >::begin().

+ Here is the caller graph for this function:

template<typename external_spacepoint_t>
bool Acts::NeighborhoodIterator< external_spacepoint_t >::operator!= ( const NeighborhoodIterator< external_spacepoint_t > &  other)
inline

Definition at line 97 of file BinnedSPGroup.hpp.

View newest version in sPHENIX GitHub at line 97 of file BinnedSPGroup.hpp

References Acts::NeighborhoodIterator< external_spacepoint_t >::m_curInd, and Acts::NeighborhoodIterator< external_spacepoint_t >::m_curIt.

template<typename external_spacepoint_t>
const InternalSpacePoint<external_spacepoint_t>* Acts::NeighborhoodIterator< external_spacepoint_t >::operator* ( )
inline

Definition at line 93 of file BinnedSPGroup.hpp.

View newest version in sPHENIX GitHub at line 93 of file BinnedSPGroup.hpp

Member Data Documentation

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

The documentation for this class was generated from the following file: