CMS 3D CMS Logo

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 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)
bool operator< (const SiStripCluster &one, const SiStripCluster &other)


Function Documentation

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

Definition at line 79 of file SiStripCluster.h.

References SiStripCluster::firstStrip().

00079                                                                                 {
00080   return firstStrip < cluster.firstStrip();
00081 } 

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

Definition at line 75 of file SiStripCluster.h.

References SiStripCluster::firstStrip().

00075                                                                                  {
00076   return cluster.firstStrip() < firstStrip;
00077 } 

bool operator< ( const uint32_t &  detid,
const SiStripCluster cluster 
) [inline]

Definition at line 71 of file SiStripCluster.h.

References SiStripCluster::geographicalId().

00071                                                                            {
00072   return detid < cluster.geographicalId();
00073 } 

bool operator< ( const SiStripCluster cluster,
const uint32_t &  detid 
) [inline]

Definition at line 67 of file SiStripCluster.h.

References SiStripCluster::geographicalId().

00067                                                                             {
00068   return cluster.geographicalId() < detid;
00069 } 

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

Definition at line 60 of file SiStripCluster.h.

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

00060                                                                                {
00061   if(one.geographicalId() == other.geographicalId()) {
00062     return one.firstStrip() < other.firstStrip();
00063   }
00064   return one.geographicalId() < other.geographicalId();
00065 } 


Generated on Tue Jun 9 17:52:16 2009 for CMSSW by  doxygen 1.5.4