1 #ifndef TRACKERTOPOLOGY_H 2 #define TRACKERTOPOLOGY_H 139 unsigned int side(
const DetId &
id)
const;
227 std::vector<unsigned int>
num;
339 return (testId == 0) ? 0 : (
id.rawId() - testId);
344 return (testId == 0) ? 0 : (
id.rawId() - testId);
349 return (testId == 0) ? 0 : (
id.rawId() - testId);
354 return (testId == 0) ? 0 : (
id.rawId() - testId);
368 return DetId(
id.rawId() + 1);
370 return DetId(
id.rawId() - 1);
378 return DetId(
id.rawId() + 1);
380 return DetId(
id.rawId() - 1);
388 return DetId(
id.rawId() + 1);
390 return DetId(
id.rawId() - 1);
398 return DetId(
id.rawId() + 1);
400 return DetId(
id.rawId() - 1);
408 std::vector<unsigned int>
num;
422 std::vector<unsigned int>
num;
435 std::vector<unsigned int>
num;
458 uint32_t rawid =
id.rawId();
467 uint32_t rawid =
id.rawId();
477 uint32_t petal_fw_bw,
481 uint32_t ster)
const {
483 uint32_t rawid =
id.rawId();
496 uint32_t
layer, uint32_t str_fw_bw, uint32_t str_int_ext, uint32_t
str, uint32_t
module, uint32_t ster)
const {
498 uint32_t rawid =
id.rawId();
509 uint32_t
side, uint32_t
wheel, uint32_t
ring, uint32_t module_fw_bw, uint32_t
module, uint32_t ster)
const {
511 uint32_t rawid =
id.rawId();
523 uint32_t rawid =
id.rawId();
unsigned int tecPetalNumber(const DetId &id) const
unsigned int sterStartBit_
std::pair< DetId, SameLayerComparator > tecDetIdWheelComparator(uint32_t side, uint32_t wheel) const
bool isUpper(const DetId &id) const
bool tibIsDoubleSide(const DetId &id) const
unsigned int ringStartBit_
bool tecIsDoubleSide(const DetId &id) const
bool operator()(DetId i1, DetId i2) const
bool tidIsDoubleSide(const DetId &id) const
unsigned int layerStartBit_
uint32_t tidLower(const DetId &id) const
bool tidIsZPlusSide(const DetId &id) const
unsigned int tobLayer(const DetId &id) const
DetId tibPartnerDetId(const DetId &id) const
unsigned int pxbLayer(const DetId &id) const
unsigned int tibSide(const DetId &id) const
unsigned int str_int_extStartBit_
unsigned int wheelStartBit_
std::pair< DetId, SameLayerComparator > pxbDetIdLayerComparator(uint32_t layer) const
bool tibIsZPlusSide(const DetId &id) const
unsigned int tobSide(const DetId &id) const
unsigned int sterStartBit_
std::vector< unsigned int > tidModuleInfo(const DetId &id) const
unsigned int layerStartBit_
bool tobIsZMinusSide(const DetId &id) const
uint32_t tibRPhi(const DetId &id) const
unsigned int pxfBlade(const DetId &id) const
const PixelEndcapValues pfVals_
unsigned int tibOrder(const DetId &id) const
DetId tibDetId(uint32_t layer, uint32_t str_fw_bw, uint32_t str_int_ext, uint32_t str, uint32_t module, uint32_t ster) const
bool tecIsFrontPetal(const DetId &id) const
uint32_t tidStereo(const DetId &id) const
unsigned int tibModule(const DetId &id) const
unsigned int tidSide(const DetId &id) const
std::string print(DetId detid) const
unsigned int pxfModule(const DetId &id) const
bool tibIsExternalString(const DetId &id) const
std::vector< unsigned int > tecPetalInfo(const DetId &id) const
unsigned int tidWheel(const DetId &id) const
bool tibIsZMinusSide(const DetId &id) const
unsigned int tecWheel(const DetId &id) const
bool tidIsBackRing(const DetId &id) const
uint32_t tibGlued(const DetId &id) const
DetId tidPartnerDetId(const DetId &id) const
unsigned int getField(const DetId &id, DetIdFields idx) const
unsigned int tibString(const DetId &id) const
unsigned int layerStartBit_
bool tecIsZMinusSide(const DetId &id) const
DetId tobDetId(uint32_t layer, uint32_t rod_fw_bw, uint32_t rod, uint32_t module, uint32_t ster) const
const BitmaskAndSubdet bits_per_field[DETID_FIELDS_MAX]
bool isStereo(const DetId &id) const
bool isRPhi(const DetId &id) const
unsigned int pxbLadder(const DetId &id) const
unsigned int side(const DetId &id) const
unsigned int rodStartBit_
unsigned int petal_fw_bwStartBit_
unsigned int tecRing(const DetId &id) const
ring id
unsigned int ladderStartBit_
bool tibIsStereo(const DetId &id) const
bool tobIsDoubleSide(const DetId &id) const
unsigned int layer(const DetId &id) const
unsigned int petal_fw_bwMask_
bool tidIsZMinusSide(const DetId &id) const
DetId tidDetId(uint32_t side, uint32_t wheel, uint32_t ring, uint32_t module_fw_bw, uint32_t module, uint32_t ster) const
const PixelBarrelValues pbVals_
bool tobIsStereo(const DetId &id) const
bool tibIsRPhi(const DetId &id) const
unsigned int module(const DetId &id) const
std::pair< DetId, SameLayerComparator > tobDetIdLayerComparator(uint32_t layer) const
unsigned int petalStartBit_
int getITPixelLayerNumber(const DetId &id) const
unsigned int tidModule(const DetId &id) const
unsigned int tecModule(const DetId &id) const
unsigned int strStartBit_
uint32_t tobGlued(const DetId &id) const
bool operator()(uint32_t i1, uint32_t i2) const
uint32_t tobStereo(const DetId &id) const
unsigned int tidOrder(const DetId &id) const
uint32_t tidUpper(const DetId &id) const
int getOTLayerNumber(const DetId &id) const
unsigned int tecSide(const DetId &id) const
unsigned int moduleStartBit_
uint32_t tidGlued(const DetId &id) const
uint32_t tidStack(const DetId &id) const
uint32_t tobUpper(const DetId &id) const
unsigned int sterStartBit_
uint32_t tecPartnerDetId(const DetId &id) const
SameLayerComparator(const TrackerTopology *topo)
unsigned int rod_fw_bwStartBit_
unsigned int rod_fw_bwMask_
unsigned int pxfDisk(const DetId &id) const
std::pair< DetId, SameLayerComparator > pxfDetIdDiskComparator(uint32_t side, uint32_t disk) const
uint32_t stack(const DetId &id) const
unsigned int tecOrder(const DetId &id) const
DetId partnerDetId(const DetId &id) const
unsigned int str_fw_bwStartBit_
bool tobIsZPlusSide(const DetId &id) const
unsigned int moduleStartBit_
unsigned int moduleStartBit_
unsigned int wheelStartBit_
DetId pxbDetId(uint32_t layer, uint32_t ladder, uint32_t module) const
uint32_t tecRPhi(const DetId &id) const
DetId pxfDetId(uint32_t side, uint32_t disk, uint32_t blade, uint32_t panel, uint32_t module) const
unsigned int str_int_extMask_
bool tobIsRPhi(const DetId &id) const
bool tidIsRPhi(const DetId &id) const
bool tecIsRPhi(const DetId &id) const
unsigned int moduleStartBit_
uint32_t tecLower(const DetId &id) const
uint32_t glued(const DetId &id) const
unsigned int pxfPanel(const DetId &id) const
bool tidIsFrontRing(const DetId &id) const
unsigned int sideStartBit_
SiStripModuleGeometry moduleGeometry(const DetId &id) const
bool tecIsBackPetal(const DetId &id) const
DetId tobPartnerDetId(const DetId &id) const
bool isLower(const DetId &id) const
unsigned int pxfSide(const DetId &id) const
std::vector< unsigned int > tibStringInfo(const DetId &id) const
unsigned int bladeStartBit_
uint32_t lower(const DetId &id) const
unsigned int module_fw_bwStartBit_
const TrackerTopology * topo_
uint32_t tecUpper(const DetId &id) const
bool tecIsZPlusSide(const DetId &id) const
bool tecIsStereo(const DetId &id) const
bool tibIsInternalString(const DetId &id) const
unsigned int moduleStartBit_
unsigned int tobRod(const DetId &id) const
bool tidIsStereo(const DetId &id) const
unsigned int sideStartBit_
std::vector< unsigned int > tobRodInfo(const DetId &id) const
bool hasField(const DetId &id, DetIdFields idx) const
std::pair< DetId, SameLayerComparator > tidDetIdWheelComparator(uint32_t side, uint32_t wheel) const
unsigned int module_fw_bwMask_
unsigned int diskStartBit_
unsigned int panelStartBit_
uint32_t tobLower(const DetId &id) const
unsigned int tidRing(const DetId &id) const
uint32_t tibStack(const DetId &id) const
uint32_t tecStereo(const DetId &id) const
uint32_t tidRPhi(const DetId &id) const
uint32_t tibLower(const DetId &id) const
uint32_t tibUpper(const DetId &id) const
unsigned int tibLayer(const DetId &id) const
std::pair< DetId, SameLayerComparator > tibDetIdLayerComparator(uint32_t layer) const
unsigned int tobModule(const DetId &id) const
unsigned int pxbModule(const DetId &id) const
uint32_t tobStack(const DetId &id) const
unsigned int moduleStartBit_
unsigned int sideStartBit_
unsigned int sterStartBit_
uint32_t tecStack(const DetId &id) const
uint32_t tecGlued(const DetId &id) const
uint32_t tobRPhi(const DetId &id) const
TrackerTopology(const PixelBarrelValues &pxb, const PixelEndcapValues &pxf, const TECValues &tecv, const TIBValues &tibv, const TIDValues &tidv, const TOBValues &tobv)
DetId tecDetId(uint32_t side, uint32_t wheel, uint32_t petal_fw_bw, uint32_t petal, uint32_t ring, uint32_t module, uint32_t ster) const
uint32_t tibStereo(const DetId &id) const
unsigned int str_fw_bwMask_
uint32_t upper(const DetId &id) const
unsigned int ringStartBit_