CMS 3D CMS Logo

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 plotBeamSpotDB::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)