#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 14 of file SiPixelFrameConverter.h.
Definition at line 16 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::pathToDetUnitHasDetUnit(), theFedId, and theMap.
Referenced by SiPixelCoordinates::fedid().
int SiPixelFrameConverter::toCabling | ( | sipixelobjects::ElectronicIndex & | cabling, |
const sipixelobjects::DetectorIndex & | detector | ||
) | const |
Definition at line 37 of file SiPixelFrameConverter.cc.
References sipixelobjects::DetectorIndex::col, sipixelobjects::LocalPixel::dcol(), SiPixelFedCabling::findItem(), DTRecHitClients_cfi::local, castor_dqm_sourceclient_file_cfg::path, SiPixelFedCabling::pathToDetUnit(), sipixelobjects::LocalPixel::pxid(), sipixelobjects::DetectorIndex::rawId, sipixelobjects::PixelROC::rawId(), PixelMapPlotter::roc, sipixelobjects::DetectorIndex::row, theMap, sipixelobjects::PixelROC::toLocal(), and sipixelobjects::LocalPixel::valid().
Referenced by SiPixelCoordinates::channel(), SiPixelSCurveCalibrationAnalysis::makeThresholdSummary(), SiPixelStatusProducer::onlineRocColRow(), SiPixelCoordinates::roc(), and toDetector().
|
inline |
Definition at line 26 of file SiPixelFrameConverter.h.
References sipixelobjects::GlobalPixel::col, sipixelobjects::DetectorIndex::col, sipixelobjects::ElectronicIndex::dcol, hgcalTestNeighbor_cfi::detector, sipixelobjects::ElectronicIndex::link, DTRecHitClients_cfi::local, sipixelobjects::ElectronicIndex::pxid, sipixelobjects::DetectorIndex::rawId, sipixelobjects::ElectronicIndex::roc, PixelMapPlotter::roc, sipixelobjects::GlobalPixel::row, sipixelobjects::DetectorIndex::row, toCabling(), toRoc(), and sipixelobjects::LocalPixel::DcolPxid::valid().
Referenced by ErrorChecker::errorDetId(), ErrorCheckerPhase0::errorDetId(), and PixelDataFormatter::word2digi().
PixelROC const * SiPixelFrameConverter::toRoc | ( | int | link, |
int | roc | ||
) | const |
Definition at line 24 of file SiPixelFrameConverter.cc.
References SiPixelFedCabling::findItem(), SiPixelFedCablingTree::findItemInFed(), castor_dqm_sourceclient_file_cfg::path, PixelMapPlotter::roc, theFed, theFedId, theMap, theTree, and UNLIKELY.
Referenced by SiPixelCoordinates::channel(), PixelDataFormatter::interpretRawData(), SiPixelStatusProducer::onlineRocColRow(), SiPixelCoordinates::roc(), and toDetector().
|
private |
Definition at line 49 of file SiPixelFrameConverter.h.
Referenced by toRoc().
|
private |
Definition at line 46 of file SiPixelFrameConverter.h.
Referenced by hasDetUnit(), and toRoc().
|
private |
Definition at line 47 of file SiPixelFrameConverter.h.
Referenced by hasDetUnit(), toCabling(), and toRoc().
|
private |
Definition at line 48 of file SiPixelFrameConverter.h.
Referenced by toRoc().