CMS 3D CMS Logo

Classes | Typedefs | Functions

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch1/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 224 of file SiPixelCluster.h.

Definition at line 229 of file SiPixelCluster.h.

Definition at line 225 of file SiPixelCluster.h.

Definition at line 230 of file SiPixelCluster.h.

Definition at line 227 of file SiPixelCluster.h.

Definition at line 226 of file SiPixelCluster.h.


Function Documentation

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

Definition at line 203 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;
  }
}