Go to the documentation of this file. 1 #ifndef DataFormats_SiStripDetId_SiStripDetId_h
2 #define DataFormats_SiStripDetId_SiStripDetId_h
51 inline uint32_t
glued()
const;
54 inline uint32_t
stereo()
const;
106 return static_cast<SiStripDetId::SubDetector>(
subdetId());
165 return (testId == 0) ? 0 : (
id_ - testId);
174 }
else if (testId == 2) {
186 #endif // DataFormats_SiStripDetId_SiStripDetId_h
static const unsigned ringMaskTID_
static constexpr auto UNKNOWN
ESHandle< TrackerGeometry > geometry
SiStripModuleGeometry moduleGeometry() const
static const unsigned layerMask_
constexpr Detector det() const
get the detector field from this detid
static const uint32_t sterStartBit_
static const unsigned ringStartBitTEC_
static const unsigned layerStartBit_
static const uint16_t reservedStartBit_
static const uint16_t reservedMask_
static constexpr auto TEC
SiStripDetId(Detector det, int subdet)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
static const unsigned ringStartBitTID_
std::ostream & operator<<(std::ostream &, const SiStripDetId &)
SiStripDetId(const uint32_t &raw_id)
static constexpr auto TOB
SiStripDetId(const uint32_t &raw_id, const uint16_t &reserved)
static constexpr auto TID
SiStripDetId(const DetId &det_id, const uint16_t &reserved)
double stripLength() const
constexpr uint32_t rawId() const
get the raw id
static const uint32_t sterMask_
SubDetector subDetector() const
static constexpr auto TIB
SiStripDetId(const DetId &det_id)
static const unsigned ringMaskTEC_
Detector identifier class for the strip tracker.
uint16_t reserved() const
uint32_t partnerDetId() const