File BinFinder.hpp

namespace Acts

Note

This file is foreseen for the Geometry module to replace Extent

template<typename external_spacepoint_t>
class BinFinder
#include <Acts/Seeding/BinFinder.hpp>

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.

Public Functions

BinFinder()

constructor

BinFinder(const std::vector<std::pair<int, int>> &&zBinNeighbors, const int &&numPhiNeighbors)
BinFinder(const std::vector<std::pair<int, int>> &zBinNeighbors, const int &numPhiNeighbors)
~BinFinder() = default

destructor

boost::container::small_vector<size_t, 10> findBins(size_t phiBin, size_t zBin, const SpacePointGrid<external_spacepoint_t> *binnedSP)

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
  • phiBin – phi index of bin with middle space points

  • zBin – z index of bin with middle space points

  • binnedSP – phi-z grid containing all bins

Private Members

const int m_numPhiNeighbors
const std::vector<std::pair<int, int>> m_zBinNeighbors