CMS 3D CMS Logo

Public Member Functions

DetIdComparator Class Reference

#include <TrackerLayerIdAccessor.h>

Inheritance diagram for DetIdComparator:
DetIdPXBSameLayerComparator DetIdPXFSameDiskComparator DetIdTECSameDiskComparator DetIdTIBSameLayerComparator DetIdTIDSameDiskComparator DetIdTOBSameLayerComparator

List of all members.

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().

                                              {
    return (*this)(i1.rawId(),i2.rawId());
  };
virtual bool DetIdComparator::operator() ( uint32_t  i1,
uint32_t  i2 
) const [pure virtual]