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;
142 case 1: geometry =
W1A;
144 case 2: geometry =
W2A;
146 case 3: geometry =
W3A;
151 case 1: geometry =
W1B;
153 case 2: geometry =
W2B;
155 case 3: geometry =
W3B;
157 case 4: geometry =
W4;
159 case 5: geometry =
W5;
161 case 6: geometry =
W6;
163 case 7: geometry =
W7;
173 return ( testId == 0 ) ? 0 : (
id_ - testId);
184 }
else if ( testId == 2 ) {
186 }
else { testId = 0; }
199 #endif // DataFormats_SiStripDetId_SiStripDetId_h
static const unsigned ringStartBitTID_
static const uint32_t sterStartBit_
static const uint32_t sterMask_
static const unsigned layerStartBit_
SiStripDetId(const DetId &det_id, const uint16_t &reserved)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
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_