#include <TkDetMap.h>
Classes | |
struct | XYbin |
Public Types | |
enum | TkLayerEnum { INVALID =0, TIB_L1, TIB_L2, TIB_L3, TIB_L4, TIDM_D1, TIDM_D2, TIDM_D3, TIDP_D1, TIDP_D2, TIDP_D3, TOB_L1, TOB_L2, TOB_L3, TOB_L4, TOB_L5, TOB_L6, TECM_W1, TECM_W2, TECM_W3, TECM_W4, TECM_W5, TECM_W6, TECM_W7, TECM_W8, TECM_W9, TECP_W1, TECP_W2, TECP_W3, TECP_W4, TECP_W5, TECP_W6, TECP_W7, TECP_W8, TECP_W9 } |
Public Member Functions | |
double & | get_highX () |
double & | get_highY () |
double & | get_lowX () |
double & | get_lowY () |
int & | get_nchX () |
int & | get_nchY () |
uint32_t * | getBinToDet () |
uint32_t | getDetFromBin (int ix, int iy) |
const XYbin | getXY (uint32_t &detid, int layerEnumNb=0) |
TkLayerMap (int in) | |
~TkLayerMap () | |
Static Public Member Functions | |
static const int16_t | layerSearch (uint32_t detid) |
Private Member Functions | |
void | createTEC (std::vector< uint32_t > &TkDetIdList, int layer) |
void | createTIB (std::vector< uint32_t > &TkDetIdList, int layer) |
void | createTID (std::vector< uint32_t > &TkDetIdList, int layer) |
void | createTOB (std::vector< uint32_t > &TkDetIdList, int layer) |
XYbin | getXY_TEC (uint32_t &detid, int layerEnumNb=0) |
XYbin | getXY_TIB (uint32_t &detid, int layerEnumNb=0) |
XYbin | getXY_TID (uint32_t &detid, int layerEnumNb=0) |
XYbin | getXY_TOB (uint32_t &detid, int layerEnumNb=0) |
void | initialize (int layer) |
Private Attributes | |
std::vector< uint32_t > | BinForRing |
uint32_t * | binToDet |
double | highX |
double | highY |
int | layerEnumNb_ |
double | lowX |
double | lowY |
std::vector< uint32_t > | ModulesInRingBack |
std::vector< uint32_t > | ModulesInRingFront |
int | nchX |
int | nchY |
uint32_t | Nrod |
uint32_t | Nstring_ext |
uint32_t | Offset |
std::vector< uint32_t > | SingleExtString |
XYbin | xybin |
Definition at line 11 of file TkDetMap.h.
Definition at line 22 of file TkDetMap.h.
TkLayerMap::TkLayerMap | ( | int | in | ) |
Definition at line 14 of file TkDetMap.cc.
References createTEC(), createTIB(), createTID(), createTOB(), SiStripDetInfoFileReader::getAllDetIds(), recoMuon::in, initialize(), layerEnumNb_, LogTrace, cppFunctionSkipper::operator, TECM_W1, TECM_W2, TECM_W3, TECM_W4, TECM_W5, TECM_W6, TECM_W7, TECM_W8, TECM_W9, TECP_W1, TECP_W2, TECP_W3, TECP_W4, TECP_W5, TECP_W6, TECP_W7, TECP_W8, TECP_W9, TIB_L1, TIB_L2, TIB_L3, TIB_L4, TIDM_D1, TIDM_D2, TIDM_D3, TIDP_D1, TIDP_D2, TIDP_D3, TOB_L1, TOB_L2, TOB_L3, TOB_L4, TOB_L5, and TOB_L6.
|
inline |
Definition at line 61 of file TkDetMap.h.
References binToDet.
|
private |
Definition at line 487 of file TkDetMap.cc.
References binToDet, SiStripSubStructure::getTECDetectors(), getXY_TEC(), highY, TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, j, LogTrace, lowY, nchX, Nstring_ext, TECM_W1, TkLayerMap::XYbin::x, xybin, and TkLayerMap::XYbin::y.
Referenced by TkLayerMap().
|
private |
Definition at line 436 of file TkDetMap.cc.
References binToDet, SiStripSubStructure::getTIBDetectors(), getXY_TIB(), highY, TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, j, LogTrace, lowY, nchX, Nstring_ext, TkLayerMap::XYbin::x, xybin, and TkLayerMap::XYbin::y.
Referenced by TkLayerMap().
|
private |
Definition at line 470 of file TkDetMap.cc.
References binToDet, SiStripSubStructure::getTIDDetectors(), getXY_TID(), highY, TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, j, LogTrace, lowY, nchX, Nstring_ext, TIDM_D1, TkLayerMap::XYbin::x, xybin, and TkLayerMap::XYbin::y.
Referenced by TkLayerMap().
|
private |
Definition at line 453 of file TkDetMap.cc.
References binToDet, SiStripSubStructure::getTOBDetectors(), getXY_TOB(), highY, TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, j, LogTrace, lowY, nchX, Nstring_ext, TkLayerMap::XYbin::x, xybin, and TkLayerMap::XYbin::y.
Referenced by TkLayerMap().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
uint32_t TkLayerMap::getDetFromBin | ( | int | ix, |
int | iy | ||
) |
const TkLayerMap::XYbin TkLayerMap::getXY | ( | uint32_t & | detid, |
int | layerEnumNb = 0 |
||
) |
Definition at line 506 of file TkDetMap.cc.
References edm::hlt::Exception, getXY_TEC(), getXY_TIB(), getXY_TID(), getXY_TOB(), layerEnumNb_, layerSearch(), LogTrace, TIB_L1, TIB_L4, TIDM_D1, TIDP_D3, TOB_L1, and TOB_L6.
|
private |
Definition at line 577 of file TkDetMap.cc.
References BinForRing, TECDetId::isBackPetal(), TECDetId::isStereo(), TECDetId::isZMinusSide(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, layerSearch(), lowX, lowY, TECDetId::moduleNumber(), ModulesInRingBack, ModulesInRingFront, TECDetId::petalNumber(), TECDetId::ring(), TkLayerMap::XYbin::x, xybin, and TkLayerMap::XYbin::y.
Referenced by createTEC(), and getXY().
|
private |
Definition at line 527 of file TkDetMap.cc.
References TIBDetId::isInternalString(), TIBDetId::isStereo(), TIBDetId::isZMinusSide(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, TIBDetId::layerNumber(), layerSearch(), lowX, lowY, TIBDetId::moduleNumber(), Nstring_ext, Offset, SingleExtString, TIBDetId::stringNumber(), TkLayerMap::XYbin::x, xybin, and TkLayerMap::XYbin::y.
Referenced by createTIB(), and getXY().
|
private |
Definition at line 562 of file TkDetMap.cc.
References TIDDetId::isBackRing(), TIDDetId::isStereo(), TIDDetId::isZMinusSide(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, layerSearch(), lowX, lowY, TIDDetId::moduleNumber(), TIDDetId::ring(), TkLayerMap::XYbin::x, xybin, and TkLayerMap::XYbin::y.
Referenced by createTID(), and getXY().
|
private |
Definition at line 547 of file TkDetMap.cc.
References TOBDetId::isStereo(), TOBDetId::isZMinusSide(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, TOBDetId::layerNumber(), layerSearch(), lowX, lowY, TOBDetId::moduleNumber(), Nrod, TOBDetId::rodNumber(), TkLayerMap::XYbin::x, xybin, and TkLayerMap::XYbin::y.
Referenced by createTOB(), and getXY().
|
private |
Definition at line 108 of file TkDetMap.cc.
References BinForRing, binToDet, highX, highY, i, LogTrace, lowX, lowY, ModulesInRingBack, ModulesInRingFront, nchX, nchY, Nrod, Nstring_ext, SingleExtString, TECM_W1, TECM_W2, TECM_W3, TECM_W4, TECM_W5, TECM_W6, TECM_W7, TECM_W8, TECM_W9, TECP_W1, TECP_W2, TECP_W3, TECP_W4, TECP_W5, TECP_W6, TECP_W7, TECP_W8, TECP_W9, TIB_L1, TIB_L2, TIB_L3, TIB_L4, TIDM_D1, TIDM_D2, TIDM_D3, TIDP_D1, TIDP_D2, TIDP_D3, TOB_L1, TOB_L2, TOB_L3, TOB_L4, TOB_L5, and TOB_L6.
Referenced by TkLayerMap().
|
static |
Definition at line 89 of file TkDetMap.cc.
References TOBDetId::layerNumber(), TIBDetId::layerNumber(), TIDDetId::side(), TECDetId::side(), SiStripDetId::TEC, TECM_W1, SiStripDetId::TIB, TIB_L1, SiStripDetId::TID, TIDM_D1, SiStripDetId::TOB, TOB_L1, TIDDetId::wheel(), and TECDetId::wheel().
Referenced by TkDetMap::FindLayer(), getXY(), getXY_TEC(), getXY_TIB(), getXY_TID(), and getXY_TOB().
|
private |
Definition at line 103 of file TkDetMap.h.
Referenced by getXY_TEC(), and initialize().
|
private |
Definition at line 94 of file TkDetMap.h.
Referenced by createTEC(), createTIB(), createTID(), createTOB(), getBinToDet(), getDetFromBin(), initialize(), and ~TkLayerMap().
|
private |
Definition at line 100 of file TkDetMap.h.
Referenced by get_highX(), and initialize().
|
private |
Definition at line 101 of file TkDetMap.h.
Referenced by createTEC(), createTIB(), createTID(), createTOB(), get_highY(), and initialize().
|
private |
Definition at line 97 of file TkDetMap.h.
Referenced by getXY(), and TkLayerMap().
|
private |
Definition at line 100 of file TkDetMap.h.
Referenced by get_lowX(), getXY_TEC(), getXY_TIB(), getXY_TID(), getXY_TOB(), and initialize().
|
private |
Definition at line 101 of file TkDetMap.h.
Referenced by createTEC(), createTIB(), createTID(), createTOB(), get_lowY(), getXY_TEC(), getXY_TIB(), getXY_TID(), getXY_TOB(), and initialize().
|
private |
Definition at line 103 of file TkDetMap.h.
Referenced by getXY_TEC(), and initialize().
|
private |
Definition at line 103 of file TkDetMap.h.
Referenced by getXY_TEC(), and initialize().
|
private |
Definition at line 98 of file TkDetMap.h.
Referenced by createTEC(), createTIB(), createTID(), createTOB(), get_nchX(), getDetFromBin(), and initialize().
|
private |
Definition at line 99 of file TkDetMap.h.
Referenced by get_nchY(), getDetFromBin(), and initialize().
|
private |
Definition at line 104 of file TkDetMap.h.
Referenced by getXY_TOB(), and initialize().
|
private |
Definition at line 104 of file TkDetMap.h.
Referenced by createTEC(), createTIB(), createTID(), createTOB(), getXY_TIB(), and initialize().
|
private |
Definition at line 104 of file TkDetMap.h.
Referenced by getXY_TIB().
|
private |
Definition at line 103 of file TkDetMap.h.
Referenced by getXY_TIB(), and initialize().
|
private |
Definition at line 95 of file TkDetMap.h.
Referenced by createTEC(), createTIB(), createTID(), createTOB(), getXY_TEC(), getXY_TIB(), getXY_TID(), and getXY_TOB().