#include <TkDetMap.h>
Public Member Functions | |
int16_t | FindLayer (uint32_t &detid) |
void | getComponents (int &layer, int &nchX, double &lowX, double &highX, int &nchY, double &lowY, double &highY) |
uint32_t | getDetFromBin (int layer, int ix, int iy) |
uint32_t | getDetFromBin (std::string layerName, int ix, int iy) |
void | getDetsForLayer (int layer, std::vector< uint32_t > &output) |
std::string | getLayerName (int &in) |
int | getLayerNum (std::string &in) |
void | getSubDetLayerSide (int &in, SiStripDetId::SubDetector &, uint32_t &layer, uint32_t &side) |
const TkLayerMap::XYbin & | getXY (uint32_t &) |
TkDetMap () | |
TkDetMap (const edm::ParameterSet &, const edm::ActivityRegistry &) | |
~TkDetMap () | |
Private Types | |
typedef std::vector< TkLayerMap * > | detmapType |
Private Member Functions | |
void | doMe () |
Private Attributes | |
uint32_t | cached_detid |
int16_t | cached_layer |
TkLayerMap::XYbin | cached_XYbin |
detmapType | TkMap |
Definition at line 108 of file TkDetMap.h.
|
private |
Definition at line 136 of file TkDetMap.h.
TkDetMap::TkDetMap | ( | ) |
TkDetMap::TkDetMap | ( | const edm::ParameterSet & | p, |
const edm::ActivityRegistry & | a | ||
) |
TkDetMap::~TkDetMap | ( | ) |
|
private |
Definition at line 615 of file TkDetMap.cc.
References LogTrace, and TkMap.
Referenced by TkDetMap().
int16_t TkDetMap::FindLayer | ( | uint32_t & | detid | ) |
Definition at line 646 of file TkDetMap.cc.
References cached_detid, cached_layer, cached_XYbin, cond::rpcobgas::detid, TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, TkLayerMap::layerSearch(), LogTrace, and TkMap.
Referenced by TkHistoMap::add(), SiStripMonitorMuonHLT::analyze(), SiStripMonitorMuonHLT::analyzeOnTrackClusters(), TkHistoMap::fill(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), TkHistoMap::getEntries(), TkHistoMap::getValue(), getXY(), SiStripMonitorMuonHLT::Normalizer(), and TkHistoMap::setBinContent().
void TkDetMap::getComponents | ( | int & | layer, |
int & | nchX, | ||
double & | lowX, | ||
double & | highX, | ||
int & | nchY, | ||
double & | lowY, | ||
double & | highY | ||
) |
Definition at line 666 of file TkDetMap.cc.
References TkMap.
Referenced by TkHistoMap::createTkHistoMap().
|
inline |
Definition at line 126 of file TkDetMap.h.
References TkMap.
Referenced by TkHistoMap::createTkHistoMap(), TkHistoMap::getDetId(), and SiStripQualityChecker::getModuleStatus().
|
inline |
Definition at line 127 of file TkDetMap.h.
References getDetFromBin(), and getLayerNum().
Referenced by getDetFromBin().
void TkDetMap::getDetsForLayer | ( | int | layer, |
std::vector< uint32_t > & | output | ||
) |
Definition at line 677 of file TkDetMap.cc.
References edm::size_(), and TkMap.
Referenced by TkHistoMap::dumpInTkMap(), and SiStripTrackerMapCreator::paintTkMapFromHistogram().
std::string TkDetMap::getLayerName | ( | int & | in | ) |
Definition at line 684 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 SiStripMonitorMuonHLT::analyze(), SiStripMonitorMuonHLT::analyzeOnTrackClusters(), SiStripMonitorMuonHLT::createMEs(), TkHistoMap::folderDefinition(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), and SiStripMonitorMuonHLT::Normalizer().
int TkDetMap::getLayerNum | ( | std::string & | in | ) |
Definition at line 759 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 | ||
) |
Definition at line 831 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 SiStripMonitorMuonHLT::createMEs(), and TkHistoMap::folderDefinition().
const TkLayerMap::XYbin & TkDetMap::getXY | ( | uint32_t & | detid | ) |
Definition at line 633 of file TkDetMap.cc.
References cached_detid, cached_layer, cached_XYbin, 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 138 of file TkDetMap.h.
Referenced by FindLayer(), and getXY().
|
private |
Definition at line 139 of file TkDetMap.h.
Referenced by FindLayer(), and getXY().
|
private |
Definition at line 140 of file TkDetMap.h.
Referenced by FindLayer(), and getXY().
|
private |
Definition at line 137 of file TkDetMap.h.
Referenced by doMe(), FindLayer(), getComponents(), getDetFromBin(), getDetsForLayer(), and ~TkDetMap().