CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
CSCDetIdSameChamberComparator Class Reference

#include <CSCRangeMapAccessor.h>

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

24  {
25  if (i1.chamberId() == i2.chamberId())
26  return false;
27 
28  return (i1<i2);
29 }
CSCDetId chamberId() const
Definition: CSCDetId.h:55