CMS 3D CMS Logo

Public Member Functions

CSCDetIdSameChamberComparator Class Reference

#include <CSCRangeMapAccessor.h>

List of all members.

Public Member Functions

bool operator() (CSCDetId i1, CSCDetId i2) const

Detailed Description

Definition at line 18 of file CSCRangeMapAccessor.h.


Member Function Documentation

bool CSCDetIdSameChamberComparator::operator() ( CSCDetId  i1,
CSCDetId  i2 
) const

Definition at line 24 of file CSCRangeMapAccessor.cc.

References CSCDetId::chamberId().

                                                                             {
  if (i1.chamberId() == i2.chamberId())
    return false;

  return (i1<i2);
}