CMS 3D CMS Logo

Classes | Functions
CTPPSPixelCluster.h File Reference
#include <vector>
#include <cstdint>
#include <cassert>

Go to the source code of this file.

Classes

class  CTPPSPixelCluster
 

Functions

bool operator< (const CTPPSPixelCluster &one, const CTPPSPixelCluster &two)
 

Function Documentation

bool operator< ( const CTPPSPixelCluster one,
const CTPPSPixelCluster two 
)
inline

Definition at line 127 of file CTPPSPixelCluster.h.

References CTPPSPixelCluster::minPixelCol(), and CTPPSPixelCluster::minPixelRow().

127  {
128  if ( one.minPixelRow() < two.minPixelRow() ) {
129  return true;
130  } else if ( one.minPixelRow() > two.minPixelRow() ) {
131  return false;
132  } else if ( one.minPixelCol() < two.minPixelCol() ) {
133  return true;
134  } else {
135  return false;
136  }
137 }
unsigned int minPixelCol() const
unsigned int minPixelRow() const