22 if (
i1.chamberId() ==
i2.chamberId())
30 if (
i1.endcap() ==
i2.endcap() &&
i1.station() ==
i2.station())
40 int sum =
i1.ring() +
i2.ring();
43 if ((
delta == 0) || (sum == 5))
CSCRangeMapAccessor()
Constructor.
static std::pair< CSCDetId, CSCDetIdSameDetLayerComparator > cscDetLayer(CSCDetId id)
Abs< T >::type abs(const T &t)
bool operator()(CSCDetId i1, CSCDetId i2) const
virtual ~CSCRangeMapAccessor()
Destructor.
static std::pair< CSCDetId, CSCDetIdSameChamberComparator > cscChamber(CSCDetId id)
Returns a valid DetId + a valid comparator for the RangeMap.
bool operator()(CSCDetId i1, CSCDetId i2) const