CMS 3D CMS Logo

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

◆ operator()()

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

Definition at line 21 of file CSCRangeMapAccessor.cc.

References testProducerWithPsetDescEmpty_cfi::i1, and testProducerWithPsetDescEmpty_cfi::i2.

21  {
22  if (i1.chamberId() == i2.chamberId())
23  return false;
24 
25  return (i1 < i2);
26 }