CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
SiPixelCluster::PixelPos Class Reference

#include <SiPixelCluster.h>

Public Member Functions

constexpr int col () const
 
constexpr PixelPos operator+ (const Shift &shift) const
 
constexpr PixelPos ()
 
constexpr PixelPos (int row, int col)
 
constexpr int row () const
 

Private Attributes

int col_
 
int row_
 

Detailed Description

Definition at line 53 of file SiPixelCluster.h.

Constructor & Destructor Documentation

constexpr SiPixelCluster::PixelPos::PixelPos ( )
inline

Definition at line 55 of file SiPixelCluster.h.

constexpr SiPixelCluster::PixelPos::PixelPos ( int  row,
int  col 
)
inline

Definition at line 56 of file SiPixelCluster.h.

Member Function Documentation

constexpr int SiPixelCluster::PixelPos::col ( ) const
inline
constexpr PixelPos SiPixelCluster::PixelPos::operator+ ( const Shift shift) const
inline

Definition at line 59 of file SiPixelCluster.h.

References cuy::col, SiPixelCluster::Shift::dx(), and SiPixelCluster::Shift::dy().

59  {
60  return PixelPos( row() + shift.dx(), col() + shift.dy());
61  }
constexpr int col() const
static unsigned int const shift
constexpr int row() const
constexpr int SiPixelCluster::PixelPos::row ( ) const
inline

Member Data Documentation

int SiPixelCluster::PixelPos::col_
private

Definition at line 64 of file SiPixelCluster.h.

int SiPixelCluster::PixelPos::row_
private

Definition at line 63 of file SiPixelCluster.h.