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

◆ LocalPixel() [1/2]

sipixelobjects::LocalPixel::LocalPixel ( const DcolPxid pixel)
inline

◆ LocalPixel() [2/2]

sipixelobjects::LocalPixel::LocalPixel ( const RocRowCol pixel)
inline

Member Function Documentation

◆ dcol()

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

◆ pxid()

int sipixelobjects::LocalPixel::pxid ( ) const
inline

◆ rocCol()

int sipixelobjects::LocalPixel::rocCol ( ) const
inline

◆ rocRow()

int sipixelobjects::LocalPixel::rocRow ( ) const
inline

◆ valid()

bool sipixelobjects::LocalPixel::valid ( ) const
inline

Definition at line 37 of file LocalPixel.h.

References thePixel, and sipixelobjects::LocalPixel::RocRowCol::valid().

37 { return thePixel.valid(); }

Member Data Documentation

◆ numColsInRoc

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

Definition at line 10 of file LocalPixel.h.

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

◆ numRowsInRoc

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

Definition at line 9 of file LocalPixel.h.

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

◆ thePixel

RocRowCol sipixelobjects::LocalPixel::thePixel
private

Definition at line 40 of file LocalPixel.h.

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