LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lar_cluster3d::HoughSeedFinderAlg::SortBinIndexList Struct Reference

Public Member Functions

bool operator() (const HoughSeedFinderAlg::RhoThetaAccumulatorBinMap::iterator &left, const HoughSeedFinderAlg::RhoThetaAccumulatorBinMap::iterator &right)
 This is used to sort bins in Hough Space. More...
 

Detailed Description

Definition at line 159 of file HoughSeedFinderAlg.cxx.

Member Function Documentation

bool lar_cluster3d::HoughSeedFinderAlg::SortBinIndexList::operator() ( const HoughSeedFinderAlg::RhoThetaAccumulatorBinMap::iterator left,
const HoughSeedFinderAlg::RhoThetaAccumulatorBinMap::iterator right 
)
inline

This is used to sort bins in Hough Space.

Definition at line 163 of file HoughSeedFinderAlg.cxx.

165  {
166  size_t leftSize = left->second.getAccumulatorValues().size();
167  size_t rightSize = right->second.getAccumulatorValues().size();
168 
169  return leftSize > rightSize;
170  }
constexpr auto const & right(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
Definition: AssnsIter.h:102
constexpr auto const & left(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
Definition: AssnsIter.h:94

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