CMS 3D CMS Logo

DetIdPXBSameLayerComparator Class Reference

#include <Geometry/TrackerGeometryBuilder/interface/TrackerLayerIdAccessor.h>

Inheritance diagram for DetIdPXBSameLayerComparator:

DetIdComparator

List of all members.

Public Member Functions

virtual bool operator() (uint32_t i1, uint32_t i2) const


Detailed Description

Definition at line 48 of file TrackerLayerIdAccessor.h.


Member Function Documentation

virtual bool DetIdPXBSameLayerComparator::operator() ( uint32_t  i1,
uint32_t  i2 
) const [inline, virtual]

Implements DetIdComparator.

Definition at line 50 of file TrackerLayerIdAccessor.h.

References DetId::det(), PXBDetId::layer(), and DetId::subdetId().

00050                                                           {
00051     PXBDetId id1(i1);
00052     PXBDetId id2(i2);
00053     if ((id1.det() == id2.det()) &&
00054         (id1.subdetId() == id2.subdetId()) &&
00055         (id1.layer() == id2.layer())) return false;
00056     return (id1<id2);
00057   }


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:18:24 2009 for CMSSW by  doxygen 1.5.4