1 #ifndef DataFormats_SiStripDetId_SiStripDetId_h 2 #define DataFormats_SiStripDetId_SiStripDetId_h 37 enum ModuleGeometry {
UNKNOWNGEOMETRY,
IB1,
IB2,
OB1,
OB2,
W1A,
W2A,
W3A,
W1B,
W2B,
W3B,
W4,
W5,
W6,
W7 };
48 inline uint32_t
glued()
const;
51 inline uint32_t
stereo()
const;
160 return (testId == 0) ? 0 : (
id_ - testId);
169 }
else if (testId == 2) {
181 #endif // DataFormats_SiStripDetId_SiStripDetId_h static const unsigned ringStartBitTID_
static const uint32_t sterStartBit_
std::ostream & operator<<(std::ostream &, const SiStripDetId &)
static const uint32_t sterMask_
constexpr uint32_t rawId() const
get the raw id
static const unsigned layerStartBit_
SiStripDetId(const DetId &det_id, const uint16_t &reserved)
SiStripDetId(const uint32_t &raw_id, const uint16_t &reserved)
SiStripDetId(const DetId &det_id)
SiStripDetId(Detector det, int subdet)
uint32_t partnerDetId() const
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
static const uint16_t reservedMask_
static const unsigned layerMask_
SiStripDetId(const uint32_t &raw_id)
uint16_t reserved() const
Detector identifier class for the strip tracker.
SubDetector subDetector() const
static const unsigned ringMaskTEC_
ESHandle< TrackerGeometry > geometry
double stripLength() const
static const unsigned ringStartBitTEC_
ModuleGeometry moduleGeometry() const
static const unsigned ringMaskTID_
static const uint16_t reservedStartBit_
constexpr Detector det() const
get the detector field from this detid