CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Static Public Attributes | Private Attributes
sipixelobjects::LocalPixel Class Reference

identify pixel inside single ROC More...

#include <LocalPixel.h>

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 DcolPxid &pixel)
 
 LocalPixel (const RocRowCol &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.

Member Function Documentation

int sipixelobjects::LocalPixel::dcol ( ) const
inline
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

const int sipixelobjects::LocalPixel::numColsInRoc = 52
static

Definition at line 12 of file LocalPixel.h.

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

const int sipixelobjects::LocalPixel::numRowsInRoc = 80
static

Definition at line 11 of file LocalPixel.h.

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

RocRowCol sipixelobjects::LocalPixel::thePixel
private

Definition at line 42 of file LocalPixel.h.

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