CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
BTagPerformanceAnalyzerMC::JetRefCompare Struct Reference
Inheritance diagram for BTagPerformanceAnalyzerMC::JetRefCompare:

Public Member Functions

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

Detailed Description

Definition at line 57 of file BTagPerformanceAnalyzerMC.h.

Member Function Documentation

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

Definition at line 59 of file BTagPerformanceAnalyzerMC.h.

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

61  { return j1.id() < j2.id() || (j1.id() == j2.id() && j1.key() < j2.key()); }
ProductID id() const
Definition: RefToBase.h:220
size_t key() const
Definition: RefToBase.h:228