CMS 3D CMS Logo

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
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 cuy::col, Phase2ITPixelCluster::Shift::dx(), and Phase2ITPixelCluster::Shift::dy().

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.

uint32_t Phase2ITPixelCluster::PixelPos::row_
private

Definition at line 59 of file Phase2ITPixelCluster.h.