test
CMS 3D CMS Logo

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

#include <CSCRangeMapForRecHit.h>

Public Member Functions

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

Detailed Description

Definition at line 12 of file CSCRangeMapForRecHit.h.

Member Function Documentation

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

Definition at line 27 of file CSCRangeMapForRecHit.cc.

27  {
28  if (i1 == i2 ) return false; // use DetId::op==
29  return (i1<i2);
30 }