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 29 of file PhysObjectMatcher.h.
reco::helper::LessByMatchDistance< D, C1, C2 >::LessByMatchDistance | ( | const edm::ParameterSet & | cfg, |
const C1 & | c1, | ||
const C2 & | c2 | ||
) | [inline] |
bool reco::helper::LessByMatchDistance< D, C1, C2 >::operator() | ( | const std::pair< size_t, size_t > & | p1, |
const std::pair< size_t, size_t > & | p2 | ||
) | const [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_.
const C1& reco::helper::LessByMatchDistance< D, C1, C2 >::c1_ [private] |
Definition at line 42 of file PhysObjectMatcher.h.
Referenced by reco::helper::LessByMatchDistance< D, C1, C2 >::operator()().
const C2& reco::helper::LessByMatchDistance< D, C1, C2 >::c2_ [private] |
Definition at line 43 of file PhysObjectMatcher.h.
Referenced by reco::helper::LessByMatchDistance< D, C1, C2 >::operator()().
D reco::helper::LessByMatchDistance< D, C1, C2 >::distance_ [private] |
Definition at line 41 of file PhysObjectMatcher.h.
Referenced by reco::helper::LessByMatchDistance< D, C1, C2 >::operator()().