test
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
Phase2ITPixelCluster::PixelPos Class Reference

#include <Phase2ITPixelCluster.h>

Public Member Functions

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

Private Attributes

uint32_t col_
 
uint32_t row_
 

Detailed Description

Definition at line 49 of file Phase2ITPixelCluster.h.

Constructor & Destructor Documentation

Phase2ITPixelCluster::PixelPos::PixelPos ( )
inline

Definition at line 51 of file Phase2ITPixelCluster.h.

Referenced by operator+().

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

Member Function Documentation

uint32_t Phase2ITPixelCluster::PixelPos::col ( ) const
inline
PixelPos Phase2ITPixelCluster::PixelPos::operator+ ( const Shift shift) const
inline

Definition at line 55 of file Phase2ITPixelCluster.h.

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

55  {
56  return PixelPos( row() + shift.dx(), col() + shift.dy());
57  }
static unsigned int const shift
uint32_t Phase2ITPixelCluster::PixelPos::row ( ) const
inline

Member Data Documentation

uint32_t Phase2ITPixelCluster::PixelPos::col_
private

Definition at line 60 of file Phase2ITPixelCluster.h.

Referenced by col().

uint32_t Phase2ITPixelCluster::PixelPos::row_
private

Definition at line 59 of file Phase2ITPixelCluster.h.

Referenced by row().