#include <TkDetMap.h>
Public Member Functions | |
int16_t | FindLayer (uint32_t &detid, uint32_t &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 |
uint32_t | getDetFromBin (int layer, int ix, int iy) const |
uint32_t | getDetFromBin (const std::string &layerName, int ix, int iy) const |
void | getDetsForLayer (int layer, std::vector< uint32_t > &output) const |
std::string | getLayerName (int &in) const |
int | getLayerNum (const std::string &in) const |
void | getSubDetLayerSide (int &in, SiStripDetId::SubDetector &, uint32_t &layer, uint32_t &side) const |
const TkLayerMap::XYbin & | getXY (uint32_t &, uint32_t &cached_detid, int16_t &cached_layer, TkLayerMap::XYbin &cached_XYbin) const |
TkDetMap () | |
TkDetMap (const edm::ParameterSet &, const edm::ActivityRegistry &) | |
~TkDetMap () | |
Private Types | |
typedef std::vector< const TkLayerMap * > | detmapType |
Private Member Functions | |
void | doMe () |
Private Attributes | |
detmapType | TkMap |
Definition at line 110 of file TkDetMap.h.
|
private |
Definition at line 138 of file TkDetMap.h.
TkDetMap::TkDetMap | ( | ) |
Definition at line 630 of file TkDetMap.cc.
References doMe().
TkDetMap::TkDetMap | ( | const edm::ParameterSet & | p, |
const edm::ActivityRegistry & | a | ||
) |
Definition at line 626 of file TkDetMap.cc.
References doMe().
TkDetMap::~TkDetMap | ( | ) |
|
private |
Definition at line 634 of file TkDetMap.cc.
References LogTrace, and TkMap.
Referenced by TkDetMap().
int16_t TkDetMap::FindLayer | ( | uint32_t & | detid, |
uint32_t & | cached_detid, | ||
int16_t & | cached_layer, | ||
TkLayerMap::XYbin & | cached_XYbin | ||
) | const |
Definition at line 664 of file TkDetMap.cc.
References TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, TkLayerMap::layerSearch(), LogTrace, and TkMap.
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 684 of file TkDetMap.cc.
References TkMap.
Referenced by TkHistoMap::createTkHistoMap().
|
inline |
Definition at line 128 of file TkDetMap.h.
References TkMap.
Referenced by TkHistoMap::createTkHistoMap(), TkHistoMap::getDetId(), and SiStripQualityChecker::getModuleStatus().
|
inline |
Definition at line 129 of file TkDetMap.h.
References getDetFromBin(), and getLayerNum().
Referenced by getDetFromBin().
void TkDetMap::getDetsForLayer | ( | int | layer, |
std::vector< uint32_t > & | output | ||
) | const |
Definition at line 695 of file TkDetMap.cc.
References edm::size_(), and TkMap.
Referenced by TkHistoMap::dumpInTkMap(), and SiStripTrackerMapCreator::paintTkMapFromHistogram().
std::string TkDetMap::getLayerName | ( | int & | in | ) | const |
Definition at line 702 of file TkDetMap.cc.
References 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().
int TkDetMap::getLayerNum | ( | const std::string & | in | ) | const |
Definition at line 777 of file TkDetMap.cc.
References 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().
void TkDetMap::getSubDetLayerSide | ( | int & | in, |
SiStripDetId::SubDetector & | subDet, | ||
uint32_t & | layer, | ||
uint32_t & | side | ||
) | const |
Definition at line 849 of file TkDetMap.cc.
References 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 | ( | uint32_t & | detid, |
uint32_t & | cached_detid, | ||
int16_t & | cached_layer, | ||
TkLayerMap::XYbin & | cached_XYbin | ||
) | const |
Definition at line 652 of file TkDetMap.cc.
References FindLayer(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, LogTrace, TkLayerMap::XYbin::x, and TkLayerMap::XYbin::y.
Referenced by TkHistoMap::add(), TkHistoMap::fill(), TkHistoMap::getEntries(), TkHistoMap::getValue(), SiStripTrackerMapCreator::paintTkMapFromHistogram(), and TkHistoMap::setBinContent().
|
private |
Definition at line 139 of file TkDetMap.h.
Referenced by doMe(), FindLayer(), getComponents(), getDetFromBin(), getDetsForLayer(), and ~TkDetMap().