CMS 3D CMS Logo

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

#include <TrackerLayerIdAccessor.h>

Inheritance diagram for DetIdComparator:
DetIdPXBSameLayerComparator DetIdPXFSameDiskComparator DetIdTECSameDiskComparator DetIdTIBSameLayerComparator DetIdTIDSameDiskComparator DetIdTOBSameLayerComparator

Public Member Functions

bool operator() (DetId i1, DetId i2) const
 
virtual bool operator() (uint32_t i1, uint32_t i2) const =0
 

Detailed Description

Definition at line 18 of file TrackerLayerIdAccessor.h.

Member Function Documentation

bool DetIdComparator::operator() ( DetId  i1,
DetId  i2 
) const
inline

Definition at line 20 of file TrackerLayerIdAccessor.h.

References DetId::rawId().

20  {
21  return (*this)(i1.rawId(),i2.rawId());
22  };
uint32_t rawId() const
get the raw id
Definition: DetId.h:43
virtual bool DetIdComparator::operator() ( uint32_t  i1,
uint32_t  i2 
) const
pure virtual