#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 mergeAndRegister::paths, SiPixelFedCabling::pathToDetUnit(), theFedId, and theMap.
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(), 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().
|
inline |
Definition at line 31 of file SiPixelFrameConverter.h.
References sipixelobjects::DetectorIndex::col, sipixelobjects::ElectronicIndex::dcol, sipixelobjects::ElectronicIndex::link, sipixelobjects::ElectronicIndex::pxid, sipixelobjects::DetectorIndex::rawId, sipixelobjects::ElectronicIndex::roc, sipixelobjects::DetectorIndex::row, and toRoc().
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(), cmsHarvester::path, theFed, theFedId, theMap, theTree, and unlikely.
Referenced by PixelDataFormatter::interpretRawData(), 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().