CMS 3D CMS Logo

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

#include <TopMonitor.h>

Inheritance diagram for TopMonitor::JetRefCompare:

Public Member Functions

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

Detailed Description

Definition at line 66 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 68 of file TopMonitor.h.

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

69  {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