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);
122 int16_t FindLayer(uint32_t& detid , uint32_t& cached_detid , int16_t& cached_layer ,
TkLayerMap::XYbin& cached_XYbin)
const;
124 void getComponents(
int layer,
128 uint32_t
getDetFromBin(
int layer,
int ix,
int iy)
const {
return TkMap[layer]->getDetFromBin(ix,iy); }
131 void getDetsForLayer(
int layer,std::vector<uint32_t>&
output)
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
XYbin(int16_t _ix=-999, int16_t _iy=-999, float _x=-999., float _y=-999.)
std::vector< uint32_t > ModulesInRingFront
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
XYbin getXY_TOB(uint32_t detid, int layerEnumNb=0) const
std::vector< uint32_t > SingleExtString
const uint32_t * getBinToDet() const