CMS 3D CMS Logo

List of all members | Public Member Functions
reco::JetSignalVertexCompatibilityAlgo::RefToBaseLess< T > Struct Template Reference

Public Member Functions

bool operator() (const edm::RefToBase< T > &r1, const edm::RefToBase< T > &r2) const
 

Detailed Description

template<typename T>
struct reco::JetSignalVertexCompatibilityAlgo::RefToBaseLess< T >

Definition at line 28 of file JetSignalVertexCompatibilityAlgo.h.

Member Function Documentation

template<typename T >
bool JetSignalVertexCompatibilityAlgo::RefToBaseLess::operator() ( const edm::RefToBase< T > &  r1,
const edm::RefToBase< T > &  r2 
) const
inline

Definition at line 25 of file JetSignalVertexCompatibilityAlgo.cc.

References edm::RefToBase< T >::id(), and edm::RefToBase< T >::key().

27 { return r1.id() < r2.id() || (r1.id() == r2.id() && r1.key() < r2.key()); }
ProductID id() const
Definition: RefToBase.h:242
size_t key() const
Definition: RefToBase.h:250