Convenience class for the typical usage-case: A box divisioned hough tree with maximum and minimum values in both directions.
More...
|
|
| SimpleBoxDivisionHoughTree (float maximumX, float maximumY, Width< 0 > overlapX=0, Width< 1 > overlapY=0) |
| | Constructor using the given maximal level.
|
| |
|
void | initialize () |
| | Initialize the tree with the given values.
|
| |
|
std::vector< std::pair< HoughBox, std::vector< AHitPtr > > > | findSingleBest (const Weight &minWeight) |
| | Find only the leave with the highest weight = number of items.
|
| |
|
float | getMaximumX () const |
| | Return the maximum value in x direction.
|
| |
|
float | getMaximumY () const |
| | Return the maximum value in y direction.
|
| |
|
Width< 0 > | getOverlapX () const |
| | Return the overlap in x direction.
|
| |
|
Width< 1 > | getOverlapY () const |
| | Return the overlap in y direction.
|
| |
|
size_t | getDivision (size_t i) const |
| | Getter the number of divisions at each level for coordinate index I.
|
| |
| void | constructArray (double lowerBound, double upperBound, Width< I > nBinOverlap=0, Width< I > nBinWidth=0) |
| | Construct the discrete value array at coordinate index I. More...
|
| |
|
void | assignArray (Array< I > array, Width< I > overlap=0) |
| | Provide an externally constructed array by coordinate index.
|
| |
|
std::enable_if_t< HasType< T >::value, void > | assignArray (Array< TypeIndex< T >::value > array, Width< TypeIndex< T >::value > overlap=0) |
| | Provide an externally constructed array by coordinate type.
|
| |
|
void | seed (const AItemPtrs &items) |
| | Prepare the leave finding by filling the top node with given hits.
|
| |
|
void | fell () |
| | Terminates the processing by striping all hit information from the tree.
|
| |
|
void | raze () |
| | Release all memory that the tree aquired during the runs.
|
| |
|
HoughTree * | getTree () const |
| | Getter for the tree used in the search in the hough plane.
|
| |
|
int | getMaxLevel () const |
| | Getter for the currently set maximal level.
|
| |
|
void | setMaxLevel (int maxLevel) |
| | Setter maximal level of the hough tree.
|
| |
|
int | getSectorLevelSkip () const |
| | Getter for number of levels to skip in first level to form a finer sectored hough space.
|
| |
|
void | setSectorLevelSkip (int sectorLevelSkip) |
| | Setter for number of levels to skip in first level to form a finer sectored hough space.
|
| |
|
const Array< I > & | getArray () const |
| | Getter for the array of discrete value for coordinate I.
|
| |
|
|
using | Super = BoxDivisionHoughTree< AHitPtr, typename AInBoxAlgorithm::HoughBox, divisionX, divisionY > |
| | The Super class.
|
| |
|
using | HoughBox = typename AInBoxAlgorithm::HoughBox |
| | The HoughBox we use.
|
| |
|
template<size_t I> |
| using | Width = typename HoughBox::template Width< I > |
| | Type of the width in coordinate I.
|
| |
|
using | Array = typename Type< I >::Array |
| | Type of the discrete value array to coordinate index I.
|
| |
|
using | Arrays = TupleGenerateN< Array, sizeof...(divisions)> |
| | Tuple type of the discrete value arrays.
|
| |
|
|
float | m_maximumX = 0 |
| | The maximum value in X direction.
|
| |
|
float | m_maximumY = 0 |
| | The maximum value in y direction.
|
| |
|
Width< 0 > | m_overlapX = 0 |
| | The overlap in X direction.
|
| |
|
Width< 1 > | m_overlapY = 0 |
| | The overlap in Y direction.
|
| |
|
int | m_maxLevel |
| | Number of the maximum tree level.
|
| |
|
int | m_sectorLevelSkip |
| | Number of levels to skip in first level to form a finer sectored hough space.
|
| |
|
const std::array< size_t, sizeof ...(divisions)> | m_divisions |
| | Array of the number of divisions at each level.
|
| |
|
HoughBox::Delta | m_overlaps |
| | An tuple of division overlaps in each coordinate.
|
| |
|
Arrays | m_arrays |
| | A tuple of value arrays providing the memory for the discrete bin bounds.
|
| |
|
std::unique_ptr< HoughTree > | m_houghTree |
| | Dynamic hough tree structure traversed in the leaf search.
|
| |
template<class AHitPtr, class AInBoxAlgorithm, size_t divisionX, size_t divisionY>
class Belle2::TrackFindingCDC::SimpleBoxDivisionHoughTree< AHitPtr, AInBoxAlgorithm, divisionX, divisionY >
Convenience class for the typical usage-case: A box divisioned hough tree with maximum and minimum values in both directions.
Definition at line 20 of file SimpleBoxDivisionHoughTree.h.