CMS 3D CMS Logo

Public Member Functions

SimpleL1MuGMTCand::Rank Class Reference

define a rank for muon candidates More...

#include <SimpleL1MuGMTCand.h>

Inheritance diagram for SimpleL1MuGMTCand::Rank:
binary_function

List of all members.

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

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