CMS 3D CMS Logo

List of all members | Public Member Functions
TopMonitor::JetRefCompare Struct Reference

Public Member Functions

bool operator() (const edm::RefToBase< reco::Jet > &j1, const edm::RefToBase< reco::Jet > &j2) const
 

Detailed Description

Definition at line 50 of file TopMonitor.cc.

Member Function Documentation

◆ operator()()

bool TopMonitor::JetRefCompare::operator() ( const edm::RefToBase< reco::Jet > &  j1,
const edm::RefToBase< reco::Jet > &  j2 
) const
inline

Definition at line 51 of file TopMonitor.cc.

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

51  {
52  return (j1.id() < j2.id()) || ((j1.id() == j2.id()) && (j1.key() < j2.key()));
53  }
ProductID id() const
Definition: RefToBase.h:216
size_t key() const
Definition: RefToBase.h:221