CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
reco::helper::LessByMatchDistance< D, C1, C2 > Class Template Reference

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_
 
distance_
 

Detailed Description

template<typename D, typename C1, typename C2>
class reco::helper::LessByMatchDistance< D, C1, C2 >

Default class for ranking matches: sorting by smaller distance.

Definition at line 30 of file PhysObjectMatcher.h.

Constructor & Destructor Documentation

template<typename D, typename C1, typename C2>
reco::helper::LessByMatchDistance< D, C1, C2 >::LessByMatchDistance ( const edm::ParameterSet cfg,
const C1 &  c1,
const C2 &  c2 
)
inline

Definition at line 32 of file PhysObjectMatcher.h.

Member Function Documentation

template<typename D, typename C1, typename C2>
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

Member Data Documentation

template<typename D, typename C1, typename C2>
const C1& reco::helper::LessByMatchDistance< D, C1, C2 >::c1_
private
template<typename D, typename C1, typename C2>
const C2& reco::helper::LessByMatchDistance< D, C1, C2 >::c2_
private
template<typename D, typename C1, typename C2>
D reco::helper::LessByMatchDistance< D, C1, C2 >::distance_
private