CMS 3D CMS Logo

Classes | Functions

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DataFormats/SiStripCluster/interface/SiStripCluster.h File Reference

#include "DataFormats/SiStripDigi/interface/SiStripDigi.h"
#include <vector>

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 63 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 82 of file SiStripCluster.h.

References SiStripCluster::firstStrip().

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

Definition at line 78 of file SiStripCluster.h.

References SiStripCluster::firstStrip().

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

Definition at line 74 of file SiStripCluster.h.

References SiStripCluster::geographicalId().

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

Definition at line 70 of file SiStripCluster.h.

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

                                                                            {
  return cluster.geographicalId() < detid;
}