Detector identifier class for the strip tracker. More...
#include <SiStripDetId.h>
Public Types | |
enum | ModuleGeometry { UNKNOWNGEOMETRY, IB1, IB2, OB1, OB2, W1A, W2A, W3A, W1B, W2B, W3B, W4, W5, W6, W7 } |
enum | SubDetector { UNKNOWN =0, TIB =3, TID =4, TOB =5, TEC =6 } |
Public Types inherited from DetId | |
enum | Detector { Tracker =1, Muon =2, Ecal =3, Hcal =4, Calo =5 } |
Public Member Functions | |
uint32_t | glued () const |
ModuleGeometry | moduleGeometry () const |
uint32_t | partnerDetId () const |
uint16_t | reserved () const |
SiStripDetId () | |
SiStripDetId (const uint32_t &raw_id) | |
SiStripDetId (const DetId &det_id) | |
SiStripDetId (Detector det, int subdet) | |
SiStripDetId (const uint32_t &raw_id, const uint16_t &reserved) | |
SiStripDetId (const DetId &det_id, const uint16_t &reserved) | |
uint32_t | stereo () const |
double | stripLength () const |
SubDetector | subDetector () const |
Public Member Functions inherited from DetId | |
Detector | det () const |
get the detector field from this detid More... | |
DetId () | |
Create an empty or null id (also for persistence) More... | |
DetId (uint32_t id) | |
Create an id from a raw number. More... | |
DetId (Detector det, int subdet) | |
Create an id, filling the detector and subdetector fields as specified. More... | |
bool | null () const |
is this a null id ? More... | |
operator uint32_t () const | |
bool | operator!= (DetId id) const |
inequality More... | |
uint32_t | operator() () const |
bool | operator< (DetId id) const |
comparison More... | |
bool | operator== (DetId id) const |
equality More... | |
uint32_t | rawId () const |
get the raw id More... | |
int | subdetId () const |
get the contents of the subdetector field (not cast into any detector's numbering enum) More... | |
Static Private Attributes | |
static const unsigned | layerMask_ = 0x7 |
static const unsigned | layerStartBit_ = 14 |
static const uint16_t | reservedMask_ = 0x7 |
static const uint16_t | reservedStartBit_ = 20 |
static const unsigned | ringMaskTEC_ = 0x7 |
static const unsigned | ringMaskTID_ = 0x3 |
static const unsigned | ringStartBitTEC_ = 5 |
static const unsigned | ringStartBitTID_ = 9 |
static const uint32_t | sterMask_ = 0x3 |
static const uint32_t | sterStartBit_ = 0 |
Additional Inherited Members | |
Static Public Attributes inherited from DetId | |
static const int | kDetOffset = 28 |
static const int | kSubdetOffset = 25 |
Protected Attributes inherited from DetId | |
uint32_t | id_ |
Detector identifier class for the strip tracker.
Definition at line 17 of file SiStripDetId.h.
Enumerated type for tracker module geometries.
Enumerator | |
---|---|
UNKNOWNGEOMETRY | |
IB1 | |
IB2 | |
OB1 | |
OB2 | |
W1A | |
W2A | |
W3A | |
W1B | |
W2B | |
W3B | |
W4 | |
W5 | |
W6 | |
W7 |
Definition at line 39 of file SiStripDetId.h.
Enumerated type for tracker sub-deteector systems.
Enumerator | |
---|---|
UNKNOWN | |
TIB | |
TID | |
TOB | |
TEC |
Definition at line 36 of file SiStripDetId.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Construct from a raw value and set "reserved" field.
Definition at line 65 of file SiStripDetId.h.
References DetId::id_, reservedMask_, and reservedStartBit_.
|
inline |
Construct from generic DetId and set "reserved" field.
Definition at line 77 of file SiStripDetId.h.
References DetId::id_, reservedMask_, and reservedStartBit_.
|
inline |
A non-zero value means a glued module, null means not glued.
Definition at line 154 of file SiStripDetId.h.
References DetId::id_, sterMask_, and sterStartBit_.
Referenced by AlignableTracker::detsToAlignables(), TOBDetId::isDoubleSide(), TIBDetId::isDoubleSide(), TIDDetId::isDoubleSide(), TECDetId::isDoubleSide(), TrackerTopology::tecIsDoubleSide(), TrackerTopology::tibIsDoubleSide(), TrackerTopology::tidIsDoubleSide(), TrackerTopology::tobIsDoubleSide(), and trackerHierarchy().
|
inline |
Returns enumerated type specifying sub-detector.
Definition at line 132 of file SiStripDetId.h.
References IB1, IB2, DetId::id_, layerMask_, layerStartBit_, OB1, OB2, ringMaskTEC_, ringMaskTID_, ringStartBitTEC_, ringStartBitTID_, subDetector(), TEC, TIB, TID, TOB, UNKNOWN, UNKNOWNGEOMETRY, W1A, W1B, W2A, W2B, W3A, W3B, W4, W5, W6, and W7.
Referenced by SiPixelErrorEstimation::analyze(), SiStripBackPlaneCorrectionGenerator::createObject(), SiStripBackPlaneCorrection::printDebug(), TrackClusterRemover::sensorThickness(), and TrackClusterSplitter::splitCluster().
|
inline |
Returns DetId of the partner module if glued, otherwise null.
Definition at line 168 of file SiStripDetId.h.
References DetId::id_, sterMask_, and sterStartBit_.
|
inline |
Returns value of "reserved" field.
Definition at line 181 of file SiStripDetId.h.
References DetId::id_, reservedMask_, and reservedStartBit_.
|
inline |
A non-zero value means a stereo module, null means not stereo.
Definition at line 162 of file SiStripDetId.h.
References DetId::id_, sterMask_, and sterStartBit_.
Referenced by sistrip::MeasureLA::calibration_key(), helper::ClusterStorer::ClusterHitRecord< SiStripRecHit2D::ClusterRef >rekey(), SiStripRecHitsValid::createMEs(), SiStripTrackingRecHitsValid::createMEs(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripSubStructure::getTECDetectors(), SiStripSubStructure::getTIDDetectors(), AlignmentTrackSelector::isHit2D(), TOBDetId::isRPhi(), TIBDetId::isRPhi(), TIDDetId::isRPhi(), TECDetId::isRPhi(), TOBDetId::isStereo(), TIBDetId::isStereo(), TIDDetId::isStereo(), TECDetId::isStereo(), LA_Filler_Fitter::layerLabel(), StripCPEfromTemplate::localParameters(), TkAlCaOverlapTagger::produce(), reco::modules::TrackerTrackHitFilter::produceFromTrajectory(), TrackerTopology::tecIsRPhi(), TrackerTopology::tibIsRPhi(), TrackerTopology::tidIsRPhi(), TrackerTopology::tobIsRPhi(), and trackerHierarchy().
|
inline |
Returns strip length of strip tracker sensor, otherwise null.
Definition at line 176 of file SiStripDetId.h.
|
inline |
Returns enumerated type specifying sub-detector.
Definition at line 114 of file SiStripDetId.h.
References DetId::det(), DetId::subdetId(), TEC, TIB, TID, TOB, DetId::Tracker, and UNKNOWN.
Referenced by MonitorTrackResiduals::analyze(), sistrip::MeasureLA::calibration_key(), MonitorTrackResiduals::createMEs(), LA_Filler_Fitter::fill(), SiStripFolderOrganizer::getFolderName(), SiStripFolderOrganizer::getLayerFolderName(), SiStripHashedDetId::init(), ClusterSummary::ModuleSelection::IsStripSelected(), SiStripBadModuleGenerator::isTECDetector(), SiStripBadModuleGenerator::isTIBDetector(), SiStripBadModuleGenerator::isTIDDetector(), SiStripBadModuleGenerator::isTOBDetector(), LA_Filler_Fitter::layerLabel(), moduleGeometry(), ShallowClustersProducer::moduleVars::moduleVars(), SiStripTrackerMapCreator::printBadModuleList(), SiStripFolderOrganizer::setLayerFolder(), SiStripRegionCabling::subdetFromDetId(), LA_Filler_Fitter::subdetLabel(), TrackerDpgAnalysis::toStringName(), and HDQMInspectorConfigSiStrip::translateDetId().
|
staticprivate |
Definition at line 104 of file SiStripDetId.h.
Referenced by moduleGeometry().
|
staticprivate |
Definition at line 103 of file SiStripDetId.h.
Referenced by moduleGeometry().
|
staticprivate |
Mask for "reserved" bit field (3-bits wide).
Definition at line 98 of file SiStripDetId.h.
Referenced by reserved(), and SiStripDetId().
|
staticprivate |
Position of "reserved" bit field.
Definition at line 92 of file SiStripDetId.h.
Referenced by reserved(), and SiStripDetId().
|
staticprivate |
Definition at line 108 of file SiStripDetId.h.
Referenced by moduleGeometry().
|
staticprivate |
Definition at line 106 of file SiStripDetId.h.
Referenced by moduleGeometry().
|
staticprivate |
Definition at line 107 of file SiStripDetId.h.
Referenced by moduleGeometry().
|
staticprivate |
Definition at line 105 of file SiStripDetId.h.
Referenced by moduleGeometry().
|
staticprivate |
Definition at line 101 of file SiStripDetId.h.
Referenced by glued(), partnerDetId(), and stereo().
|
staticprivate |
Definition at line 95 of file SiStripDetId.h.
Referenced by glued(), partnerDetId(), and stereo().