CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/DataFormats/SiStripCluster/interface/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 uint16_t &firstStrip, const SiStripCluster &cluster)
bool operator< (const SiStripCluster &cluster, const uint16_t &firstStrip)
bool operator< (const uint32_t &detid, const SiStripCluster &cluster)
bool operator< (const SiStripCluster &cluster, const uint32_t &detid)

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().

                                                                               {
  if(one.geographicalId() == other.geographicalId()) {
    return one.firstStrip() < other.firstStrip();
  }
  return one.geographicalId() < other.geographicalId();
} 
bool operator< ( const uint16_t &  firstStrip,
const SiStripCluster cluster 
) [inline]

Definition at line 103 of file SiStripCluster.h.

References SiStripCluster::firstStrip().

                                                                                {
  return firstStrip < cluster.firstStrip();
} 
bool operator< ( const SiStripCluster cluster,
const uint16_t &  firstStrip 
) [inline]

Definition at line 99 of file SiStripCluster.h.

References SiStripCluster::firstStrip().

                                                                                 {
  return cluster.firstStrip() < firstStrip;
} 
bool operator< ( const uint32_t &  detid,
const SiStripCluster cluster 
) [inline]

Definition at line 95 of file SiStripCluster.h.

References SiStripCluster::geographicalId().

                                                                           {
  return detid < cluster.geographicalId();
} 
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().

                                                                            {
  return cluster.geographicalId() < detid;
}