Detector identifier class for the strip tracker. More...
#include <SiStripDetId.h>
Public Types | |
using | SubDetector = SiStripSubdetector::Subdetector |
Public Types inherited from DetId | |
enum | Detector { Tracker = 1, Muon = 2, Ecal = 3, Hcal = 4, Calo = 5, Forward = 6, VeryForward = 7, HGCalEE = 8, HGCalHSi = 9, HGCalHSc = 10, HGCalTrigger = 11 } |
Public Member Functions | |
uint32_t | glued () const |
SiStripModuleGeometry | moduleGeometry () const |
uint32_t | partnerDetId () const |
uint16_t | reserved () const |
SiStripDetId () | |
SiStripDetId (const DetId &det_id) | |
SiStripDetId (const DetId &det_id, const uint16_t &reserved) | |
SiStripDetId (const uint32_t &raw_id) | |
SiStripDetId (const uint32_t &raw_id, const uint16_t &reserved) | |
SiStripDetId (Detector det, int subdet) | |
uint32_t | stereo () const |
double | stripLength () const |
SubDetector | subDetector () const |
Public Member Functions inherited from DetId | |
constexpr Detector | det () const |
get the detector field from this detid More... | |
constexpr | DetId () |
Create an empty or null id (also for persistence) More... | |
constexpr | DetId (Detector det, int subdet) |
Create an id, filling the detector and subdetector fields as specified. More... | |
constexpr | DetId (uint32_t id) |
Create an id from a raw number. More... | |
constexpr bool | null () const |
is this a null id ? More... | |
constexpr | operator uint32_t () const |
constexpr bool | operator!= (DetId id) const |
inequality More... | |
constexpr uint32_t | operator() () const |
constexpr bool | operator< (DetId id) const |
comparison More... | |
constexpr bool | operator== (DetId id) const |
equality More... | |
constexpr uint32_t | rawId () const |
get the raw id More... | |
constexpr int | subdetId () const |
get the contents of the subdetector field (not cast into any detector's numbering enum) More... | |
Static Public Attributes | |
static constexpr auto | TEC = SiStripSubdetector::TEC |
static constexpr auto | TIB = SiStripSubdetector::TIB |
static constexpr auto | TID = SiStripSubdetector::TID |
static constexpr auto | TOB = SiStripSubdetector::TOB |
static constexpr auto | UNKNOWN = SiStripSubdetector::UNKNOWN |
Static Public Attributes inherited from DetId | |
static const int | kDetMask = 0xF |
static const int | kDetOffset = 28 |
static const int | kSubdetMask = 0x7 |
static const int | kSubdetOffset = 25 |
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 | |
Protected Attributes inherited from DetId | |
uint32_t | id_ |
Detector identifier class for the strip tracker.
Definition at line 18 of file SiStripDetId.h.
Enumerated type for tracker sub-deteector systems.
Definition at line 35 of file SiStripDetId.h.
|
inline |
|
inline |
|
inline |
Construct from generic DetId
Definition at line 29 of file SiStripDetId.h.
|
inline |
Construct and fill only the det and sub-det fields.
Definition at line 32 of file SiStripDetId.h.
|
inline |
Construct from a raw value and set "reserved" field.
Definition at line 65 of file SiStripDetId.h.
References DetId::id_, reserved(), reservedMask_, and reservedStartBit_.
|
inline |
Construct from generic DetId and set "reserved" field.
Definition at line 74 of file SiStripDetId.h.
References DetId::id_, reserved(), reservedMask_, and reservedStartBit_.
|
inline |
A non-zero value means a glued module, null means not glued.
Definition at line 163 of file SiStripDetId.h.
References DetId::id_, sterMask_, and sterStartBit_.
Referenced by OverlapValidation::analyze().
|
inline |
Returns enumerated type specifying sub-detector.
Definition at line 109 of file SiStripDetId.h.
References geometry, IB1, IB2, DetId::id_, createfilelist::int, 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(), HITrackClusterRemover::sensorThickness(), siStripClusterTools::sensorThicknessInverse(), and APVGain::thickness().
|
inline |
Returns DetId of the partner module if glued, otherwise null.
Definition at line 170 of file SiStripDetId.h.
References DetId::id_, sterMask_, and sterStartBit_.
Referenced by TrackAssociatorByHitsImpl::associateSimToReco().
|
inline |
Returns value of "reserved" field.
Definition at line 184 of file SiStripDetId.h.
References DetId::id_, reservedMask_, and reservedStartBit_.
Referenced by SiStripDetId().
|
inline |
A non-zero value means a stereo module, null means not stereo.
Definition at line 168 of file SiStripDetId.h.
References DetId::id_, sterMask_, and sterStartBit_.
Referenced by OverlapValidation::analyze(), helper::ClusterStorer::ClusterHitRecord< SiStripRecHit2D::ClusterRef >rekey(), AlignmentTrackSelector::isHit2D(), ApeEstimator::isHit2D(), GeneralPurposeTrackAnalyzer::isHit2D(), DMRChecker::isHit2D(), TkAlCaOverlapTagger::produce(), and reco::modules::TrackerTrackHitFilter::produceFromTrajectory().
|
inline |
Returns strip length of strip tracker sensor, otherwise null.
Definition at line 182 of file SiStripDetId.h.
|
inline |
Returns enumerated type specifying sub-detector.
Definition at line 105 of file SiStripDetId.h.
References DetId::subdetId().
Referenced by sistrip::MeasureLA::calibration_key(), LA_Filler_Fitter::fill(), SiStripFolderOrganizer::getFolderName(), SiStripFolderOrganizer::getLayerFolderName(), moduleGeometry(), ShallowClustersProducer::moduleVars::moduleVars(), SiStripTrackerMapCreator::printBadModuleList(), SiStripTrackerMapCreator::printTopModules(), SiStripFolderOrganizer::setLayerFolder(), LA_Filler_Fitter::subdetLabel(), and TrackerDpgAnalysis::toStringName().
|
staticprivate |
Definition at line 96 of file SiStripDetId.h.
Referenced by moduleGeometry().
|
staticprivate |
Definition at line 95 of file SiStripDetId.h.
Referenced by moduleGeometry().
|
staticprivate |
Mask for "reserved" bit field (3-bits wide).
Definition at line 90 of file SiStripDetId.h.
Referenced by reserved(), and SiStripDetId().
|
staticprivate |
Position of "reserved" bit field.
Definition at line 84 of file SiStripDetId.h.
Referenced by reserved(), and SiStripDetId().
|
staticprivate |
Definition at line 100 of file SiStripDetId.h.
Referenced by moduleGeometry().
|
staticprivate |
Definition at line 98 of file SiStripDetId.h.
Referenced by moduleGeometry().
|
staticprivate |
Definition at line 99 of file SiStripDetId.h.
Referenced by moduleGeometry().
|
staticprivate |
Definition at line 97 of file SiStripDetId.h.
Referenced by moduleGeometry().
|
staticprivate |
Definition at line 93 of file SiStripDetId.h.
Referenced by glued(), partnerDetId(), and stereo().
|
staticprivate |
Definition at line 87 of file SiStripDetId.h.
Referenced by glued(), partnerDetId(), and stereo().
|
staticconstexpr |
Definition at line 40 of file SiStripDetId.h.
Referenced by FWConvTrackHitsDetailView::addModules(), SiStripHitEffFromCalibTree::algoAnalyze(), AlignmentStats::analyze(), SegmentTrackAnalyzer::analyze(), CosmicRateAnalyzer::analyze(), TrackerSystematicMisalignments::applySystematicMisalignment(), TrackAssociatorByHitsImpl::associateSimToReco(), SiStripLorentzAngleCalibration::beginOfJob(), SiStripBackplaneCalibration::beginOfJob(), MillePedeAlignmentAlgorithm::callMille2D(), AlignableTrackerBuilder::convertGeomDetsToAlignables(), AlignmentTrackSelector::detailedHitsCheck(), AlignmentParameterSelector::detUnitDeselected(), AlignmentStats::endJob(), SiStripMonitorTrack::fillControlViewHistos(), SiStripQualityDQM::fillGrandSummaryMEs(), MillePedeMonitor::fillTrack(), SiStripFolderOrganizer::getFolderName(), SiStripFolderOrganizer::getLayerFolderName(), SiStripFolderOrganizer::getSubDetLayerFolderName(), TkDetMap::getSubDetLayerSide(), track_associator::hitsToClusterRefs(), MeasurementTrackerImpl::initializeStripStatus(), SeedFromConsecutiveHitsTripletOnlyCreator::initialKinematic(), TkLayerMap::layerSearch(), moduleGeometry(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), SiStripTrackerMapCreator::printBadModuleList(), SiStripTrackerMapCreator::printTopModules(), TkAlCaOverlapTagger::produce(), GsfTrackProducerBase::putInEvt(), SiStripBadModuleConfigurableFakeESSource::selectDetectors(), SiStripFolderOrganizer::setLayerFolder(), and StripCPEfromTrackAngle::StripCPEfromTrackAngle().
|
staticconstexpr |
Definition at line 37 of file SiStripDetId.h.
Referenced by FWConvTrackHitsDetailView::addModules(), SiStripHitEffFromCalibTree::algoAnalyze(), AlignmentStats::analyze(), SegmentTrackAnalyzer::analyze(), CosmicRateAnalyzer::analyze(), TrackerSystematicMisalignments::applySystematicMisalignment(), TrackAssociatorByHitsImpl::associateSimToReco(), SiStripLorentzAngleCalibration::beginOfJob(), SiStripBackplaneCalibration::beginOfJob(), sistrip::MeasureLA::calibration_key(), StripSubClusterShapeSeedFilter::compatible(), AlignableTrackerBuilder::convertGeomDetsToAlignables(), AlignmentTrackSelector::detailedHitsCheck(), AlignmentParameterSelector::detUnitDeselected(), AlignmentStats::endJob(), LA_Filler_Fitter::fill(), SiStripMonitorTrack::fillControlViewHistos(), SiStripQualityDQM::fillGrandSummaryMEs(), MillePedeMonitor::fillTrack(), SiStripFolderOrganizer::getFolderName(), SiStripFolderOrganizer::getLayerFolderName(), SiStripFolderOrganizer::getSubDetLayerFolderName(), TkDetMap::getSubDetLayerSide(), MultiHitGeneratorFromChi2::hitSets(), track_associator::hitsToClusterRefs(), MeasurementTrackerImpl::initializeStripStatus(), AlignmentParameterSelector::layerDeselected(), TkLayerMap::layerSearch(), MatchedHitRZCorrectionFromBending::MatchedHitRZCorrectionFromBending(), moduleGeometry(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), reco::DeDxHitInfo::pixelCluster(), SiStripTrackerMapCreator::printBadModuleList(), SiStripTrackerMapCreator::printTopModules(), TkAlCaOverlapTagger::produce(), GsfTrackProducerBase::putInEvt(), SiStripMonitorTrack::RecHitInfo(), SiStripBadModuleConfigurableFakeESSource::selectDetectors(), HITrackClusterRemover::sensorThickness(), siStripClusterTools::sensorThicknessInverse(), SiStripFolderOrganizer::setLayerFolder(), reco::DeDxHitInfo::stripCluster(), StripCPEfromTrackAngle::StripCPEfromTrackAngle(), StripSubClusterShapeTrajectoryFilter::testLastHit(), and APVGain::thickness().
|
staticconstexpr |
Definition at line 38 of file SiStripDetId.h.
Referenced by FWConvTrackHitsDetailView::addModules(), SiStripHitEffFromCalibTree::algoAnalyze(), AlignmentStats::analyze(), SegmentTrackAnalyzer::analyze(), CosmicRateAnalyzer::analyze(), TrackerSystematicMisalignments::applySystematicMisalignment(), TrackAssociatorByHitsImpl::associateSimToReco(), SiStripLorentzAngleCalibration::beginOfJob(), SiStripBackplaneCalibration::beginOfJob(), MillePedeAlignmentAlgorithm::callMille2D(), AlignableTrackerBuilder::convertGeomDetsToAlignables(), AlignmentTrackSelector::detailedHitsCheck(), AlignmentParameterSelector::detUnitDeselected(), AlignmentStats::endJob(), SiStripMonitorTrack::fillControlViewHistos(), SiStripQualityDQM::fillGrandSummaryMEs(), MillePedeMonitor::fillTrack(), SiStripFolderOrganizer::getFolderName(), SiStripFolderOrganizer::getLayerFolderName(), SiStripFolderOrganizer::getSubDetLayerFolderName(), TkDetMap::getSubDetLayerSide(), MultiHitGeneratorFromChi2::hitSets(), track_associator::hitsToClusterRefs(), MeasurementTrackerImpl::initializeStripStatus(), SeedFromConsecutiveHitsTripletOnlyCreator::initialKinematic(), TkLayerMap::layerSearch(), moduleGeometry(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), SiStripTrackerMapCreator::printBadModuleList(), SiStripTrackerMapCreator::printTopModules(), TkAlCaOverlapTagger::produce(), GsfTrackProducerBase::putInEvt(), SiStripBadModuleConfigurableFakeESSource::selectDetectors(), SiStripFolderOrganizer::setLayerFolder(), and StripCPEfromTrackAngle::StripCPEfromTrackAngle().
|
staticconstexpr |
Definition at line 39 of file SiStripDetId.h.
Referenced by FWConvTrackHitsDetailView::addModules(), SiStripHitEffFromCalibTree::algoAnalyze(), AlignmentStats::analyze(), SegmentTrackAnalyzer::analyze(), CosmicRateAnalyzer::analyze(), TrackerSystematicMisalignments::applySystematicMisalignment(), TrackAssociatorByHitsImpl::associateSimToReco(), SiStripLorentzAngleCalibration::beginOfJob(), SiStripBackplaneCalibration::beginOfJob(), AlignableTrackerBuilder::convertGeomDetsToAlignables(), AlignmentTrackSelector::detailedHitsCheck(), AlignmentParameterSelector::detUnitDeselected(), AlignmentStats::endJob(), LA_Filler_Fitter::fill(), SiStripMonitorTrack::fillControlViewHistos(), SiStripQualityDQM::fillGrandSummaryMEs(), MillePedeMonitor::fillTrack(), SiStripFolderOrganizer::getFolderName(), SiStripFolderOrganizer::getLayerFolderName(), SiStripFolderOrganizer::getSubDetLayerFolderName(), TkDetMap::getSubDetLayerSide(), track_associator::hitsToClusterRefs(), MeasurementTrackerImpl::initializeStripStatus(), AlignmentParameterSelector::layerDeselected(), TkLayerMap::layerSearch(), moduleGeometry(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), SiStripTrackerMapCreator::printBadModuleList(), SiStripTrackerMapCreator::printTopModules(), TkAlCaOverlapTagger::produce(), GsfTrackProducerBase::putInEvt(), SiStripMonitorTrack::RecHitInfo(), SiStripBadModuleConfigurableFakeESSource::selectDetectors(), HITrackClusterRemover::sensorThickness(), siStripClusterTools::sensorThicknessInverse(), SiStripFolderOrganizer::setLayerFolder(), StripCPEfromTrackAngle::StripCPEfromTrackAngle(), LA_Filler_Fitter::subdetLabel(), and APVGain::thickness().
|
staticconstexpr |
Definition at line 36 of file SiStripDetId.h.
Referenced by moduleGeometry().