#include <CondFormats/SiPixelObjects/interface/LocalPixel.h>
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 |
Classes | |
struct | DcolPxid |
double collumn and pixel ID in double collumn representation More... | |
struct | RocRowCol |
row and collumn in ROC representation More... |
Definition at line 7 of file LocalPixel.h.
sipixelobjects::LocalPixel::LocalPixel | ( | const DcolPxid & | pixel | ) | [inline] |
Definition at line 27 of file LocalPixel.h.
References sipixelobjects::LocalPixel::DcolPxid::dcol, numRowsInRoc, sipixelobjects::LocalPixel::DcolPxid::pxid, sipixelobjects::LocalPixel::RocRowCol::rocCol, sipixelobjects::LocalPixel::RocRowCol::rocRow, and thePixel.
00027 { 00028 thePixel.rocCol = pixel.dcol*2 + pixel.pxid%2; 00029 thePixel.rocRow = numRowsInRoc - pixel.pxid/2; 00030 }
sipixelobjects::LocalPixel::LocalPixel | ( | const RocRowCol & | pixel | ) | [inline] |
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().
int sipixelobjects::LocalPixel::pxid | ( | ) | const [inline] |
Definition at line 35 of file LocalPixel.h.
References numRowsInRoc, sipixelobjects::LocalPixel::RocRowCol::rocCol, sipixelobjects::LocalPixel::RocRowCol::rocRow, and thePixel.
Referenced by SiPixelFrameConverter::toCabling().
00035 { return 2*(numRowsInRoc-thePixel.rocRow)+ (thePixel.rocCol%2); }
int sipixelobjects::LocalPixel::rocCol | ( | ) | const [inline] |
Definition at line 38 of file LocalPixel.h.
References sipixelobjects::LocalPixel::RocRowCol::rocCol, and thePixel.
Referenced by SiPixelOfflineCalibAnalysisBase::checkPixel(), SiPixelCalibDigiProducer::checkPixel(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelSCurveCalibrationAnalysis::makeThresholdSummary(), sipixelobjects::PixelROC::toGlobal(), and PixelDataFormatter::word2digi().
int sipixelobjects::LocalPixel::rocRow | ( | ) | const [inline] |
Definition at line 37 of file LocalPixel.h.
References sipixelobjects::LocalPixel::RocRowCol::rocRow, and thePixel.
Referenced by SiPixelOfflineCalibAnalysisBase::checkPixel(), SiPixelCalibDigiProducer::checkPixel(), SiPixelInformationExtractor::findNoisyPixels(), SiPixelSCurveCalibrationAnalysis::makeThresholdSummary(), sipixelobjects::PixelROC::toGlobal(), and PixelDataFormatter::word2digi().
bool sipixelobjects::LocalPixel::valid | ( | ) | const [inline] |
Definition at line 40 of file LocalPixel.h.
References thePixel, and sipixelobjects::LocalPixel::RocRowCol::valid().
Referenced by SiPixelFrameConverter::toCabling().
const int sipixelobjects::LocalPixel::numColsInRoc = 52 [static] |
Definition at line 12 of file LocalPixel.h.
Referenced by sipixelobjects::FrameConversion::FrameConversion(), and sipixelobjects::LocalPixel::RocRowCol::valid().
const int sipixelobjects::LocalPixel::numRowsInRoc = 80 [static] |
Definition at line 11 of file LocalPixel.h.
Referenced by sipixelobjects::FrameConversion::FrameConversion(), LocalPixel(), pxid(), and sipixelobjects::LocalPixel::RocRowCol::valid().
Definition at line 42 of file LocalPixel.h.
Referenced by dcol(), LocalPixel(), pxid(), rocCol(), rocRow(), and valid().