CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
reco::JetSignalVertexCompatibilityAlgo::RefToBaseLess< T > Struct Template Reference
Inheritance diagram for reco::JetSignalVertexCompatibilityAlgo::RefToBaseLess< T >:

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 29 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:215
size_t key() const
Definition: RefToBase.h:223