CMS 3D CMS Logo

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

#include <TopMonitor.h>

Public Member Functions

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

Detailed Description

Definition at line 69 of file TopMonitor.h.

Member Function Documentation

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

Definition at line 70 of file TopMonitor.h.

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

71  {return j1.id() < j2.id() || (j1.id() == j2.id() && j1.key() < j2.key());}
ProductID id() const
Definition: RefToBase.h:242
size_t key() const
Definition: RefToBase.h:250