1 #ifndef CalibTracker_SiStripCommon_TKHistoMap_h
2 #define CalibTracker_SiStripCommon_TKHistoMap_h
6 #include <boost/cstdint.hpp>
18 XYbin(int16_t _ix=-999, int16_t _iy=-999,
float _x=-999.,
float _y=-999.){
ix=_ix;
iy=_iy;
x=_x;
y=_y;}
66 const XYbin
getXY(uint32_t
detid,
int layerEnumNb=0)
const;
89 void createTIB(std::vector<uint32_t>& TkDetIdList,
int layer);
90 void createTOB(std::vector<uint32_t>& TkDetIdList,
int layer);
91 void createTID(std::vector<uint32_t>& TkDetIdList,
int layer);
92 void createTEC(std::vector<uint32_t>& TkDetIdList,
int layer);
125 int& nchX,
double& lowX,
double& highX,
126 int& nchY,
double& lowY,
double& highY)
const;
128 uint32_t
getDetFromBin(
int layer,
int ix,
int iy)
const {
return TkMap[layer]->getDetFromBin(ix,iy); }
int getLayerNum(const std::string &in) const
uint32_t getDetFromBin(int ix, int iy) const
std::vector< const TkLayerMap * > detmapType
XYbin getXY_TID(uint32_t detid, int layerEnumNb=0) const
void createTEC(std::vector< uint32_t > &TkDetIdList, int layer)
void createTIB(std::vector< uint32_t > &TkDetIdList, int layer)
static const int16_t layerSearch(uint32_t detid)
XYbin getXY_TEC(uint32_t detid, int layerEnumNb=0) const
std::vector< uint32_t > BinForRing
uint32_t getDetFromBin(const std::string &layerName, int ix, int iy) const
uint32_t getDetFromBin(int layer, int ix, int iy) const
void getSubDetLayerSide(int &in, SiStripDetId::SubDetector &, uint32_t &layer, uint32_t &side) const
std::string getLayerName(int &in) const
XYbin(int16_t _ix=-999, int16_t _iy=-999, float _x=-999., float _y=-999.)
void getDetsForLayer(int layer, std::vector< uint32_t > &output) const
std::vector< uint32_t > ModulesInRingFront
void getComponents(int layer, int &nchX, double &lowX, double &highX, int &nchY, double &lowY, double &highY) const
void createTID(std::vector< uint32_t > &TkDetIdList, int layer)
XYbin getXY_TIB(uint32_t detid, int layerEnumNb=0) const
void createTOB(std::vector< uint32_t > &TkDetIdList, int layer)
uint32_t get_Offset(TIBDetId) const
const XYbin getXY(uint32_t detid, int layerEnumNb=0) const
void initialize(int layer)
std::vector< uint32_t > ModulesInRingBack
int16_t FindLayer(uint32_t &detid, uint32_t &cached_detid, int16_t &cached_layer, TkLayerMap::XYbin &cached_XYbin) const
XYbin getXY_TOB(uint32_t detid, int layerEnumNb=0) const
std::vector< uint32_t > SingleExtString
const uint32_t * getBinToDet() const
const TkLayerMap::XYbin & getXY(uint32_t &, uint32_t &cached_detid, int16_t &cached_layer, TkLayerMap::XYbin &cached_XYbin) const