#include <KDTreeLinkerAlgo.h>
Public Member Functions | |
void | build (std::vector< KDTreeNodeInfo< DATA, DIM > > &eltList, const KDTreeBox< DIM > ®ion) |
void | clear () |
bool | empty () |
void | search (const KDTreeBox< DIM > &searchBox, std::vector< DATA > &resRecHitList) |
int | size () |
~KDTreeLinkerAlgo () | |
Private Member Functions | |
void | clearTree () |
int | medianSearch (int low, int high, int treeDepth) const |
int | recBuild (int low, int hight, int depth) |
void | recSearch (int current, const KDTreeBox< DIM > &trackBox, int depth=0) const |
Private Attributes | |
std::vector< DATA > * | closestNeighbour |
std::vector< KDTreeNodeInfo< DATA, DIM > > * | initialEltList |
KDTreeNodes< DATA, DIM > | nodePool_ |
Definition at line 102 of file KDTreeLinkerAlgo.h.
|
inline |
Definition at line 105 of file KDTreeLinkerAlgo.h.
void KDTreeLinkerAlgo< DATA, DIM >::build | ( | std::vector< KDTreeNodeInfo< DATA, DIM > > & | eltList, |
const KDTreeBox< DIM > & | region | ||
) |
Definition at line 147 of file KDTreeLinkerAlgo.h.
Referenced by KDTreeLinkerTrackEcal::buildTree(), KDTreeLinkerTrackHcal::buildTree(), HGCalImagingAlgo::findAndAssignClusters(), HGCalImagingAlgo::makeClusters(), and psClasses.BuildThread::run().
|
inline |
Definition at line 122 of file KDTreeLinkerAlgo.h.
Referenced by KDTreeLinkerPSEcal::clear(), KDTreeLinkerTrackEcal::clear(), KDTreeLinkerTrackHcal::clear(), HGCalImagingAlgo::findAndAssignClusters(), BeautifulSoup.Tag::setString(), and KDTreeLinkerAlgo< reco::PFRecHit const *>::~KDTreeLinkerAlgo().
|
inlineprivate |
Definition at line 141 of file KDTreeLinkerAlgo.h.
Referenced by KDTreeLinkerAlgo< reco::PFRecHit const *>::clear().
|
inline |
Definition at line 115 of file KDTreeLinkerAlgo.h.
|
private |
Definition at line 165 of file KDTreeLinkerAlgo.h.
|
private |
Definition at line 259 of file KDTreeLinkerAlgo.h.
|
private |
Definition at line 212 of file KDTreeLinkerAlgo.h.
void KDTreeLinkerAlgo< DATA, DIM >::search | ( | const KDTreeBox< DIM > & | searchBox, |
std::vector< DATA > & | resRecHitList | ||
) |
Definition at line 203 of file KDTreeLinkerAlgo.h.
Referenced by HGCalImagingAlgo::calculateLocalDensity(), HGCalImagingAlgo::findAndAssignClusters(), BeautifulSoup.SoupStrainer::search(), KDTreeLinkerPSEcal::searchLinks(), KDTreeLinkerTrackHcal::searchLinks(), and KDTreeLinkerTrackEcal::searchLinks().
|
inline |
Definition at line 119 of file KDTreeLinkerAlgo.h.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
private |
Definition at line 128 of file KDTreeLinkerAlgo.h.
|
private |
Definition at line 129 of file KDTreeLinkerAlgo.h.
|
private |
Definition at line 126 of file KDTreeLinkerAlgo.h.
Referenced by KDTreeLinkerAlgo< reco::PFRecHit const *>::clearTree(), KDTreeLinkerAlgo< reco::PFRecHit const *>::empty(), and KDTreeLinkerAlgo< reco::PFRecHit const *>::size().