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 17 of file CSCRangeMapAccessor.h.

Member Function Documentation

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

Definition at line 23 of file CSCRangeMapAccessor.cc.

References CSCDetId::chamberId().

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