Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/trackreco/nanoflann.hpp>
Public Member Functions | |
RadiusResultSet (DistanceType radius_, std::vector< std::pair< IndexType, DistanceType > > &indices_dists) | |
~RadiusResultSet () | |
void | init () |
void | clear () |
size_t | size () const |
bool | full () const |
void | addPoint (DistanceType dist, IndexType index) |
DistanceType | worstDist () const |
void | set_radius_and_clear (const DistanceType r) |
std::pair< IndexType, DistanceType > | worst_item () const |
Public Attributes | |
const DistanceType | radius |
std::vector< std::pair < IndexType, DistanceType > > & | m_indices_dists |
A result-set class used when performing a radius based search.
Definition at line 152 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 152 of file nanoflann.hpp
|
inline |
Definition at line 159 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 159 of file nanoflann.hpp
References nanoflann::KNNResultSet< DistanceType, IndexType, CountType >::init().
|
inline |
Definition at line 166 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 166 of file nanoflann.hpp
|
inline |
Definition at line 175 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 175 of file nanoflann.hpp
|
inline |
Definition at line 169 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 169 of file nanoflann.hpp
|
inline |
Definition at line 173 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 173 of file nanoflann.hpp
|
inline |
Definition at line 168 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 168 of file nanoflann.hpp
|
inline |
Clears the result set and adjusts the search radius.
Definition at line 184 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 184 of file nanoflann.hpp
References physmon_track_finding_ttbar::r.
|
inline |
Definition at line 171 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 171 of file nanoflann.hpp
|
inline |
Find the worst result (furtherest neighbor) without copying or sorting Pre-conditions: size() > 0
Definition at line 194 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 194 of file nanoflann.hpp
References it.
|
inline |
Definition at line 181 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 181 of file nanoflann.hpp
std::vector<std::pair<IndexType, DistanceType> >& nanoflann::RadiusResultSet< DistanceType, IndexType >::m_indices_dists |
Definition at line 157 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 157 of file nanoflann.hpp
const DistanceType nanoflann::RadiusResultSet< DistanceType, IndexType >::radius |
Definition at line 155 of file nanoflann.hpp.
View newest version in sPHENIX GitHub at line 155 of file nanoflann.hpp