#include <SiPixelFrameConverter.h>
Public Types | |
typedef sipixelobjects::PixelFEDCabling | PixelFEDCabling |
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 |
sipixelobjects::PixelROC const * | toRoc (int link, int roc) const |
Private Attributes | |
const PixelFEDCabling * | theFed |
int | theFedId |
const SiPixelFedCabling * | theMap |
SiPixelFedCablingTree const * | theTree |
Definition at line 17 of file SiPixelFrameConverter.h.
Definition at line 20 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 20 of file SiPixelFrameConverter.cc.
References SiPixelFedCabling::pathToDetUnit(), theFedId, and theMap.
Referenced by SiPixelCoordinates::fedid().
int SiPixelFrameConverter::toCabling | ( | sipixelobjects::ElectronicIndex & | cabling, |
const sipixelobjects::DetectorIndex & | detector | ||
) | const |
Definition at line 48 of file SiPixelFrameConverter.cc.
References sipixelobjects::DetectorIndex::col, sipixelobjects::LocalPixel::dcol(), SiPixelFedCabling::findItem(), DTRecHitQuality_cfi::local, callgraph::path, SiPixelFedCabling::pathToDetUnit(), sipixelobjects::LocalPixel::pxid(), sipixelobjects::DetectorIndex::rawId, sipixelobjects::PixelROC::rawId(), sipixelobjects::DetectorIndex::row, theMap, sipixelobjects::PixelROC::toLocal(), and sipixelobjects::LocalPixel::valid().
Referenced by SiPixelCoordinates::channel(), SiPixelSCurveCalibrationAnalysis::makeThresholdSummary(), SiPixelCoordinates::roc(), and toDetector().
|
inline |
Definition at line 31 of file SiPixelFrameConverter.h.
References sipixelobjects::GlobalPixel::col, sipixelobjects::DetectorIndex::col, sipixelobjects::ElectronicIndex::dcol, gamEcalExtractorBlocks_cff::detector, sipixelobjects::ElectronicIndex::link, DTRecHitQuality_cfi::local, sipixelobjects::ElectronicIndex::pxid, sipixelobjects::DetectorIndex::rawId, sipixelobjects::ElectronicIndex::roc, sipixelobjects::GlobalPixel::row, sipixelobjects::DetectorIndex::row, toCabling(), toRoc(), and sipixelobjects::LocalPixel::DcolPxid::valid().
Referenced by ErrorChecker::errorDetId(), and PixelDataFormatter::word2digi().
PixelROC const * SiPixelFrameConverter::toRoc | ( | int | link, |
int | roc | ||
) | const |
Definition at line 31 of file SiPixelFrameConverter.cc.
References SiPixelFedCabling::findItem(), SiPixelFedCablingTree::findItemInFed(), callgraph::path, theFed, theFedId, theMap, theTree, and unlikely.
Referenced by SiPixelCoordinates::channel(), PixelDataFormatter::interpretRawData(), SiPixelCoordinates::roc(), and toDetector().
|
private |
Definition at line 56 of file SiPixelFrameConverter.h.
Referenced by toRoc().
|
private |
Definition at line 53 of file SiPixelFrameConverter.h.
Referenced by hasDetUnit(), and toRoc().
|
private |
Definition at line 54 of file SiPixelFrameConverter.h.
Referenced by hasDetUnit(), toCabling(), and toRoc().
|
private |
Definition at line 55 of file SiPixelFrameConverter.h.
Referenced by toRoc().