CMS 3D CMS Logo

Classes | Functions
SiTrackerMultiRecHit.h File Reference
#include "DataFormats/TrackerRecHit2D/interface/BaseTrackerRecHit.h"
#include "DataFormats/TrackingRecHit/interface/TrackingRecHitFwd.h"
#include <vector>
#include <map>

Go to the source code of this file.

Classes

class  SiTrackerMultiRecHit
 

Functions

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

Function Documentation

◆ operator<()

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

Definition at line 67 of file SiTrackerMultiRecHit.h.

67  {
68  if (one.geographicalId() < other.geographicalId()) {
69  return true;
70  } else {
71  return false;
72  }
73 }

References TrackingRecHit::geographicalId(), and trackingPlots::other.

TrackingRecHit::geographicalId
DetId geographicalId() const
Definition: TrackingRecHit.h:120
trackingPlots.other
other
Definition: trackingPlots.py:1465