#include <FKDTree.h>
Public Member Functions | |
void | build (std::vector< FKDPoint< TYPE, numberOfDimensions > > &points) |
bool | empty () |
FKDTree () | |
void | search (const FKDPoint< TYPE, numberOfDimensions > &minPoint, const FKDPoint< TYPE, numberOfDimensions > &maxPoint, std::vector< unsigned int > &foundPoints) |
std::size_t | size () const |
Private Member Functions | |
void | add_at_position (const FKDPoint< TYPE, numberOfDimensions > &point, const unsigned int position) |
void | add_at_position (FKDPoint< TYPE, numberOfDimensions > &&point, const unsigned int position) |
bool | intersects (unsigned int index, const FKDPoint< TYPE, numberOfDimensions > &minPoint, const FKDPoint< TYPE, numberOfDimensions > &maxPoint, int dimension) const |
bool | is_in_the_box (unsigned int index, const FKDPoint< TYPE, numberOfDimensions > &minPoint, const FKDPoint< TYPE, numberOfDimensions > &maxPoint) const |
unsigned int | leftSonIndex (unsigned int index) const |
unsigned int | partition_complete_kdtree (unsigned int length) |
unsigned int | rightSonIndex (unsigned int index) const |
Private Attributes | |
unsigned int | theDepth |
std::array< std::vector< TYPE >, numberOfDimensions > | theDimensions |
std::vector< unsigned int > | theIds |
std::vector< unsigned int > | theIntervalLength |
std::vector< unsigned int > | theIntervalMin |
unsigned int | theNumberOfPoints |
|
inline |
Definition at line 37 of file FKDTree.h.
References FKDTree< TYPE, numberOfDimensions >::theDepth, and FKDTree< TYPE, numberOfDimensions >::theNumberOfPoints.
|
inlineprivate |
Definition at line 224 of file FKDTree.h.
References mps_fire::i, point, position, FKDTree< TYPE, numberOfDimensions >::theDimensions, and FKDTree< TYPE, numberOfDimensions >::theIds.
Referenced by FKDTree< TYPE, numberOfDimensions >::build().
|
inlineprivate |
Definition at line 230 of file FKDTree.h.
References mps_fire::i, point, position, FKDTree< TYPE, numberOfDimensions >::theDimensions, and FKDTree< TYPE, numberOfDimensions >::theIds.
|
inline |
Definition at line 109 of file FKDTree.h.
References a, FKDTree< TYPE, numberOfDimensions >::add_at_position(), b, LEDCalibrationChannels::depth, pat::helper::ParametrizationHelper::dimension(), mps_fire::i, trklet::ilog2(), HLT_2023v12_cff::maxDepth, FKDTree< TYPE, numberOfDimensions >::partition_complete_kdtree(), hiPixelPairStep_cff::points, FKDTree< TYPE, numberOfDimensions >::theDepth, FKDTree< TYPE, numberOfDimensions >::theDimensions, FKDTree< TYPE, numberOfDimensions >::theIds, FKDTree< TYPE, numberOfDimensions >::theIntervalLength, FKDTree< TYPE, numberOfDimensions >::theIntervalMin, and FKDTree< TYPE, numberOfDimensions >::theNumberOfPoints.
Referenced by psClasses.BuildThread::run().
|
inline |
Definition at line 42 of file FKDTree.h.
References FKDTree< TYPE, numberOfDimensions >::theNumberOfPoints.
|
inlineprivate |
Definition at line 204 of file FKDTree.h.
References pat::helper::ParametrizationHelper::dimension(), and FKDTree< TYPE, numberOfDimensions >::theDimensions.
Referenced by FKDTree< TYPE, numberOfDimensions >::search().
|
inlineprivate |
Definition at line 213 of file FKDTree.h.
References mps_fire::i, and FKDTree< TYPE, numberOfDimensions >::theDimensions.
Referenced by FKDTree< TYPE, numberOfDimensions >::search().
|
inlineprivate |
Definition at line 199 of file FKDTree.h.
Referenced by FKDTree< TYPE, numberOfDimensions >::search().
|
inlineprivate |
Definition at line 187 of file FKDTree.h.
References trklet::ilog2().
Referenced by FKDTree< TYPE, numberOfDimensions >::build().
|
inlineprivate |
|
inline |
Definition at line 50 of file FKDTree.h.
References LEDCalibrationChannels::depth, pat::helper::ParametrizationHelper::dimension(), reco::helper::VirtualJetProducerHelper::intersection(), FKDTree< TYPE, numberOfDimensions >::intersects(), FKDTree< TYPE, numberOfDimensions >::is_in_the_box(), FKDTree< TYPE, numberOfDimensions >::leftSonIndex(), SiStripPI::min, FQueue< T >::pop_front(), FQueue< T >::push_back(), FQueue< T >::size(), FKDTree< TYPE, numberOfDimensions >::theDepth, FKDTree< TYPE, numberOfDimensions >::theDimensions, FKDTree< TYPE, numberOfDimensions >::theIds, and FKDTree< TYPE, numberOfDimensions >::theNumberOfPoints.
|
inline |
Definition at line 174 of file FKDTree.h.
References FKDTree< TYPE, numberOfDimensions >::theNumberOfPoints.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
private |
Definition at line 237 of file FKDTree.h.
Referenced by FKDTree< TYPE, numberOfDimensions >::build(), FKDTree< TYPE, numberOfDimensions >::FKDTree(), and FKDTree< TYPE, numberOfDimensions >::search().
|
private |
Definition at line 240 of file FKDTree.h.
Referenced by FKDTree< TYPE, numberOfDimensions >::add_at_position(), FKDTree< TYPE, numberOfDimensions >::build(), FKDTree< TYPE, numberOfDimensions >::intersects(), FKDTree< TYPE, numberOfDimensions >::is_in_the_box(), and FKDTree< TYPE, numberOfDimensions >::search().
|
private |
Definition at line 243 of file FKDTree.h.
Referenced by FKDTree< TYPE, numberOfDimensions >::add_at_position(), FKDTree< TYPE, numberOfDimensions >::build(), and FKDTree< TYPE, numberOfDimensions >::search().
|
private |
Definition at line 241 of file FKDTree.h.
Referenced by FKDTree< TYPE, numberOfDimensions >::build().
|
private |
Definition at line 242 of file FKDTree.h.
Referenced by FKDTree< TYPE, numberOfDimensions >::build().
|
private |