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 112 of file CTPPSPixelCluster.h.

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

112  {
113  if (one.minPixelRow() < two.minPixelRow()) {
114  return true;
115  } else if (one.minPixelRow() > two.minPixelRow()) {
116  return false;
117  } else if (one.minPixelCol() < two.minPixelCol()) {
118  return true;
119  } else {
120  return false;
121  }
122 }
unsigned int minPixelCol() const
unsigned int minPixelRow() const