CMS 3D CMS Logo

Public Member Functions

reco::JetSignalVertexCompatibilityAlgo::RefToBaseLess< T > Struct Template Reference

Inheritance diagram for reco::JetSignalVertexCompatibilityAlgo::RefToBaseLess< T >:
binary_function

List of all members.

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().

{ return r1.id() < r2.id() || (r1.id() == r2.id() && r1.key() < r2.key()); }