CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
SiStripCluster.h File Reference
#include "DataFormats/SiStripDigi/interface/SiStripDigi.h"
#include <vector>
#include "FWCore/MessageLogger/interface/MessageLogger.h"

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 uint32_t &detid)
 
bool operator< (const uint32_t &detid, const SiStripCluster &cluster)
 
bool operator< (const SiStripCluster &cluster, const uint16_t &firstStrip)
 
bool operator< (const uint16_t &firstStrip, const SiStripCluster &cluster)
 

Function Documentation

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

Definition at line 84 of file SiStripCluster.h.

References SiStripCluster::firstStrip(), and SiStripCluster::geographicalId().

84  {
85  if(one.geographicalId() == other.geographicalId()) {
86  return one.firstStrip() < other.firstStrip();
87  }
88  return one.geographicalId() < other.geographicalId();
89 }
uint16_t firstStrip() const
uint32_t geographicalId() const
bool operator< ( const SiStripCluster cluster,
const uint32_t &  detid 
)
inline

Definition at line 91 of file SiStripCluster.h.

References cond::rpcobgas::detid, and SiStripCluster::geographicalId().

91  {
92  return cluster.geographicalId() < detid;
93 }
uint32_t geographicalId() const
bool operator< ( const uint32_t &  detid,
const SiStripCluster cluster 
)
inline

Definition at line 95 of file SiStripCluster.h.

References SiStripCluster::geographicalId().

95  {
96  return detid < cluster.geographicalId();
97 }
uint32_t geographicalId() const
bool operator< ( const SiStripCluster cluster,
const uint16_t &  firstStrip 
)
inline

Definition at line 99 of file SiStripCluster.h.

References SiStripCluster::firstStrip().

99  {
100  return cluster.firstStrip() < firstStrip;
101 }
uint16_t firstStrip() const
bool operator< ( const uint16_t &  firstStrip,
const SiStripCluster cluster 
)
inline

Definition at line 103 of file SiStripCluster.h.

References SiStripCluster::firstStrip().

103  {
104  return firstStrip < cluster.firstStrip();
105 }
uint16_t firstStrip() const