#include <GenericOverlapFinder.h>
Public Member Functions | |
template<typename Collection , typename OtherCollection > | |
std::unique_ptr< OverlapList > | find (const Collection &items, const OtherCollection &other) const |
template<typename Collection , typename OtherCollection > | |
std::unique_ptr< pat::OverlapList > | find (const Collection &items, const OtherCollection &other) const |
GenericOverlapFinder () | |
GenericOverlapFinder (const Distance &dist) | |
Private Attributes | |
Distance | distance_ |
Definition at line 52 of file GenericOverlapFinder.h.
|
inline |
Definition at line 54 of file GenericOverlapFinder.h.
|
inline |
Definition at line 55 of file GenericOverlapFinder.h.
References spr::find(), mps_monitormerge::items, and trackingPlots::other.
std::unique_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::unique_ptr<pat::OverlapList> pat::GenericOverlapFinder< Distance >::find | ( | const Collection & | items, |
const OtherCollection & | other | ||
) | const |
Definition at line 71 of file GenericOverlapFinder.h.
References distance_, match(), runTheMatrix::ret, and findQualityFiles::size.
|
private |
Definition at line 64 of file GenericOverlapFinder.h.