CMS 3D CMS Logo

Classes | Functions
SiStripCluster.h File Reference
#include "DataFormats/SiStripDigi/interface/SiStripDigi.h"
#include <vector>
#include <numeric>

Go to the source code of this file.

Classes

class  SiStripCluster
 

Functions

bool operator< (const SiStripCluster &one, const SiStripCluster &other)
 
bool operator< (const SiStripCluster &cluster, const uint16_t &firstStrip)
 
bool operator< (const uint16_t &firstStrip, const SiStripCluster &cluster)
 

Function Documentation

◆ operator<() [1/3]

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

Definition at line 111 of file SiStripCluster.h.

References trackingPlots::other.

111  {
112  return one.firstStrip() < other.firstStrip();
113 }

◆ operator<() [2/3]

bool operator< ( const SiStripCluster cluster,
const uint16_t &  firstStrip 
)
inline

Definition at line 115 of file SiStripCluster.h.

References SiStripCluster::firstStrip().

115  {
116  return cluster.firstStrip() < firstStrip;
117 }
uint16_t firstStrip() const

◆ operator<() [3/3]

bool operator< ( const uint16_t &  firstStrip,
const SiStripCluster cluster 
)
inline

Definition at line 119 of file SiStripCluster.h.

References SiStripCluster::firstStrip().

119  {
120  return firstStrip < cluster.firstStrip();
121 }
uint16_t firstStrip() const