CMS 3D CMS Logo

Classes | Typedefs | Functions

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/DataFormats/SiPixelCluster/interface/SiPixelCluster.h File Reference

#include <vector>
#include "boost/cstdint.hpp"
#include "DataFormats/Common/interface/DetSetVector.h"
#include "DataFormats/Common/interface/DetSetVectorNew.h"
#include "DataFormats/Common/interface/Ref.h"
#include "DataFormats/Common/interface/DetSetRefVector.h"

Go to the source code of this file.

Classes

class  SiPixelCluster::Pixel
class  SiPixelCluster::PixelPos
class  SiPixelCluster::Shift
class  SiPixelCluster
 Pixel cluster -- collection of neighboring pixels above threshold. More...

Typedefs

typedef edm::DetSetVector
< SiPixelCluster
SiPixelClusterCollection
typedef edmNew::DetSetVector
< SiPixelCluster
SiPixelClusterCollectionNew
typedef edm::Ref
< SiPixelClusterCollection,
SiPixelCluster
SiPixelClusterRef
typedef edm::Ref
< SiPixelClusterCollectionNew,
SiPixelCluster
SiPixelClusterRefNew
typedef edm::RefProd
< SiPixelClusterCollection
SiPixelClusterRefProd
typedef edm::DetSetRefVector
< SiPixelCluster
SiPixelClusterRefVector

Functions

bool operator< (const SiPixelCluster &one, const SiPixelCluster &other)

Typedef Documentation

Definition at line 205 of file SiPixelCluster.h.

Definition at line 210 of file SiPixelCluster.h.

Definition at line 206 of file SiPixelCluster.h.

Definition at line 211 of file SiPixelCluster.h.

Definition at line 208 of file SiPixelCluster.h.

Definition at line 207 of file SiPixelCluster.h.


Function Documentation

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

Definition at line 184 of file SiPixelCluster.h.

References SiPixelCluster::geographicalId(), SiPixelCluster::minPixelCol(), and SiPixelCluster::minPixelRow().

                                                                               {
  if ( one.geographicalId() < other.geographicalId() ) {
    return true;
  } else if ( one.geographicalId() > other.geographicalId() ) {
    return false;
  } else if ( one.minPixelRow() < other.minPixelRow() ) {
    return true;
  } else if ( one.minPixelRow() > other.minPixelRow() ) {
    return false;
  } else if ( one.minPixelCol() < other.minPixelCol() ) {
    return true;
  } else {
    return false;
  }
}