CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
SiPixelCluster::PixelPos Class Reference

#include <SiPixelCluster.h>

Public Member Functions

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

Private Attributes

int col_
 
int row_
 

Detailed Description

Definition at line 59 of file SiPixelCluster.h.

Constructor & Destructor Documentation

SiPixelCluster::PixelPos::PixelPos ( )
inline

Definition at line 61 of file SiPixelCluster.h.

Referenced by operator+().

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

Member Function Documentation

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

Definition at line 65 of file SiPixelCluster.h.

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

65  {
66  return PixelPos( row() + shift.dx(), col() + shift.dy());
67  }
static unsigned int const shift
int SiPixelCluster::PixelPos::row ( ) const
inline

Member Data Documentation

int SiPixelCluster::PixelPos::col_
private

Definition at line 70 of file SiPixelCluster.h.

Referenced by col().

int SiPixelCluster::PixelPos::row_
private

Definition at line 69 of file SiPixelCluster.h.

Referenced by row().