CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
SiPixelRecHit.h File Reference
#include "DataFormats/TrackerRecHit2D/interface/BaseSiTrackerRecHit2DLocalPos.h"
#include "DataFormats/TrackerRecHit2D/interface/SiPixelRecHitQuality.h"
#include "DataFormats/SiPixelCluster/interface/SiPixelCluster.h"
#include "DataFormats/Common/interface/DetSetVector.h"
#include "DataFormats/Common/interface/Ref.h"

Go to the source code of this file.

Classes

class  SiPixelRecHit
 Our base class. More...
 

Functions

bool operator< (const SiPixelRecHit &one, const SiPixelRecHit &other)
 

Function Documentation

bool operator< ( const SiPixelRecHit one,
const SiPixelRecHit other 
)
inline

Definition at line 151 of file SiPixelRecHit.h.

References TrackingRecHit::geographicalId().

151  {
152  if ( one.geographicalId() < other.geographicalId() ) {
153  return true;
154  } else {
155  return false;
156  }
157 }
DetId geographicalId() const