CMS 3D CMS Logo

lessPixel Struct Reference

List of all members.

Public Member Functions

bool operator() (SiPixelCluster::Pixel a, SiPixelCluster::Pixel b)


Detailed Description

Definition at line 76 of file ClusterShape.cc.


Member Function Documentation

bool lessPixel::operator() ( SiPixelCluster::Pixel  a,
SiPixelCluster::Pixel  b 
) [inline]

Definition at line 79 of file ClusterShape.cc.

References SiPixelCluster::Pixel::x, and SiPixelCluster::Pixel::y.

00081   {
00082     if(a.x < b.x) return true;
00083     if(a.x > b.x) return false;
00084 
00085     if(a.y < b.y) return true;
00086     if(a.y > b.y) return false;
00087 
00088     return false;
00089   }


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