Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::BinFinder< external_spacepoint_t > Class Template Reference

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

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

Public Member Functions

 BinFinder ()=delete
 constructor
 
 BinFinder (const std::vector< std::pair< int, int >> &zBinNeighbors, int numPhiNeighbors)
 
boost::container::small_vector
< size_t, 9 > 
findBins (size_t phiBin, size_t zBin, const SpacePointGrid< external_spacepoint_t > *binnedSP) const
 

Private Attributes

Acts::detail::RefHolder< const
std::vector< std::pair< int,
int > > > 
m_zBinNeighbors
 
int m_numPhiNeighbors = 1
 

Detailed Description

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

The BinFinder is used by the ISPGroupSelector. It can be used to find both bins that could be bottom bins as well as bins that could be top bins, which are assumed to be the same bins. Does not take interaction region into account to limit z-bins.

Definition at line 26 of file BinFinder.hpp.

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

Constructor & Destructor Documentation

template<typename external_spacepoint_t >
Acts::BinFinder< external_spacepoint_t >::BinFinder ( )
delete

constructor

template<typename external_spacepoint_t >
Acts::BinFinder< external_spacepoint_t >::BinFinder ( const std::vector< std::pair< int, int >> &  zBinNeighbors,
int  numPhiNeighbors 
)

Definition at line 10 of file BinFinder.ipp.

View newest version in sPHENIX GitHub at line 10 of file BinFinder.ipp

Member Function Documentation

template<typename external_spacepoint_t >
boost::container::small_vector< size_t, 9 > Acts::BinFinder< external_spacepoint_t >::findBins ( size_t  phiBin,
size_t  zBin,
const SpacePointGrid< external_spacepoint_t > *  binnedSP 
) const

Return all bins that could contain space points that can be used with the space points in the bin with the provided indices to create seeds.

Parameters
phiBinphi index of bin with middle space points
zBinz index of bin with middle space points
binnedSPphi-z grid containing all bins

Definition at line 16 of file BinFinder.ipp.

View newest version in sPHENIX GitHub at line 16 of file BinFinder.ipp

References Acts::detail::Grid< T, Axes >::neighborHoodIndices().

+ Here is the call graph for this function:

Member Data Documentation

template<typename external_spacepoint_t >
int Acts::BinFinder< external_spacepoint_t >::m_numPhiNeighbors = 1
private

Definition at line 48 of file BinFinder.hpp.

View newest version in sPHENIX GitHub at line 48 of file BinFinder.hpp

template<typename external_spacepoint_t >
Acts::detail::RefHolder<const std::vector<std::pair<int, int> > > Acts::BinFinder< external_spacepoint_t >::m_zBinNeighbors
private

Definition at line 47 of file BinFinder.hpp.

View newest version in sPHENIX GitHub at line 47 of file BinFinder.hpp


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