![]() |
![]() |
#include <TIDDetId.h>
Public Member Functions | |
unsigned int | diskNumber () const |
bool | isBackRing () const |
bool | isDoubleSide () const |
bool | isFrontRing () const |
bool | isRPhi () |
bool | isStereo () |
bool | isZMinusSide () const |
bool | isZPlusSide () const |
std::vector< unsigned int > | module () const |
det id More... | |
unsigned int | moduleNumber () const |
unsigned int | order () const |
unsigned int | ring () const |
ring id More... | |
unsigned int | ringNumber () const |
unsigned int | side () const |
positive or negative id More... | |
TIDDetId () | |
TIDDetId (uint32_t rawid) | |
TIDDetId (const DetId &id) | |
TIDDetId (uint32_t side, uint32_t wheel, uint32_t ring, uint32_t module_fw_bw, uint32_t module, uint32_t ster) | |
unsigned int | wheel () const |
wheel id More... | |
![]() | |
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 |
![]() | |
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 int | module_fw_bwMask_ = 0x3 |
static const unsigned int | module_fw_bwStartBit_ = 7 |
static const unsigned int | moduleMask_ = 0x1F |
static const unsigned int | moduleStartBit_ = 2 |
static const unsigned int | ringMask_ = 0x3 |
static const unsigned int | ringStartBit_ = 9 |
static const unsigned int | sideMask_ = 0x3 |
two bits would be enough, but we could use the number "0" as a wildcard More... | |
static const unsigned int | sideStartBit_ = 13 |
two bits would be enough, but we could use the number "0" as a wildcard More... | |
static const unsigned int | sterMask_ = 0x3 |
static const unsigned int | sterStartBit_ = 0 |
static const unsigned int | wheelMask_ = 0x3 |
static const unsigned int | wheelStartBit_ = 11 |
Additional Inherited Members | |
![]() | |
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 } |
![]() | |
enum | Detector { Tracker =1, Muon =2, Ecal =3, Hcal =4, Calo =5 } |
![]() | |
static const int | kDetOffset = 28 |
static const int | kSubdetOffset = 25 |
![]() | |
uint32_t | id_ |
Definition at line 16 of file TIDDetId.h.
TIDDetId::TIDDetId | ( | ) |
Constructor of a null id
Definition at line 3 of file TIDDetId.cc.
TIDDetId::TIDDetId | ( | uint32_t | rawid | ) |
Constructor from a raw value
Definition at line 5 of file TIDDetId.cc.
TIDDetId::TIDDetId | ( | const DetId & | id | ) |
|
inline |
Definition at line 25 of file TIDDetId.h.
References DetId::id_, module_fw_bwMask_, module_fw_bwStartBit_, moduleMask_, moduleStartBit_, ringMask_, ringStartBit_, sideMask_, sideStartBit_, sterMask_, sterStartBit_, wheelMask_, and wheelStartBit_.
|
inline |
Returns the disk number
Definition at line 93 of file TIDDetId.h.
References wheel().
Referenced by AlignmentStats::endJob(), SiStripBadModuleGenerator::isTIDDetector(), AlignmentParameterSelector::outsideDetIdRanges(), and TrackerDpgAnalysis::toStringName().
|
inline |
Returns true if the ring is mounted on the disk back (not facing impact point)
Definition at line 85 of file TIDDetId.h.
References order().
Referenced by TkLayerMap::getXY_TID(), and isFrontRing().
bool TIDDetId::isDoubleSide | ( | ) | const |
Returns true if the module is a double side = rphi + stereo
Definition at line 10 of file TIDDetId.cc.
References SiStripDetId::glued(), and ring().
Referenced by AlignmentStats::endJob(), TrackerOfflineValidationSummary::fillTree(), TrackerOfflineValidation::fillTree(), isRPhi(), isStereo(), and TrackerDpgAnalysis::toStringName().
|
inline |
Returns true if the ring is mounted on the disk front (facing impact point)
Definition at line 89 of file TIDDetId.h.
References isBackRing().
Referenced by TrackerDpgAnalysis::toStringName().
|
inline |
Returns true if the module is rphi
Definition at line 105 of file TIDDetId.h.
References isDoubleSide(), and SiStripDetId::stereo().
Referenced by SiStripBadModuleGenerator::isTIDDetector(), and TrackerDpgAnalysis::toStringName().
|
inline |
Returns true if the module is stereo
Definition at line 109 of file TIDDetId.h.
References isDoubleSide(), and SiStripDetId::stereo().
Referenced by AlignmentStats::endJob(), SiStripFolderOrganizer::getFolderName(), TkLayerMap::getXY_TID(), SiStripBadModuleGenerator::isTIDDetector(), and ShallowClustersProducer::moduleVars::moduleVars().
|
inline |
Returns true if the module is in TID- (z<0 side)
Definition at line 81 of file TIDDetId.h.
References side().
Referenced by AlignmentTrackSelector::detailedHitsCheck(), MillePedeMonitor::fillTrack(), TkLayerMap::getXY_TID(), ClusterSummary::ModuleSelection::IsStripSelected(), isZPlusSide(), and ShallowClustersProducer::moduleVars::moduleVars().
|
inline |
Returns true if the module is in TID+ (z>0 side)
Definition at line 77 of file TIDDetId.h.
References isZMinusSide().
Referenced by AlignmentTrackSelector::detailedHitsCheck(), MillePedeMonitor::fillTrack(), SiStripBadModuleGenerator::isTIDDetector(), and TrackerDpgAnalysis::toStringName().
|
inline |
det id
vector[0] = 1 -> back ring vector[0] = 2 -> front ring vector[1] -> module
Definition at line 64 of file TIDDetId.h.
References moduleNumber(), and order().
Referenced by SiStripLAProfileBooker::analyze(), RingMaker::determineExtensions(), RingMaker::dumpDetIds(), TrackerGeometryCompare::fillIdentifiers(), RingMaker::fillTIDGeometryArray(), TrackerOfflineValidationSummary::fillTree(), TrackerOfflineValidation::fillTree(), align::tid::moduleNumber(), RoadSearchDetIdHelper::Print(), align::tid::sideNumber(), and trackerHierarchy().
|
inline |
Returns the module number
Definition at line 101 of file TIDDetId.h.
References DetId::id_, moduleMask_, and moduleStartBit_.
Referenced by SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), TkLayerMap::getXY_TID(), module(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), and TrackerDpgAnalysis::toStringName().
|
inline |
Definition at line 70 of file TIDDetId.h.
References DetId::id_, module_fw_bwMask_, and module_fw_bwStartBit_.
Referenced by isBackRing(), and module().
|
inline |
ring id
Definition at line 55 of file TIDDetId.h.
References DetId::id_, ringMask_, and ringStartBit_.
Referenced by SiStripDigiValid::analyze(), SiStripRecHitsValid::analyze(), SiStripTrackingRecHitsValid::analyze(), RingMaker::determineExtensions(), RingMaker::dumpDetIds(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), TrackerGeometryCompare::fillIdentifiers(), RingMaker::fillTIDGeometryArray(), TrackerOfflineValidationSummary::fillTree(), TrackerOfflineValidation::fillTree(), SiTrackerGaussianSmearingRecHitConverter::gaussianSmearing(), SiStripFolderOrganizer::getFolderName(), TrajectoryCleanerMerger::getLayer(), SiStripLAProfileBooker::getlayer(), SiStripFolderOrganizer::getLayerFolderName(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripHistoId::getSubdetid(), SiStripSubStructure::getTIDDetectors(), TkLayerMap::getXY_TID(), geometryXMLparser.CSCAlignable::index(), isDoubleSide(), TrajectoryAtInvalidHit::isDoubleSided(), HitEff::isDoubleSided(), RoadSearchDetIdHelper::IsMatched(), RoadSearchDetIdHelper::IsSingleRPhi(), TrajectoryManager::makeSinglePSimHit(), AlignmentParameterSelector::outsideDetIdRanges(), RoadSearchDetIdHelper::Print(), align::tid::ringNumber(), ringNumber(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), SiStripNoisesGenerator::subDetAndLayer(), SiStripNoiseNormalizedWithApvGainBuilder::subDetAndLayer(), SiStripApvGainBuilderFromTag::subDetAndLayer(), trackerHierarchy(), and SiTrivialInduceChargeOnStrips::typeOf().
|
inline |
Returns the ring number
Definition at line 97 of file TIDDetId.h.
References ring().
Referenced by ClusterSummary::ModuleSelection::IsStripSelected(), SiStripBadModuleGenerator::isTIDDetector(), ShallowClustersProducer::moduleVars::moduleVars(), and TrackerDpgAnalysis::toStringName().
|
inline |
positive or negative id
side() = 1 The DetId identify a module in the negative part side() = 2 The DetId identify a module in the positive part
Definition at line 45 of file TIDDetId.h.
References DetId::id_, sideMask_, and sideStartBit_.
Referenced by SiStripHitEffFromCalibTree::algoAnalyze(), SiStripGainFromData::algoBeginJob(), SiStripQualityStatistics::analyze(), SiStripDigiValid::analyze(), RingMaker::determineExtensions(), SiStripBadComponentsDQMServiceReader::detIdToString(), RingMaker::dumpDetIds(), align::tid::endcapNumber(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), RingMaker::fillTIDGeometryArray(), TrackerOfflineValidationSummary::fillTree(), TrackerOfflineValidation::fillTree(), SiStripCablingDQM::getActiveDetIds(), SiStripFolderOrganizer::getFolderName(), SiStripPlotGain::getHistos(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripCorrelateNoise::getHistos(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), PrintRecoObjects::getString(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripUtility::getSubDetectorTag(), SiStripHistoId::getSubdetid(), SiStripSubStructure::getTIDDetectors(), isZMinusSide(), AlignmentPrescaler::layerFromId(), TkAlCaOverlapTagger::layerFromId(), reco::modules::TrackerTrackHitFilter::layerFromId(), SiStripDetCabling::layerSearch(), TkLayerMap::layerSearch(), TrajectoryManager::makeSinglePSimHit(), DetIdTIDSameDiskComparator::operator()(), AlignmentParameterSelector::outsideDetIdRanges(), RoadSearchDetIdHelper::Print(), SiStripTrackerMapCreator::printBadModuleList(), SiStripFolderOrganizer::setLayerFolder(), trackerHierarchy(), and HDQMInspectorConfigSiStrip::translateDetId().
|
inline |
wheel id
Definition at line 50 of file TIDDetId.h.
References DetId::id_, wheelMask_, and wheelStartBit_.
Referenced by SiStripDetSummary::add(), SiStripHitEffFromCalibTree::algoAnalyze(), SiStripQualityStatistics::analyze(), SiStripDigiValid::analyze(), SiStripLAProfileBooker::analyze(), ElectronSeedAnalyzer::analyze(), HitEff::checkLayer(), SiStripElectronAlgo::coarseHitSelection(), reco::DeDxHit::DeDxHit(), RingMaker::determineExtensions(), align::tid::diskNumber(), diskNumber(), RingMaker::dumpDetIds(), reco::HitPattern::encode(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), RingMaker::fillTIDGeometryArray(), TrackerOfflineValidationSummary::fillTree(), TrackerOfflineValidation::fillTree(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), KFTrajectoryFitter::fit(), SiStripCablingDQM::getActiveDetIds(), getDetLayer(), SiStripFolderOrganizer::getFolderName(), SiStripPlotGain::getHistos(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripCorrelateNoise::getHistos(), TrajectoryCleanerMerger::getLayer(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), GlobalMuonRefitter::getRidOfSelectStationHits(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripHistoId::getSubdetid(), SiStripSubStructure::getTIDDetectors(), TrackTransformerForGlobalCosmicMuons::getTransientRecHits(), GeometricSearchTracker::idToLayer(), geometryXMLparser.DTAlignable::index(), DetIdInfo::info(), fireworks::info(), CheckHitPattern::interpretDetId(), PFCheckHitPattern::interpretDetId(), ClusterSummary::ModuleSelection::IsStripSelected(), reco::modules::TrackerTrackHitFilter::Rule::layer(), TrackingTruthProducer::LayerFromDetid(), TrackAssociatorByHits::LayerFromDetid(), SiStripRegionCabling::layerFromDetId(), MuonAssociatorByHits::LayerFromDetid(), AlignmentPrescaler::layerFromId(), TkAlCaOverlapTagger::layerFromId(), reco::modules::TrackerTrackHitFilter::layerFromId(), SiStripDetCabling::layerSearch(), TkLayerMap::layerSearch(), TrajectoryManager::makeSinglePSimHit(), ShallowClustersProducer::moduleVars::moduleVars(), DetIdTIDSameDiskComparator::operator()(), CtfSpecialSeedGenerator::preliminaryCheck(), RoadSearchDetIdHelper::Print(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), trackerHierarchy(), TrackTransformerForGlobalCosmicMuons::TrackerKeep(), KFTrajectorySmoother::trajectories(), and TrackerAlignableId::typeAndLayerFromDetId().
|
staticprivate |
Definition at line 124 of file TIDDetId.h.
Referenced by order(), and TIDDetId().
|
staticprivate |
Definition at line 117 of file TIDDetId.h.
Referenced by order(), and TIDDetId().
|
staticprivate |
Definition at line 125 of file TIDDetId.h.
Referenced by moduleNumber(), and TIDDetId().
|
staticprivate |
Definition at line 118 of file TIDDetId.h.
Referenced by moduleNumber(), and TIDDetId().
|
staticprivate |
Definition at line 123 of file TIDDetId.h.
Referenced by ring(), and TIDDetId().
|
staticprivate |
Definition at line 116 of file TIDDetId.h.
Referenced by ring(), and TIDDetId().
|
staticprivate |
two bits would be enough, but we could use the number "0" as a wildcard
Definition at line 121 of file TIDDetId.h.
Referenced by side(), and TIDDetId().
|
staticprivate |
two bits would be enough, but we could use the number "0" as a wildcard
Definition at line 114 of file TIDDetId.h.
Referenced by side(), and TIDDetId().
|
staticprivate |
Definition at line 126 of file TIDDetId.h.
Referenced by TIDDetId().
|
staticprivate |
Definition at line 119 of file TIDDetId.h.
Referenced by TIDDetId().
|
staticprivate |
Definition at line 122 of file TIDDetId.h.
Referenced by TIDDetId(), and wheel().
|
staticprivate |
Definition at line 115 of file TIDDetId.h.
Referenced by TIDDetId(), and wheel().