1 #ifndef TRACKERTOPOLOGY_H 2 #define TRACKERTOPOLOGY_H 117 if(i1.
det() == i2.
det() &&
119 topo_->side(i1) == topo_->side(i2) &&
120 topo_->layer(i1) == topo_->layer(i2)) {
138 unsigned int side(
const DetId &
id)
const;
243 std::vector<unsigned int>
num;
245 num.push_back(
tobRod(
id) );
345 return ( testId == 0 ) ? 0 : (
id.rawId() - testId);
350 return ( testId == 0 ) ? 0 : (
id.rawId() - testId);
355 return ( testId == 0 ) ? 0 : (
id.rawId() - testId);
360 return ( testId == 0 ) ? 0 : (
id.rawId() - testId);
374 return DetId(
id.rawId() + 1 );
376 return DetId(
id.rawId() - 1 );
377 }
else {
return DetId(); }
382 return DetId(
id.rawId() + 1 );
384 return DetId(
id.rawId() - 1 );
385 }
else {
return DetId(); }
390 return DetId(
id.rawId() + 1 );
392 return DetId(
id.rawId() - 1 );
393 }
else {
return DetId(); }
398 return DetId(
id.rawId() + 1 );
400 return DetId(
id.rawId() - 1 );
401 }
else {
return DetId(); }
406 std::vector<unsigned int>
num;
424 { std::vector<unsigned int>
num;
441 std::vector<unsigned int>
num;
471 uint32_t rawid=
id.rawId();
484 uint32_t rawid=
id.rawId();
494 uint32_t petal_fw_bw, uint32_t petal,
495 uint32_t
ring, uint32_t
module, uint32_t ster)
const {
498 uint32_t rawid=
id.rawId();
512 uint32_t str_int_ext,
515 uint32_t ster)
const {
517 uint32_t rawid=
id.rawId();
530 uint32_t module_fw_bw,
532 uint32_t ster)
const {
534 uint32_t rawid=
id.rawId();
548 uint32_t ster)
const {
550 uint32_t rawid=
id.rawId();
DetId tidPartnerDetId(const DetId &id) const
unsigned int sterStartBit_
bool hasField(const DetId &id, DetIdFields idx) const
unsigned int ringStartBit_
uint32_t tibStack(const DetId &id) const
unsigned int layerStartBit_
bool tecIsDoubleSide(const DetId &id) const
unsigned int str_int_extStartBit_
bool tobIsDoubleSide(const DetId &id) const
unsigned int wheelStartBit_
uint32_t tobGlued(const DetId &id) const
bool tibIsDoubleSide(const DetId &id) const
uint32_t upper(const DetId &id) const
unsigned int tibLayer(const DetId &id) const
unsigned int tibString(const DetId &id) const
unsigned int tidRing(const DetId &id) const
unsigned int sterStartBit_
unsigned int layerStartBit_
std::pair< DetId, SameLayerComparator > pxfDetIdDiskComparator(uint32_t side, uint32_t disk) const
bool tobIsStereo(const DetId &id) const
uint32_t tobLower(const DetId &id) const
const PixelEndcapValues pfVals_
std::vector< unsigned int > tidModuleInfo(const DetId &id) const
unsigned int pxfDisk(const DetId &id) const
unsigned int tecRing(const DetId &id) const
ring id
uint32_t tobStereo(const DetId &id) const
uint32_t tidRPhi(const DetId &id) const
unsigned int pxbLadder(const DetId &id) const
uint32_t tobStack(const DetId &id) const
unsigned int side(const DetId &id) const
uint32_t tecGlued(const DetId &id) const
bool isStereo(const DetId &id) const
bool tidIsFrontRing(const DetId &id) const
unsigned int layerStartBit_
unsigned int tidWheel(const DetId &id) const
unsigned int pxbModule(const DetId &id) const
SiStripDetId::ModuleGeometry moduleGeometry(const DetId &id) const
const BitmaskAndSubdet bits_per_field[DETID_FIELDS_MAX]
bool operator()(DetId i1, DetId i2) const
uint32_t tecRPhi(const DetId &id) const
std::vector< unsigned int > tibStringInfo(const DetId &id) const
unsigned int rodStartBit_
bool tobIsRPhi(const DetId &id) const
std::string print(DetId detid) const
unsigned int petal_fw_bwStartBit_
DetId pxfDetId(uint32_t side, uint32_t disk, uint32_t blade, uint32_t panel, uint32_t module) const
std::pair< DetId, SameLayerComparator > tidDetIdWheelComparator(uint32_t side, uint32_t wheel) const
unsigned int ladderStartBit_
bool tecIsZMinusSide(const DetId &id) const
uint32_t tecPartnerDetId(const DetId &id) const
DetId partnerDetId(const DetId &id) const
bool tidIsStereo(const DetId &id) const
unsigned int petal_fw_bwMask_
DetId tibPartnerDetId(const DetId &id) const
DetId tobPartnerDetId(const DetId &id) const
bool tidIsZMinusSide(const DetId &id) const
const PixelBarrelValues pbVals_
bool isLower(const DetId &id) const
bool tibIsZPlusSide(const DetId &id) const
unsigned int module(const DetId &id) const
unsigned int petalStartBit_
bool tecIsStereo(const DetId &id) const
uint32_t tibRPhi(const DetId &id) const
unsigned int tibSide(const DetId &id) const
unsigned int strStartBit_
bool tibIsExternalString(const DetId &id) const
std::vector< unsigned int > tecPetalInfo(const DetId &id) const
uint32_t tecUpper(const DetId &id) const
bool tibIsRPhi(const DetId &id) const
std::pair< DetId, SameLayerComparator > tobDetIdLayerComparator(uint32_t layer) const
unsigned int tidSide(const DetId &id) const
uint32_t tidStereo(const DetId &id) const
bool tibIsZMinusSide(const DetId &id) const
std::vector< unsigned int > tobRodInfo(const DetId &id) const
unsigned int moduleStartBit_
unsigned int tidModule(const DetId &id) const
bool tidIsBackRing(const DetId &id) const
std::pair< DetId, SameLayerComparator > tibDetIdLayerComparator(uint32_t layer) const
uint32_t tidStack(const DetId &id) const
bool tobIsZPlusSide(const DetId &id) const
DetId tobDetId(uint32_t layer, uint32_t rod_fw_bw, uint32_t rod, uint32_t module, uint32_t ster) const
unsigned int tobSide(const DetId &id) const
unsigned int sterStartBit_
DetId tidDetId(uint32_t side, uint32_t wheel, uint32_t ring, uint32_t module_fw_bw, uint32_t module, uint32_t ster) const
SameLayerComparator(const TrackerTopology *topo)
bool tobIsZMinusSide(const DetId &id) const
unsigned int rod_fw_bwStartBit_
unsigned int rod_fw_bwMask_
bool operator()(uint32_t i1, uint32_t i2) const
unsigned int str_fw_bwStartBit_
unsigned int moduleStartBit_
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
std::pair< DetId, SameLayerComparator > tecDetIdWheelComparator(uint32_t side, uint32_t wheel) const
unsigned int moduleStartBit_
bool tecIsRPhi(const DetId &id) const
unsigned int wheelStartBit_
int getITPixelLayerNumber(const DetId &id) const
unsigned int str_int_extMask_
unsigned int tibModule(const DetId &id) const
unsigned int pxfModule(const DetId &id) const
unsigned int moduleStartBit_
unsigned int pxbLayer(const DetId &id) const
bool isUpper(const DetId &id) const
unsigned int tecModule(const DetId &id) const
bool tecIsFrontPetal(const DetId &id) const
unsigned int sideStartBit_
Detector identifier class for the strip tracker.
bool tecIsBackPetal(const DetId &id) const
bool tidIsRPhi(const DetId &id) const
uint32_t tibGlued(const DetId &id) const
bool tidIsZPlusSide(const DetId &id) const
unsigned int bladeStartBit_
unsigned int module_fw_bwStartBit_
uint32_t stack(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
const TrackerTopology * topo_
uint32_t tidLower(const DetId &id) const
bool tibIsStereo(const DetId &id) const
bool tidIsDoubleSide(const DetId &id) const
uint32_t tecLower(const DetId &id) const
unsigned int getField(const DetId &id, DetIdFields idx) const
unsigned int tecOrder(const DetId &id) const
unsigned int moduleStartBit_
unsigned int tobModule(const DetId &id) const
unsigned int layer(const DetId &id) const
return(e1-e2)*(e1-e2)+dp *dp
bool tecIsZPlusSide(const DetId &id) const
unsigned int sideStartBit_
uint32_t lower(const DetId &id) const
unsigned int tidOrder(const DetId &id) const
uint32_t tecStereo(const DetId &id) const
unsigned int module_fw_bwMask_
unsigned int diskStartBit_
uint32_t tibUpper(const DetId &id) const
unsigned int panelStartBit_
uint32_t tecStack(const DetId &id) const
unsigned int pxfSide(const DetId &id) const
uint32_t tibLower(const DetId &id) const
unsigned int tecPetalNumber(const DetId &id) const
uint32_t tobUpper(const DetId &id) const
DetId pxbDetId(uint32_t layer, uint32_t ladder, uint32_t module) const
bool isRPhi(const DetId &id) const
unsigned int moduleStartBit_
unsigned int tobRod(const DetId &id) const
uint32_t tibStereo(const DetId &id) const
unsigned int sideStartBit_
Detector det() const
get the detector field from this detid
bool tibIsInternalString(const DetId &id) const
unsigned int sterStartBit_
uint32_t glued(const DetId &id) const
unsigned int tecWheel(const DetId &id) const
std::pair< DetId, SameLayerComparator > pxbDetIdLayerComparator(uint32_t layer) const
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 tidUpper(const DetId &id) const
TrackerTopology(const PixelBarrelValues &pxb, const PixelEndcapValues &pxf, const TECValues &tecv, const TIBValues &tibv, const TIDValues &tidv, const TOBValues &tobv)
unsigned int pxfPanel(const DetId &id) const
unsigned int pxfBlade(const DetId &id) const
unsigned int str_fw_bwMask_
int getOTLayerNumber(const DetId &id) const
unsigned int ringStartBit_
unsigned int tobLayer(const DetId &id) const
unsigned int tecSide(const DetId &id) const
unsigned int tibOrder(const DetId &id) const
uint32_t tobRPhi(const DetId &id) const
uint32_t tidGlued(const DetId &id) const