CMS 3D CMS Logo

Public Member Functions

L1MuGMTExtendedCand::Rank Class Reference

define a rank for muon candidates More...

#include <L1MuGMTExtendedCand.h>

Inheritance diagram for L1MuGMTExtendedCand::Rank:
binary_function

List of all members.

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().

                                                                                                     {
          unsigned int rank_f = (first) ? first->rank(): 0;
          unsigned int rank_s = (second) ? second->rank() : 0;
          return rank_f > rank_s;
        }