#include <SiPixelTopoFinder.h>
Public Member Functions | |
std::vector< int > | getDetIds () const |
std::unordered_map< uint32_t, unsigned int > | getFedIds () const |
std::map< int, std::map< int, int > > | getRocIds () const |
std::map< int, std::pair< int, int > > | getSensorLayout () const |
std::map< int, std::pair< int, int > > | getSensors () const |
void | init (const TrackerGeometry *trackerGeometry, const TrackerTopology *trackerTopology, const SiPixelFedCablingMap *siPixelFedCablingMap) |
SiPixelTopoFinder () | |
~SiPixelTopoFinder () | |
Private Member Functions | |
int | half (const DetId &detid) |
int | indexROC (int irow, int icol, int nROCcolumns) |
void | onlineRocColRow (const DetId &detId, const SiPixelFedCablingMap *cablingMap, int fedId, int offlineRow, int offlineCol, int &roc, int &row, int &col) |
int | quadrant (const DetId &detid) |
int | side (const DetId &detid) |
Private Attributes | |
const SiPixelFedCablingMap * | cablingMap_ = nullptr |
std::vector< int > | fDetIds_ |
std::unordered_map< uint32_t, unsigned int > | fFedIds_ |
std::map< int, std::map< int, int > > | fRocIds_ |
std::map< int, std::pair< int, int > > | fSensorLayout_ |
std::map< int, std::pair< int, int > > | fSensors_ |
int | phase_ = -1 |
const TrackerGeometry * | tkGeom_ = nullptr |
const TrackerTopology * | tkTopo_ = nullptr |
Definition at line 16 of file SiPixelTopoFinder.h.
SiPixelTopoFinder::SiPixelTopoFinder | ( | ) |
Definition at line 11 of file SiPixelTopoFinder.cc.
SiPixelTopoFinder::~SiPixelTopoFinder | ( | ) |
Definition at line 13 of file SiPixelTopoFinder.cc.
|
inline |
|
inline |
Definition at line 31 of file SiPixelTopoFinder.h.
References fFedIds_.
|
inline |
Definition at line 33 of file SiPixelTopoFinder.h.
References fRocIds_.
|
inline |
Definition at line 29 of file SiPixelTopoFinder.h.
References fSensorLayout_.
|
inline |
Definition at line 27 of file SiPixelTopoFinder.h.
References fSensors_.
|
private |
Definition at line 144 of file SiPixelTopoFinder.cc.
References PixelBarrelName::isHalfModule(), phase_, PixelSubdetector::PixelBarrel, DetId::subdetId(), and tkTopo_.
Referenced by onlineRocColRow().
|
private |
Definition at line 117 of file SiPixelTopoFinder.cc.
References createfilelist::int.
Referenced by init().
void SiPixelTopoFinder::init | ( | const TrackerGeometry * | trackerGeometry, |
const TrackerTopology * | trackerTopology, | ||
const SiPixelFedCablingMap * | siPixelFedCablingMap | ||
) |
Definition at line 15 of file SiPixelTopoFinder.cc.
References cablingMap_, PixelTopology::colsperroc(), SiPixelFedCablingMap::det2fedMap(), hcalRecHitTable_cff::detId, TrackerGeometry::dets(), fDetIds_, l1tstage2_dqm_sourceclient-live_cfg::fedId, fFedIds_, fRocIds_, fSensorLayout_, fSensors_, indexROC(), crabWrapper::key, PixelTopology::ncolumns(), PixelTopology::nrows(), onlineRocColRow(), phase_, PixelMapPlotter::roc, PixelTopology::rowsperroc(), PixelGeomDetUnit::specificTopology(), tkGeom_, tkTopo_, and relativeConstraints::value.
|
private |
Definition at line 78 of file SiPixelTopoFinder.cc.
References cuy::col, sipixelobjects::ElectronicIndex::dcol, sipixelobjects::LocalPixel::DcolPxid::dcol, hgcalTestNeighbor_cfi::detector, hcalRecHitTable_cff::detId, l1tstage2_dqm_sourceclient-live_cfg::fedId, half(), sipixelobjects::PixelROC::idInDetUnit(), sipixelobjects::ElectronicIndex::link, PixelSubdetector::PixelBarrel, sipixelobjects::ElectronicIndex::pxid, sipixelobjects::LocalPixel::DcolPxid::pxid, sipixelobjects::ElectronicIndex::roc, PixelMapPlotter::roc, sipixelobjects::LocalPixel::rocCol(), sipixelobjects::LocalPixel::rocRow(), and side().
Referenced by init().
|
private |
Definition at line 126 of file SiPixelTopoFinder.cc.
References PixelEndcapName::halfCylinder(), phase_, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, PixelBarrelName::shell(), DetId::subdetId(), and tkTopo_.
Referenced by side().
|
private |
Definition at line 135 of file SiPixelTopoFinder.cc.
References PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TrackerTopology::pxfSide(), quadrant(), DetId::subdetId(), and tkTopo_.
Referenced by onlineRocColRow().
|
private |
Definition at line 41 of file SiPixelTopoFinder.h.
Referenced by init().
|
private |
Definition at line 44 of file SiPixelTopoFinder.h.
Referenced by getDetIds(), and init().
|
private |
Definition at line 50 of file SiPixelTopoFinder.h.
Referenced by getFedIds(), and init().
|
private |
Definition at line 52 of file SiPixelTopoFinder.h.
Referenced by getRocIds(), and init().
|
private |
Definition at line 48 of file SiPixelTopoFinder.h.
Referenced by getSensorLayout(), and init().
|
private |
Definition at line 46 of file SiPixelTopoFinder.h.
Referenced by getSensors(), and init().
|
private |
Definition at line 37 of file SiPixelTopoFinder.h.
Referenced by half(), init(), and quadrant().
|
private |
Definition at line 40 of file SiPixelTopoFinder.h.
Referenced by init().
|
private |
Definition at line 39 of file SiPixelTopoFinder.h.
Referenced by half(), init(), quadrant(), and side().