CMS 3D CMS Logo

Classes | Public Member Functions | Static Public Attributes | Private Attributes

sipixelobjects::LocalPixel Class Reference

identify pixel inside single ROC More...

#include <LocalPixel.h>

List of all members.

Classes

struct  DcolPxid
 double collumn and pixel ID in double collumn representation More...
struct  RocRowCol
 row and collumn in ROC representation More...

Public Member Functions

int dcol () const
 LocalPixel (const RocRowCol &pixel)
 LocalPixel (const DcolPxid &pixel)
int pxid () const
int rocCol () const
int rocRow () const
bool valid () const

Static Public Attributes

static const int numColsInRoc = 52
static const int numRowsInRoc = 80

Private Attributes

RocRowCol thePixel

Detailed Description

identify pixel inside single ROC

Definition at line 7 of file LocalPixel.h.


Constructor & Destructor Documentation

sipixelobjects::LocalPixel::LocalPixel ( const DcolPxid pixel) [inline]
sipixelobjects::LocalPixel::LocalPixel ( const RocRowCol pixel) [inline]

Definition at line 32 of file LocalPixel.h.

: thePixel(pixel) {} 

Member Function Documentation

int sipixelobjects::LocalPixel::dcol ( ) const [inline]

Definition at line 34 of file LocalPixel.h.

References sipixelobjects::LocalPixel::RocRowCol::rocCol, and thePixel.

Referenced by SiPixelFrameConverter::toCabling().

{ return thePixel.rocCol/2; }
int sipixelobjects::LocalPixel::pxid ( ) const [inline]
int sipixelobjects::LocalPixel::rocCol ( ) const [inline]
int sipixelobjects::LocalPixel::rocRow ( ) const [inline]
bool sipixelobjects::LocalPixel::valid ( ) const [inline]

Member Data Documentation

Definition at line 12 of file LocalPixel.h.

Referenced by sipixelobjects::LocalPixel::RocRowCol::valid().

Definition at line 11 of file LocalPixel.h.

Referenced by LocalPixel(), pxid(), and sipixelobjects::LocalPixel::RocRowCol::valid().

Definition at line 42 of file LocalPixel.h.

Referenced by dcol(), LocalPixel(), pxid(), rocCol(), rocRow(), and valid().