![]() |
![]() |
#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 17 of file SiPixelFrameReverter.h.
SiPixelFrameReverter::SiPixelFrameReverter | ( | const edm::EventSetup & | iSetup, |
const SiPixelFedCabling * | map | ||
) |
Definition at line 26 of file SiPixelFrameReverter.cc.
void SiPixelFrameReverter::buildStructure | ( | edm::EventSetup const & | ) |
Definition at line 32 of file SiPixelFrameReverter.cc.
References TrackerGeometry::dets(), DetToFedMap, edm::EventSetup::get(), map_, Skims_PA_cff::paths, and SiPixelFedCabling::pathToDetUnit().
int SiPixelFrameReverter::findFedId | ( | uint32_t | detId | ) |
Definition at line 73 of file SiPixelFrameReverter.cc.
References DetToFedMap, l1tstage2_dqm_sourceclient-live_cfg::fedId, hasDetUnit(), createfilelist::int, and castor_dqm_sourceclient_file_cfg::path.
Referenced by hasDetUnit().
short SiPixelFrameReverter::findLinkInFed | ( | uint32_t | detId, |
sipixelobjects::GlobalPixel | global | ||
) |
Definition at line 81 of file SiPixelFrameReverter.cc.
References DetToFedMap, SiPixelFedCabling::findItem(), hasDetUnit(), MainPageGenerator::link, DTRecHitClients_cfi::local, map_, castor_dqm_sourceclient_file_cfg::path, PixelMapPlotter::roc, sipixelobjects::PixelROC::toLocal(), and sipixelobjects::LocalPixel::valid().
Referenced by hasDetUnit().
LocalPixel SiPixelFrameReverter::findPixelInRoc | ( | uint32_t | detId, |
sipixelobjects::GlobalPixel | global | ||
) |
Definition at line 141 of file SiPixelFrameReverter.cc.
References DetToFedMap, SiPixelFedCabling::findItem(), hasDetUnit(), DTRecHitClients_cfi::local, map_, castor_dqm_sourceclient_file_cfg::path, muonClassificationByHits_cfi::pixel, PixelMapPlotter::roc, sipixelobjects::PixelROC::toLocal(), and sipixelobjects::LocalPixel::valid().
Referenced by hasDetUnit().
short SiPixelFrameReverter::findRocInDet | ( | uint32_t | detId, |
sipixelobjects::GlobalPixel | global | ||
) |
Definition at line 121 of file SiPixelFrameReverter.cc.
References DetToFedMap, SiPixelFedCabling::findItem(), hasDetUnit(), sipixelobjects::PixelROC::idInDetUnit(), DTRecHitClients_cfi::local, map_, castor_dqm_sourceclient_file_cfg::path, PixelMapPlotter::roc, sipixelobjects::PixelROC::toLocal(), and sipixelobjects::LocalPixel::valid().
Referenced by hasDetUnit(), and SiPixelQuality::IsAreaBad().
short SiPixelFrameReverter::findRocInLink | ( | uint32_t | detId, |
sipixelobjects::GlobalPixel | global | ||
) |
Definition at line 101 of file SiPixelFrameReverter.cc.
References DetToFedMap, SiPixelFedCabling::findItem(), hasDetUnit(), sipixelobjects::PixelROC::idInLink(), DTRecHitClients_cfi::local, map_, castor_dqm_sourceclient_file_cfg::path, PixelMapPlotter::roc, sipixelobjects::PixelROC::toLocal(), and sipixelobjects::LocalPixel::valid().
Referenced by hasDetUnit().
|
inline |
Definition at line 24 of file SiPixelFrameReverter.h.
References hgcalTestNeighbor_cfi::detector, DetToFedMap, findFedId(), findLinkInFed(), findPixelInRoc(), findRocInDet(), findRocInLink(), and toCabling().
Referenced by findFedId(), findLinkInFed(), findPixelInRoc(), findRocInDet(), findRocInLink(), and toCabling().
int SiPixelFrameReverter::toCabling | ( | sipixelobjects::ElectronicIndex & | cabling, |
const sipixelobjects::DetectorIndex & | detector | ||
) | const |
Definition at line 48 of file SiPixelFrameReverter.cc.
References sipixelobjects::DetectorIndex::col, sipixelobjects::LocalPixel::dcol(), DetToFedMap, SiPixelFedCabling::findItem(), hasDetUnit(), DTRecHitClients_cfi::local, map_, castor_dqm_sourceclient_file_cfg::path, sipixelobjects::LocalPixel::pxid(), sipixelobjects::DetectorIndex::rawId, sipixelobjects::PixelROC::rawId(), PixelMapPlotter::roc, sipixelobjects::DetectorIndex::row, sipixelobjects::PixelROC::toLocal(), and sipixelobjects::LocalPixel::valid().
Referenced by PixelDataFormatter::digi2word(), PixelDataFormatter::digi2wordPhase1Layer1(), and hasDetUnit().
|
private |
Definition at line 50 of file SiPixelFrameReverter.h.
Referenced by buildStructure(), findFedId(), findLinkInFed(), findPixelInRoc(), findRocInDet(), findRocInLink(), hasDetUnit(), and toCabling().
|
private |
Definition at line 48 of file SiPixelFrameReverter.h.
Referenced by buildStructure(), findLinkInFed(), findPixelInRoc(), findRocInDet(), findRocInLink(), and toCabling().