#include <SiPixelFrameReverter.h>
Public Member Functions | |
void | buildStructure (const TrackerGeometry *) |
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 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 SiPixelFedCabling * | map | ) |
Definition at line 20 of file SiPixelFrameReverter.cc.
void SiPixelFrameReverter::buildStructure | ( | const TrackerGeometry * | trackerGeometry | ) |
Definition at line 22 of file SiPixelFrameReverter.cc.
References hcalRecHitTable_cff::detId, TrackerGeometry::dets(), DetToFedMap, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, map_, Skims_PA_cff::paths, and SiPixelFedCabling::pathToDetUnit().
int SiPixelFrameReverter::findFedId | ( | uint32_t | detId | ) |
Definition at line 59 of file SiPixelFrameReverter.cc.
References hcalRecHitTable_cff::detId, DetToFedMap, l1tstage2_dqm_sourceclient-live_cfg::fedId, hasDetUnit(), createfilelist::int, and castor_dqm_sourceclient_file_cfg::path.
short SiPixelFrameReverter::findLinkInFed | ( | uint32_t | detId, |
sipixelobjects::GlobalPixel | global | ||
) |
Definition at line 67 of file SiPixelFrameReverter.cc.
References hcalRecHitTable_cff::detId, DetToFedMap, SiPixelFedCabling::findItem(), hasDetUnit(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, DTRecHitClients_cfi::local, map_, castor_dqm_sourceclient_file_cfg::path, and PixelMapPlotter::roc.
LocalPixel SiPixelFrameReverter::findPixelInRoc | ( | uint32_t | detId, |
sipixelobjects::GlobalPixel | global | ||
) |
Definition at line 127 of file SiPixelFrameReverter.cc.
References hcalRecHitTable_cff::detId, DetToFedMap, SiPixelFedCabling::findItem(), hasDetUnit(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, DTRecHitClients_cfi::local, map_, castor_dqm_sourceclient_file_cfg::path, muonClassificationByHits_cfi::pixel, and PixelMapPlotter::roc.
short SiPixelFrameReverter::findRocInDet | ( | uint32_t | detId, |
sipixelobjects::GlobalPixel | global | ||
) |
Definition at line 107 of file SiPixelFrameReverter.cc.
References hcalRecHitTable_cff::detId, DetToFedMap, SiPixelFedCabling::findItem(), hasDetUnit(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, DTRecHitClients_cfi::local, map_, castor_dqm_sourceclient_file_cfg::path, and PixelMapPlotter::roc.
short SiPixelFrameReverter::findRocInLink | ( | uint32_t | detId, |
sipixelobjects::GlobalPixel | global | ||
) |
Definition at line 87 of file SiPixelFrameReverter.cc.
References hcalRecHitTable_cff::detId, DetToFedMap, SiPixelFedCabling::findItem(), hasDetUnit(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, DTRecHitClients_cfi::local, map_, castor_dqm_sourceclient_file_cfg::path, and PixelMapPlotter::roc.
|
inline |
Definition at line 24 of file SiPixelFrameReverter.h.
References hcalRecHitTable_cff::detId, and DetToFedMap.
Referenced by findFedId(), findLinkInFed(), findPixelInRoc(), findRocInDet(), findRocInLink(), and toCabling().
int SiPixelFrameReverter::toCabling | ( | sipixelobjects::ElectronicIndex & | cabling, |
const sipixelobjects::DetectorIndex & | detector | ||
) | const |
Definition at line 34 of file SiPixelFrameReverter.cc.
References hgcalTestNeighbor_cfi::detector, DetToFedMap, SiPixelFedCabling::findItem(), hasDetUnit(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, DTRecHitClients_cfi::local, map_, castor_dqm_sourceclient_file_cfg::path, and PixelMapPlotter::roc.
Referenced by PixelDataFormatter::digi2word(), and PixelDataFormatter::digi2wordPhase1Layer1().
|
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().