CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
L1MuGMTExtendedCand::Rank Class Reference

define a rank for muon candidates More...

#include <L1MuGMTExtendedCand.h>

Inheritance diagram for L1MuGMTExtendedCand::Rank:

Public Member Functions

bool operator() (const L1MuGMTExtendedCand *first, const L1MuGMTExtendedCand *second) const
 

Detailed Description

define a rank for muon candidates

Definition at line 129 of file L1MuGMTExtendedCand.h.

Member Function Documentation

bool L1MuGMTExtendedCand::Rank::operator() ( const L1MuGMTExtendedCand first,
const L1MuGMTExtendedCand second 
) const
inline

Definition at line 131 of file L1MuGMTExtendedCand.h.

References first, L1MuGMTExtendedCand::rank(), and edm::second().

131  {
132  unsigned int rank_f = (first) ? first->rank(): 0;
133  unsigned int rank_s = (second) ? second->rank() : 0;
134  return rank_f > rank_s;
135  }
unsigned int rank() const
get rank
U second(std::pair< T, U > const &p)
bool first
Definition: L1TdeRCT.cc:94