1 #ifndef DataFormats_SiStripDetId_SiStripDetId_h 2 #define DataFormats_SiStripDetId_SiStripDetId_h 39 enum ModuleGeometry {
UNKNOWNGEOMETRY,
IB1,
IB2,
OB1,
OB2,
W1A,
W2A,
W3A,
W1B,
W2B,
W3B,
W4,
W5,
W6,
W7};
50 inline uint32_t
glued()
const;
53 inline uint32_t
stereo()
const;
126 case 1: geometry =
W1A;
128 case 2: geometry =
W2A;
130 case 3: geometry =
W3A;
135 case 1: geometry =
W1B;
137 case 2: geometry =
W2B;
139 case 3: geometry =
W3B;
141 case 4: geometry =
W4;
143 case 5: geometry =
W5;
145 case 6: geometry =
W6;
147 case 7: geometry =
W7;
157 return ( testId == 0 ) ? 0 : (
id_ - testId);
168 }
else if ( testId == 2 ) {
170 }
else { testId = 0; }
183 #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_
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)
uint32_t rawId() const
get the raw id
SiStripDetId(Detector det, int subdet)
uint32_t partnerDetId() const
static const uint16_t reservedMask_
static const unsigned layerMask_
SiStripDetId(const uint32_t &raw_id)
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
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_
Detector det() const
get the detector field from this detid
static const uint16_t reservedStartBit_