#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 () const |
double | get_highY () const |
double | get_lowX () const |
double | get_lowY () const |
int | get_nchX () const |
int | get_nchY () const |
const uint32_t * | getBinToDet () const |
uint32_t | getDetFromBin (int ix, int iy) const |
const XYbin | getXY (uint32_t detid, int layerEnumNb=0) const |
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) |
uint32_t | get_Offset (TIBDetId) const |
XYbin | getXY_TEC (uint32_t detid, int layerEnumNb=0) const |
XYbin | getXY_TIB (uint32_t detid, int layerEnumNb=0) const |
XYbin | getXY_TID (uint32_t detid, int layerEnumNb=0) const |
XYbin | getXY_TOB (uint32_t detid, int layerEnumNb=0) const |
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 |
Definition at line 12 of file TkDetMap.h.
Definition at line 23 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 62 of file TkDetMap.h.
References binToDet.
|
private |
Definition at line 494 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, and TkLayerMap::XYbin::y.
Referenced by TkLayerMap().
|
private |
Definition at line 437 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, and TkLayerMap::XYbin::y.
Referenced by TkLayerMap().
|
private |
Definition at line 475 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, and TkLayerMap::XYbin::y.
Referenced by TkLayerMap().
|
private |
Definition at line 456 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, and TkLayerMap::XYbin::y.
Referenced by TkLayerMap().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 536 of file TkDetMap.cc.
References TIBDetId::isInternalString(), and TIBDetId::layerNumber().
Referenced by getXY_TIB().
|
inline |
uint32_t TkLayerMap::getDetFromBin | ( | int | ix, |
int | iy | ||
) | const |
const TkLayerMap::XYbin TkLayerMap::getXY | ( | uint32_t | detid, |
int | layerEnumNb = 0 |
||
) | const |
Definition at line 515 of file TkDetMap.cc.
References 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 597 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, and TkLayerMap::XYbin::y.
Referenced by createTEC(), and getXY().
|
private |
Definition at line 544 of file TkDetMap.cc.
References get_Offset(), TIBDetId::isInternalString(), TIBDetId::isStereo(), TIBDetId::isZMinusSide(), TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, TIBDetId::layerNumber(), layerSearch(), lowX, lowY, TIBDetId::moduleNumber(), Nstring_ext, SingleExtString, TIBDetId::stringNumber(), TkLayerMap::XYbin::x, and TkLayerMap::XYbin::y.
Referenced by createTIB(), and getXY().
|
private |
Definition at line 579 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, and TkLayerMap::XYbin::y.
Referenced by createTID(), and getXY().
|
private |
Definition at line 562 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, and TkLayerMap::XYbin::y.
Referenced by createTOB(), and getXY().
|
private |
Definition at line 109 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 105 of file TkDetMap.h.
Referenced by getXY_TEC(), and initialize().
|
private |
Definition at line 97 of file TkDetMap.h.
Referenced by createTEC(), createTIB(), createTID(), createTOB(), getBinToDet(), getDetFromBin(), initialize(), and ~TkLayerMap().
|
private |
Definition at line 102 of file TkDetMap.h.
Referenced by get_highX(), and initialize().
|
private |
Definition at line 103 of file TkDetMap.h.
Referenced by createTEC(), createTIB(), createTID(), createTOB(), get_highY(), and initialize().
|
private |
Definition at line 99 of file TkDetMap.h.
Referenced by getXY(), and TkLayerMap().
|
private |
Definition at line 102 of file TkDetMap.h.
Referenced by get_lowX(), getXY_TEC(), getXY_TIB(), getXY_TID(), getXY_TOB(), and initialize().
|
private |
Definition at line 103 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 105 of file TkDetMap.h.
Referenced by getXY_TEC(), and initialize().
|
private |
Definition at line 105 of file TkDetMap.h.
Referenced by getXY_TEC(), and initialize().
|
private |
Definition at line 100 of file TkDetMap.h.
Referenced by createTEC(), createTIB(), createTID(), createTOB(), get_nchX(), getDetFromBin(), and initialize().
|
private |
Definition at line 101 of file TkDetMap.h.
Referenced by get_nchY(), getDetFromBin(), and initialize().
|
private |
Definition at line 106 of file TkDetMap.h.
Referenced by getXY_TOB(), and initialize().
|
private |
Definition at line 106 of file TkDetMap.h.
Referenced by createTEC(), createTIB(), createTID(), createTOB(), getXY_TIB(), and initialize().
|
private |
Definition at line 106 of file TkDetMap.h.
|
private |
Definition at line 105 of file TkDetMap.h.
Referenced by getXY_TIB(), and initialize().