1 #ifndef TRACKERTOPOLOGY_H
2 #define TRACKERTOPOLOGY_H
110 if(i1.
det() == i2.
det() &&
131 unsigned int side(
const DetId &
id)
const;
236 std::vector<unsigned int>
num;
238 num.push_back(
tobRod(
id) );
338 return ( testId == 0 ) ? 0 : (
id.rawId() - testId);
343 return ( testId == 0 ) ? 0 : (
id.rawId() - testId);
348 return ( testId == 0 ) ? 0 : (
id.rawId() - testId);
353 return ( testId == 0 ) ? 0 : (
id.rawId() - testId);
367 return DetId(
id.rawId() + 1 );
369 return DetId(
id.rawId() - 1 );
370 }
else {
return DetId(); }
375 return DetId(
id.rawId() + 1 );
377 return DetId(
id.rawId() - 1 );
378 }
else {
return DetId(); }
383 return DetId(
id.rawId() + 1 );
385 return DetId(
id.rawId() - 1 );
386 }
else {
return DetId(); }
391 return DetId(
id.rawId() + 1 );
393 return DetId(
id.rawId() - 1 );
394 }
else {
return DetId(); }
399 std::vector<unsigned int>
num;
417 { std::vector<unsigned int>
num;
434 std::vector<unsigned int>
num;
464 uint32_t rawid=
id.rawId();
477 uint32_t rawid=
id.rawId();
487 uint32_t petal_fw_bw, uint32_t petal,
488 uint32_t
ring, uint32_t
module, uint32_t ster)
const {
491 uint32_t rawid=
id.rawId();
505 uint32_t str_int_ext,
508 uint32_t ster)
const {
510 uint32_t rawid=
id.rawId();
523 uint32_t module_fw_bw,
525 uint32_t ster)
const {
527 uint32_t rawid=
id.rawId();
541 uint32_t ster)
const {
543 uint32_t rawid=
id.rawId();
DetId tidPartnerDetId(const DetId &id) const
unsigned int sterStartBit_
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
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
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
PixelEndcapValues pfVals_
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
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
PixelBarrelValues pbVals_
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_
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 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_
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