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 26 of file JetSignalVertexCompatibilityAlgo.h.

Member Function Documentation

◆ operator()()

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

Definition at line 24 of file JetSignalVertexCompatibilityAlgo.cc.

References diffTwoXMLs::r2.

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