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

◆ operator<()

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

Definition at line 112 of file CTPPSPixelCluster.h.

References SiPixelPI::two.

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 }