#include <GenericOverlapFinder.h>
Public Member Functions | |
template<typename Collection , typename OtherCollection > | |
std::auto_ptr< OverlapList > | find (const Collection &items, const OtherCollection &other) const |
template<typename Collection , typename OtherCollection > | |
std::auto_ptr< pat::OverlapList > | find (const Collection &items, const OtherCollection &other) const |
GenericOverlapFinder () | |
GenericOverlapFinder (const Distance &dist) | |
Private Attributes | |
Distance | distance_ |
Definition at line 51 of file GenericOverlapFinder.h.
|
inline |
Definition at line 55 of file GenericOverlapFinder.h.
|
inline |
Definition at line 56 of file GenericOverlapFinder.h.
std::auto_ptr< OverlapList > pat::GenericOverlapFinder< Distance >::find | ( | const Collection & | items, |
const OtherCollection & | other | ||
) | const |
Indices of overlapped items, and of the nearest item on they overlap with Items are considered to overlap if distance(x1,x2) < 1 both Collections can be vectors, Views, or anything with the same interface
Referenced by pat::DuplicatedPhotonRemover::electronsBySeed(), and pat::DuplicatedPhotonRemover::electronsBySuperCluster().
std::auto_ptr< pat::OverlapList > pat::GenericOverlapFinder< Distance >::find | ( | const Collection & | items, |
const OtherCollection & | other | ||
) | const |
Definition at line 74 of file GenericOverlapFinder.h.
References distance_, match(), run_regression::ret, and findQualityFiles::size.
|
private |
Definition at line 66 of file GenericOverlapFinder.h.