#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, NUMLAYERS } |
Public Member Functions | |
double | get_highX () const |
double | get_highY () const |
double | get_lowX () const |
double | get_lowY () const |
std::size_t | get_nchX () const |
std::size_t | get_nchY () const |
const std::vector< DetId > & | getBinToDet () const |
DetId | getDetFromBin (int ix, int iy) const |
const XYbin | getXY (DetId detid, int layerEnumNb=TkLayerMap::INVALID) const |
void | initMap (const std::vector< uint32_t > &tkDetIdList) |
TkLayerMap () | |
TkLayerMap (int layer, std::size_t nchX, double lowX, double highX, std::size_t nchY, double lowY, double highY, const TrackerTopology *tTopo, const std::vector< uint32_t > &tkDetIdList, const std::vector< uint32_t > &singleExtString={}, const std::vector< uint32_t > &modulesInRingFront={}, const std::vector< uint32_t > &modulesInRingBack={}, const std::vector< uint32_t > &binForRing={}, uint32_t nstring_ext=0, uint32_t nrod=0) | |
TkLayerMap (int layer, std::size_t nchX, double lowX, double highX, std::size_t nchY, double lowY, double highY, const TrackerTopology *tTopo, const std::vector< uint32_t > &tkDetIdList, std::vector< uint32_t > &&singleExtString={}, std::vector< uint32_t > &&modulesInRingFront={}, std::vector< uint32_t > &&modulesInRingBack={}, std::vector< uint32_t > &&binForRing={}, uint32_t nstring_ext=0, uint32_t nrod=0) | |
Static Public Member Functions | |
static const int16_t | layerSearch (DetId detid, const TrackerTopology *tTopo) |
Private Member Functions | |
std::size_t | bin (std::size_t ix, std::size_t iy) const |
XYbin | getXY_TEC (DetId detid) const |
XYbin | getXY_TIB (DetId detid) const |
XYbin | getXY_TID (DetId detid) const |
XYbin | getXY_TOB (DetId detid) const |
void | initMap_TEC (const std::vector< uint32_t > &tkDetIdList) |
void | initMap_TIB (const std::vector< uint32_t > &tkDetIdList) |
void | initMap_TID (const std::vector< uint32_t > &tkDetIdList) |
void | initMap_TOB (const std::vector< uint32_t > &tkDetIdList) |
Private Attributes | |
std::vector< uint32_t > | binForRing_ |
std::vector< DetId > | binToDet_ |
double | highX_ |
double | highY_ |
int | layer_ |
double | lowX_ |
double | lowY_ |
std::vector< uint32_t > | modulesInRingBack_ |
std::vector< uint32_t > | modulesInRingFront_ |
std::size_t | nchX_ |
std::size_t | nchY_ |
uint32_t | nRod_ |
uint32_t | nStringExt_ |
std::vector< uint32_t > | singleExtStr_ |
const TrackerTopology * | tTopo_ |
Definition at line 10 of file TkDetMap.h.
Definition at line 19 of file TkDetMap.h.
|
inline |
Definition at line 58 of file TkDetMap.h.
|
inline |
Definition at line 60 of file TkDetMap.h.
|
inline |
Definition at line 93 of file TkDetMap.h.
|
inlineprivate |
Definition at line 134 of file TkDetMap.h.
References nchX_.
Referenced by getDetFromBin(), initMap_TEC(), initMap_TIB(), initMap_TID(), and initMap_TOB().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 147 of file TkDetMap.h.
References bin(), binToDet_, nchX_, and nchY_.
const TkLayerMap::XYbin TkLayerMap::getXY | ( | DetId | detid, |
int | layerEnumNb = TkLayerMap::INVALID |
||
) | const |
Definition at line 156 of file TkDetMap.cc.
References Exception, getXY_TEC(), getXY_TIB(), getXY_TID(), getXY_TOB(), layer_, layerSearch(), LogTrace, DetId::rawId(), TIB_L1, TIB_L4, TIDM_D1, TIDP_D3, TOB_L1, TOB_L6, and tTopo_.
|
private |
Definition at line 215 of file TkDetMap.cc.
References binForRing_, TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, lowX_, lowY_, modulesInRingBack_, modulesInRingFront_, TrackerTopology::tecIsBackPetal(), TrackerTopology::tecIsStereo(), TrackerTopology::tecIsZMinusSide(), TrackerTopology::tecModule(), TrackerTopology::tecPetalNumber(), TrackerTopology::tecRing(), tTopo_, TkLayerMap::XYbin::x, and TkLayerMap::XYbin::y.
Referenced by getXY(), and initMap_TEC().
|
private |
Definition at line 177 of file TkDetMap.cc.
References TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, lowX_, lowY_, nStringExt_, singleExtStr_, TrackerTopology::tibIsInternalString(), TrackerTopology::tibIsStereo(), TrackerTopology::tibIsZMinusSide(), TrackerTopology::tibLayer(), TrackerTopology::tibModule(), TrackerTopology::tibString(), tTopo_, TkLayerMap::XYbin::x, and TkLayerMap::XYbin::y.
Referenced by getXY(), and initMap_TIB().
|
private |
Definition at line 203 of file TkDetMap.cc.
References TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, lowX_, lowY_, TrackerTopology::tidIsBackRing(), TrackerTopology::tidIsStereo(), TrackerTopology::tidIsZMinusSide(), TrackerTopology::tidModule(), TrackerTopology::tidRing(), tTopo_, TkLayerMap::XYbin::x, and TkLayerMap::XYbin::y.
Referenced by getXY(), and initMap_TID().
|
private |
Definition at line 192 of file TkDetMap.cc.
References TkLayerMap::XYbin::ix, TkLayerMap::XYbin::iy, lowX_, lowY_, nRod_, TrackerTopology::tobIsStereo(), TrackerTopology::tobIsZMinusSide(), TrackerTopology::tobLayer(), TrackerTopology::tobModule(), TrackerTopology::tobRod(), tTopo_, TkLayerMap::XYbin::x, and TkLayerMap::XYbin::y.
Referenced by getXY(), and initMap_TOB().
void TkLayerMap::initMap | ( | const std::vector< uint32_t > & | tkDetIdList | ) |
Definition at line 9 of file TkDetMap.cc.
References initMap_TEC(), initMap_TIB(), initMap_TID(), initMap_TOB(), layer_, 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.
|
private |
Definition at line 117 of file TkDetMap.cc.
References bin(), binToDet_, SiStripSubStructure::getTECDetectors(), getXY_TEC(), highY_, layer_, LogTrace, lowY_, nStringExt_, TECM_W1, and tTopo_.
Referenced by initMap().
|
private |
Definition at line 58 of file TkDetMap.cc.
References bin(), binToDet_, SiStripSubStructure::getTIBDetectors(), getXY_TIB(), highY_, layer_, LogTrace, lowY_, nStringExt_, and tTopo_.
Referenced by initMap().
|
private |
Definition at line 93 of file TkDetMap.cc.
References bin(), binToDet_, SiStripSubStructure::getTIDDetectors(), getXY_TID(), highY_, layer_, LogTrace, lowY_, nStringExt_, TIDM_D1, and tTopo_.
Referenced by initMap().
|
private |
Definition at line 75 of file TkDetMap.cc.
References bin(), binToDet_, SiStripSubStructure::getTOBDetectors(), getXY_TOB(), highY_, layer_, LogTrace, lowY_, nStringExt_, and tTopo_.
Referenced by initMap().
|
static |
Definition at line 141 of file TkDetMap.cc.
References DetId::subdetId(), SiStripDetId::TEC, TECM_W1, TrackerTopology::tecSide(), TrackerTopology::tecWheel(), SiStripDetId::TIB, TIB_L1, TrackerTopology::tibLayer(), SiStripDetId::TID, TIDM_D1, TrackerTopology::tidSide(), TrackerTopology::tidWheel(), SiStripDetId::TOB, TOB_L1, and TrackerTopology::tobLayer().
Referenced by TkDetMap::findLayer(), and getXY().
|
private |
Definition at line 169 of file TkDetMap.h.
Referenced by getXY_TEC().
|
private |
Definition at line 172 of file TkDetMap.h.
Referenced by getBinToDet(), getDetFromBin(), initMap_TEC(), initMap_TIB(), initMap_TID(), and initMap_TOB().
|
private |
Definition at line 163 of file TkDetMap.h.
Referenced by get_highX().
|
private |
Definition at line 165 of file TkDetMap.h.
Referenced by get_highY(), initMap_TEC(), initMap_TIB(), initMap_TID(), and initMap_TOB().
|
private |
Definition at line 161 of file TkDetMap.h.
Referenced by getXY(), initMap(), initMap_TEC(), initMap_TIB(), initMap_TID(), and initMap_TOB().
|
private |
Definition at line 163 of file TkDetMap.h.
Referenced by get_lowX(), getXY_TEC(), getXY_TIB(), getXY_TID(), and getXY_TOB().
|
private |
Definition at line 165 of file TkDetMap.h.
Referenced by get_lowY(), getXY_TEC(), getXY_TIB(), getXY_TID(), getXY_TOB(), initMap_TEC(), initMap_TIB(), initMap_TID(), and initMap_TOB().
|
private |
Definition at line 169 of file TkDetMap.h.
Referenced by getXY_TEC().
|
private |
Definition at line 169 of file TkDetMap.h.
Referenced by getXY_TEC().
|
private |
Definition at line 162 of file TkDetMap.h.
Referenced by bin(), get_nchX(), and getDetFromBin().
|
private |
Definition at line 164 of file TkDetMap.h.
Referenced by get_nchY(), and getDetFromBin().
|
private |
Definition at line 170 of file TkDetMap.h.
Referenced by getXY_TOB().
|
private |
Definition at line 170 of file TkDetMap.h.
Referenced by getXY_TIB(), initMap_TEC(), initMap_TIB(), initMap_TID(), and initMap_TOB().
|
private |
Definition at line 168 of file TkDetMap.h.
Referenced by getXY_TIB().
|
private |
Definition at line 166 of file TkDetMap.h.
Referenced by getXY(), getXY_TEC(), getXY_TIB(), getXY_TID(), getXY_TOB(), initMap_TEC(), initMap_TIB(), initMap_TID(), and initMap_TOB().