CMS 3D CMS Logo

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

define a rank for muon candidates More...

#include <SimpleL1MuGMTCand.h>

Inheritance diagram for SimpleL1MuGMTCand::Rank:

Public Member Functions

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

Detailed Description

define a rank for muon candidates

Definition at line 135 of file SimpleL1MuGMTCand.h.

Member Function Documentation

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

Definition at line 137 of file SimpleL1MuGMTCand.h.

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

137  {
138  unsigned int rank_f = (first) ? first->rank(): 0;
139  unsigned int rank_s = (second) ? second->rank() : 0;
140  return rank_f > rank_s;
141  }
unsigned int rank() const
get rank
U second(std::pair< T, U > const &p)
bool first
Definition: L1TdeRCT.cc:94