#include <TkDetMap.h>
Public Member Functions | |
int16_t | findLayer (DetId detid, DetId &cached_detid, int16_t &cached_layer, TkLayerMap::XYbin &cached_XYbin) const |
void | getComponents (int layer, int &nchX, double &lowX, double &highX, int &nchY, double &lowY, double &highY) const |
DetId | getDetFromBin (int layer, int ix, int iy) const |
DetId | getDetFromBin (const std::string &layerName, int ix, int iy) const |
std::vector< DetId > | getDetsForLayer (int layer) const |
const TkLayerMap::XYbin & | getXY (DetId detid, DetId &cached_detid, int16_t &cached_layer, TkLayerMap::XYbin &cached_XYbin) const |
void | setLayerMap (int layer, const TkLayerMap &lyrMap) |
void | setLayerMap (int layer, TkLayerMap &&lyrMap) |
TkDetMap (const TrackerTopology *tTopo) | |
Static Public Member Functions | |
static std::string | getLayerName (int in) |
static int | getLayerNum (const std::string &in) |
static void | getSubDetLayerSide (int in, SiStripDetId::SubDetector &, uint32_t &layer, uint32_t &side) |
Private Attributes | |
std::vector< TkLayerMap > | TkMap |
const TrackerTopology * | tTopo_ |
Definition at line 175 of file TkDetMap.h.
|
inline |
Definition at line 177 of file TkDetMap.h.
References TkLayerMap::NUMLAYERS, and TkMap.
int16_t TkDetMap::findLayer | ( | DetId | detid, |
DetId & | cached_detid, | ||
int16_t & | cached_layer, | ||
TkLayerMap::XYbin & | cached_XYbin | ||
) | const |
Definition at line 568 of file TkDetMap.cc.
References TkLayerMap::INVALID, TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, nano_mu_digi_cff::layer, TkLayerMap::layerSearch(), LogTrace, DetId::rawId(), TkMap, and tTopo_.
Referenced by TkHistoMap::add(), TkHistoMap::fill(), TkHistoMap::getEntries(), TkHistoMap::getValue(), getXY(), and TkHistoMap::setBinContent().
void TkDetMap::getComponents | ( | int | layer, |
int & | nchX, | ||
double & | lowX, | ||
double & | highX, | ||
int & | nchY, | ||
double & | lowY, | ||
double & | highY | ||
) | const |
Definition at line 594 of file TkDetMap.cc.
References nano_mu_digi_cff::layer, and TkMap.
Referenced by TkHistoMap::createTkHistoMap(), and TrackerRemapper::fillStripRemap().
|
inline |
Definition at line 191 of file TkDetMap.h.
References ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), nano_mu_digi_cff::layer, and TkMap.
Referenced by TkHistoMap::createTkHistoMap(), TrackerRemapper::fillStripRemap(), getDetFromBin(), TkHistoMap::getDetId(), and SiStripQualityChecker::getModuleStatus().
|
inline |
Definition at line 192 of file TkDetMap.h.
References getDetFromBin(), getLayerNum(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), and ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy().
|
inline |
Definition at line 196 of file TkDetMap.h.
References nano_mu_digi_cff::layer, and TkMap.
Referenced by TkHistoMap::dumpInTkMap(), and SiStripTrackerMapCreator::paintTkMapFromHistogram().
|
static |
Definition at line 237 of file TkDetMap.cc.
References recoMuon::in, TkLayerMap::TECM_W1, TkLayerMap::TECM_W2, TkLayerMap::TECM_W3, TkLayerMap::TECM_W4, TkLayerMap::TECM_W5, TkLayerMap::TECM_W6, TkLayerMap::TECM_W7, TkLayerMap::TECM_W8, TkLayerMap::TECM_W9, TkLayerMap::TECP_W1, TkLayerMap::TECP_W2, TkLayerMap::TECP_W3, TkLayerMap::TECP_W4, TkLayerMap::TECP_W5, TkLayerMap::TECP_W6, TkLayerMap::TECP_W7, TkLayerMap::TECP_W8, TkLayerMap::TECP_W9, TkLayerMap::TIB_L1, TkLayerMap::TIB_L2, TkLayerMap::TIB_L3, TkLayerMap::TIB_L4, TkLayerMap::TIDM_D1, TkLayerMap::TIDM_D2, TkLayerMap::TIDM_D3, TkLayerMap::TIDP_D1, TkLayerMap::TIDP_D2, TkLayerMap::TIDP_D3, TkLayerMap::TOB_L1, TkLayerMap::TOB_L2, TkLayerMap::TOB_L3, TkLayerMap::TOB_L4, TkLayerMap::TOB_L5, and TkLayerMap::TOB_L6.
Referenced by TkHistoMap::folderDefinition().
|
static |
Definition at line 311 of file TkDetMap.cc.
References recoMuon::in, TkLayerMap::TECM_W1, TkLayerMap::TECM_W2, TkLayerMap::TECM_W3, TkLayerMap::TECM_W4, TkLayerMap::TECM_W5, TkLayerMap::TECM_W6, TkLayerMap::TECM_W7, TkLayerMap::TECM_W8, TkLayerMap::TECM_W9, TkLayerMap::TECP_W1, TkLayerMap::TECP_W2, TkLayerMap::TECP_W3, TkLayerMap::TECP_W4, TkLayerMap::TECP_W5, TkLayerMap::TECP_W6, TkLayerMap::TECP_W7, TkLayerMap::TECP_W8, TkLayerMap::TECP_W9, TkLayerMap::TIB_L1, TkLayerMap::TIB_L2, TkLayerMap::TIB_L3, TkLayerMap::TIB_L4, TkLayerMap::TIDM_D1, TkLayerMap::TIDM_D2, TkLayerMap::TIDM_D3, TkLayerMap::TIDP_D1, TkLayerMap::TIDP_D2, TkLayerMap::TIDP_D3, TkLayerMap::TOB_L1, TkLayerMap::TOB_L2, TkLayerMap::TOB_L3, TkLayerMap::TOB_L4, TkLayerMap::TOB_L5, and TkLayerMap::TOB_L6.
Referenced by getDetFromBin(), TkHistoMap::getLayerNum(), and SiStripTrackerMapCreator::paintTkMapFromHistogram().
|
static |
Definition at line 383 of file TkDetMap.cc.
References recoMuon::in, nano_mu_digi_cff::layer, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::side(), SiStripDetId::TEC, TkLayerMap::TECM_W1, TkLayerMap::TECM_W2, TkLayerMap::TECM_W3, TkLayerMap::TECM_W4, TkLayerMap::TECM_W5, TkLayerMap::TECM_W6, TkLayerMap::TECM_W7, TkLayerMap::TECM_W8, TkLayerMap::TECM_W9, TkLayerMap::TECP_W1, TkLayerMap::TECP_W2, TkLayerMap::TECP_W3, TkLayerMap::TECP_W4, TkLayerMap::TECP_W5, TkLayerMap::TECP_W6, TkLayerMap::TECP_W7, TkLayerMap::TECP_W8, TkLayerMap::TECP_W9, SiStripDetId::TIB, TkLayerMap::TIB_L1, TkLayerMap::TIB_L2, TkLayerMap::TIB_L3, TkLayerMap::TIB_L4, SiStripDetId::TID, TkLayerMap::TIDM_D1, TkLayerMap::TIDM_D2, TkLayerMap::TIDM_D3, TkLayerMap::TIDP_D1, TkLayerMap::TIDP_D2, TkLayerMap::TIDP_D3, SiStripDetId::TOB, TkLayerMap::TOB_L1, TkLayerMap::TOB_L2, TkLayerMap::TOB_L3, TkLayerMap::TOB_L4, TkLayerMap::TOB_L5, and TkLayerMap::TOB_L6.
Referenced by TkHistoMap::folderDefinition().
const TkLayerMap::XYbin & TkDetMap::getXY | ( | DetId | detid, |
DetId & | cached_detid, | ||
int16_t & | cached_layer, | ||
TkLayerMap::XYbin & | cached_XYbin | ||
) | const |
Definition at line 548 of file TkDetMap.cc.
References findLayer(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, LogTrace, DetId::rawId(), TkLayerMap::XYbin::x, and TkLayerMap::XYbin::y.
Referenced by TkHistoMap::add(), TkHistoMap::fill(), TkHistoMap::getEntries(), TkHistoMap::getValue(), SiStripTrackerMapCreator::paintTkMapFromHistogram(), and TkHistoMap::setBinContent().
|
inline |
|
inline |
|
private |
Definition at line 209 of file TkDetMap.h.
Referenced by findLayer(), getComponents(), getDetFromBin(), getDetsForLayer(), setLayerMap(), and TkDetMap().
|
private |
Definition at line 210 of file TkDetMap.h.
Referenced by findLayer().