Default class for ranking matches: sorting by smaller distance. More...
#include <PhysObjectMatcher.h>
Public Member Functions | |
LessByMatchDistance (const edm::ParameterSet &cfg, const C1 &c1, const C2 &c2) | |
bool | operator() (const std::pair< size_t, size_t > &p1, const std::pair< size_t, size_t > &p2) const |
Private Attributes | |
const C1 & | c1_ |
const C2 & | c2_ |
D | distance_ |
Default class for ranking matches: sorting by smaller distance.
Definition at line 30 of file PhysObjectMatcher.h.
|
inline |
Definition at line 32 of file PhysObjectMatcher.h.
|
inline |
Definition at line 34 of file PhysObjectMatcher.h.
References reco::helper::LessByMatchDistance< D, C1, C2 >::c1_, reco::helper::LessByMatchDistance< D, C1, C2 >::c2_, and reco::helper::LessByMatchDistance< D, C1, C2 >::distance_.
|
private |
Definition at line 40 of file PhysObjectMatcher.h.
Referenced by reco::helper::LessByMatchDistance< D, C1, C2 >::operator()().
|
private |
Definition at line 41 of file PhysObjectMatcher.h.
Referenced by reco::helper::LessByMatchDistance< D, C1, C2 >::operator()().
|
private |
Definition at line 39 of file PhysObjectMatcher.h.
Referenced by reco::helper::LessByMatchDistance< D, C1, C2 >::operator()().