#include <SiPixelFrameConverter.h>
Public Member Functions | |
bool | hasDetUnit (uint32_t radId) const |
SiPixelFrameConverter (const SiPixelFedCabling *map, int fedId) | |
int | toCabling (sipixelobjects::ElectronicIndex &cabling, const sipixelobjects::DetectorIndex &detector) const |
int | toDetector (const sipixelobjects::ElectronicIndex &cabling, sipixelobjects::DetectorIndex &detector) const |
Private Attributes | |
int | theFedId |
const SiPixelFedCabling * | theMap |
Definition at line 12 of file SiPixelFrameConverter.h.
SiPixelFrameConverter::SiPixelFrameConverter | ( | const SiPixelFedCabling * | map, |
int | fedId | ||
) |
Definition at line 14 of file SiPixelFrameConverter.cc.
bool SiPixelFrameConverter::hasDetUnit | ( | uint32_t | radId | ) | const |
Definition at line 19 of file SiPixelFrameConverter.cc.
References EgammaValidation_cff::paths, SiPixelFedCabling::pathToDetUnit(), theFedId, and theMap.
int SiPixelFrameConverter::toCabling | ( | sipixelobjects::ElectronicIndex & | cabling, |
const sipixelobjects::DetectorIndex & | detector | ||
) | const |
Definition at line 58 of file SiPixelFrameConverter.cc.
References sipixelobjects::DetectorIndex::col, sipixelobjects::LocalPixel::dcol(), SiPixelFedCabling::findItem(), SiPixelFedCabling::pathToDetUnit(), sipixelobjects::LocalPixel::pxid(), sipixelobjects::DetectorIndex::rawId, sipixelobjects::PixelROC::rawId(), sipixelobjects::DetectorIndex::row, theMap, sipixelobjects::PixelROC::toLocal(), and sipixelobjects::LocalPixel::valid().
Referenced by SiPixelSCurveCalibrationAnalysis::makeThresholdSummary().
int SiPixelFrameConverter::toDetector | ( | const sipixelobjects::ElectronicIndex & | cabling, |
sipixelobjects::DetectorIndex & | detector | ||
) | const |
Definition at line 30 of file SiPixelFrameConverter.cc.
References sipixelobjects::GlobalPixel::col, sipixelobjects::DetectorIndex::col, sipixelobjects::ElectronicIndex::dcol, SiPixelFedCabling::findItem(), sipixelobjects::ElectronicIndex::link, getHLTPrescaleColumns::path, sipixelobjects::ElectronicIndex::pxid, sipixelobjects::DetectorIndex::rawId, sipixelobjects::PixelROC::rawId(), sipixelobjects::ElectronicIndex::roc, sipixelobjects::GlobalPixel::row, sipixelobjects::DetectorIndex::row, theFedId, theMap, sipixelobjects::PixelROC::toGlobal(), and sipixelobjects::LocalPixel::DcolPxid::valid().
Referenced by ErrorChecker::errorDetId(), and PixelDataFormatter::word2digi().
|
private |
Definition at line 27 of file SiPixelFrameConverter.h.
Referenced by hasDetUnit(), and toDetector().
|
private |
Definition at line 28 of file SiPixelFrameConverter.h.
Referenced by hasDetUnit(), toCabling(), and toDetector().