CMS 3D CMS Logo

Classes | Typedefs | Functions
SiPixelCluster.h File Reference
#include <vector>
#include <cstdint>
#include <cassert>
#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< SiPixelClusterSiPixelClusterCollection
 
typedef edmNew::DetSetVector< SiPixelClusterSiPixelClusterCollectionNew
 
typedef edm::Ref< SiPixelClusterCollection, SiPixelClusterSiPixelClusterRef
 
typedef edm::Ref< SiPixelClusterCollectionNew, SiPixelClusterSiPixelClusterRefNew
 
typedef edm::RefProd< SiPixelClusterCollectionSiPixelClusterRefProd
 
typedef edm::DetSetRefVector< SiPixelClusterSiPixelClusterRefVector
 

Functions

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

Typedef Documentation

Definition at line 236 of file SiPixelCluster.h.

Definition at line 241 of file SiPixelCluster.h.

Definition at line 237 of file SiPixelCluster.h.

Definition at line 242 of file SiPixelCluster.h.

Definition at line 239 of file SiPixelCluster.h.

Definition at line 238 of file SiPixelCluster.h.

Function Documentation

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

Definition at line 218 of file SiPixelCluster.h.

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

218  {
219  if ( one.minPixelRow() < other.minPixelRow() ) {
220  return true;
221  } else if ( one.minPixelRow() > other.minPixelRow() ) {
222  return false;
223  } else if ( one.minPixelCol() < other.minPixelCol() ) {
224  return true;
225  } else {
226  return false;
227  }
228 }
int minPixelCol() const
int minPixelRow() const