#include <SiPixelFrameReverter.h>
Public Member Functions | |
void | buildStructure (edm::EventSetup const &) |
int | findFedId (uint32_t detId) |
short | findLinkInFed (uint32_t detId, sipixelobjects::GlobalPixel global) |
sipixelobjects::LocalPixel | findPixelInRoc (uint32_t detId, sipixelobjects::GlobalPixel global) |
short | findRocInDet (uint32_t detId, sipixelobjects::GlobalPixel global) |
short | findRocInLink (uint32_t detId, sipixelobjects::GlobalPixel global) |
bool | hasDetUnit (uint32_t detId) const |
SiPixelFrameReverter (const edm::EventSetup &, const SiPixelFedCabling *map) | |
int | toCabling (sipixelobjects::ElectronicIndex &cabling, const sipixelobjects::DetectorIndex &detector) const |
Private Attributes | |
std::map< uint32_t, std::vector < sipixelobjects::CablingPathToDetUnit > > | DetToFedMap |
const SiPixelFedCabling * | map_ |
Definition at line 18 of file SiPixelFrameReverter.h.
SiPixelFrameReverter::SiPixelFrameReverter | ( | const edm::EventSetup & | iSetup, |
const SiPixelFedCabling * | map | ||
) |
Definition at line 26 of file SiPixelFrameReverter.cc.
References buildStructure().
void SiPixelFrameReverter::buildStructure | ( | edm::EventSetup const & | iSetup | ) |
Definition at line 34 of file SiPixelFrameReverter.cc.
References DetToFedMap, edm::EventSetup::get(), map_, mergeAndRegister::paths, and SiPixelFedCabling::pathToDetUnit().
Referenced by SiPixelFrameReverter().
int SiPixelFrameReverter::findFedId | ( | uint32_t | detId | ) |
Definition at line 79 of file SiPixelFrameReverter.cc.
References DetToFedMap, HLT_25ns14e33_v1_cff::fedId, hasDetUnit(), and cmsHarvester::path.
short SiPixelFrameReverter::findLinkInFed | ( | uint32_t | detId, |
sipixelobjects::GlobalPixel | global | ||
) |
Definition at line 88 of file SiPixelFrameReverter.cc.
References DetToFedMap, SiPixelFedCabling::findItem(), hasDetUnit(), MainPageGenerator::link, map_, cmsHarvester::path, sipixelobjects::PixelROC::toLocal(), and sipixelobjects::LocalPixel::valid().
LocalPixel SiPixelFrameReverter::findPixelInRoc | ( | uint32_t | detId, |
sipixelobjects::GlobalPixel | global | ||
) |
Definition at line 145 of file SiPixelFrameReverter.cc.
References DetToFedMap, SiPixelFedCabling::findItem(), hasDetUnit(), map_, cmsHarvester::path, sipixelobjects::PixelROC::toLocal(), and sipixelobjects::LocalPixel::valid().
short SiPixelFrameReverter::findRocInDet | ( | uint32_t | detId, |
sipixelobjects::GlobalPixel | global | ||
) |
Definition at line 126 of file SiPixelFrameReverter.cc.
References DetToFedMap, SiPixelFedCabling::findItem(), hasDetUnit(), sipixelobjects::PixelROC::idInDetUnit(), map_, cmsHarvester::path, sipixelobjects::PixelROC::toLocal(), and sipixelobjects::LocalPixel::valid().
Referenced by SiPixelQuality::IsAreaBad().
short SiPixelFrameReverter::findRocInLink | ( | uint32_t | detId, |
sipixelobjects::GlobalPixel | global | ||
) |
Definition at line 107 of file SiPixelFrameReverter.cc.
References DetToFedMap, SiPixelFedCabling::findItem(), hasDetUnit(), sipixelobjects::PixelROC::idInLink(), map_, cmsHarvester::path, sipixelobjects::PixelROC::toLocal(), and sipixelobjects::LocalPixel::valid().
|
inline |
Definition at line 26 of file SiPixelFrameReverter.h.
References DetToFedMap.
Referenced by findFedId(), findLinkInFed(), findPixelInRoc(), findRocInDet(), findRocInLink(), and toCabling().
int SiPixelFrameReverter::toCabling | ( | sipixelobjects::ElectronicIndex & | cabling, |
const sipixelobjects::DetectorIndex & | detector | ||
) | const |
Definition at line 56 of file SiPixelFrameReverter.cc.
References sipixelobjects::DetectorIndex::col, sipixelobjects::LocalPixel::dcol(), DetToFedMap, SiPixelFedCabling::findItem(), hasDetUnit(), map_, cmsHarvester::path, sipixelobjects::LocalPixel::pxid(), sipixelobjects::DetectorIndex::rawId, sipixelobjects::PixelROC::rawId(), sipixelobjects::DetectorIndex::row, sipixelobjects::PixelROC::toLocal(), and sipixelobjects::LocalPixel::valid().
Referenced by PixelDataFormatter::digi2word().
|
private |
Definition at line 54 of file SiPixelFrameReverter.h.
Referenced by buildStructure(), findFedId(), findLinkInFed(), findPixelInRoc(), findRocInDet(), findRocInLink(), hasDetUnit(), and toCabling().
|
private |
Definition at line 52 of file SiPixelFrameReverter.h.
Referenced by buildStructure(), findLinkInFed(), findPixelInRoc(), findRocInDet(), findRocInLink(), and toCabling().