CMS 3D CMS Logo

Public Member Functions

TIDringLess Class Reference

Inheritance diagram for TIDringLess:
binary_function

List of all members.

Public Member Functions

bool operator() (const pair< vector< DetGroup > const *, int > &a, const pair< vector< DetGroup >const *, int > &b) const

Detailed Description

Definition at line 20 of file TIDLayer.cc.


Member Function Documentation

bool TIDringLess::operator() ( const pair< vector< DetGroup > const *, int > &  a,
const pair< vector< DetGroup >const *, int > &  b 
) const [inline]

Definition at line 23 of file TIDLayer.cc.

References a, and b.

                                                                                                                   {
    if(a.second==2) {return true;}
    else if(a.second==0) {
      if(b.second==2) return false;
      if(b.second==1) return true;
    }
    return false;    
  };