CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 21 of file CSCRangeMapAccessor.cc.

References CSCDetId::chamberId().

21  {
22  if (i1.chamberId() == i2.chamberId())
23  return false;
24 
25  return (i1 < i2);
26 }
CSCDetId chamberId() const
Definition: CSCDetId.h:47