CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Private Attributes
TrackerTopology Class Reference

#include <TrackerTopology.h>

Classes

struct  BitmaskAndSubdet
 
struct  PixelBarrelValues
 
struct  PixelEndcapValues
 
class  SameLayerComparator
 
struct  TECValues
 
struct  TIBValues
 
struct  TIDValues
 
struct  TOBValues
 

Public Types

enum  DetIdFields {
  PBModule, PBLadder, PBLayer, PFModule,
  PFPanel, PFBlade, PFDisk, PFSide,
  DETID_FIELDS_MAX
}
 

Public Member Functions

unsigned int getField (const DetId &id, DetIdFields idx) const
 
int getITPixelLayerNumber (const DetId &id) const
 
int getOTLayerNumber (const DetId &id) const
 
uint32_t glued (const DetId &id) const
 
bool hasField (const DetId &id, DetIdFields idx) const
 
bool isLower (const DetId &id) const
 
bool isRPhi (const DetId &id) const
 
bool isStereo (const DetId &id) const
 
bool isUpper (const DetId &id) const
 
unsigned int layer (const DetId &id) const
 
uint32_t lower (const DetId &id) const
 
unsigned int module (const DetId &id) const
 
SiStripModuleGeometry moduleGeometry (const DetId &id) const
 
DetId partnerDetId (const DetId &id) const
 
std::string print (DetId detid) const
 
DetId pxbDetId (uint32_t layer, uint32_t ladder, uint32_t module) const
 
std::pair< DetId, SameLayerComparatorpxbDetIdLayerComparator (uint32_t layer) const
 
unsigned int pxbLadder (const DetId &id) const
 
unsigned int pxbLayer (const DetId &id) const
 
unsigned int pxbModule (const DetId &id) const
 
unsigned int pxfBlade (const DetId &id) const
 
DetId pxfDetId (uint32_t side, uint32_t disk, uint32_t blade, uint32_t panel, uint32_t module) const
 
std::pair< DetId, SameLayerComparatorpxfDetIdDiskComparator (uint32_t side, uint32_t disk) const
 
unsigned int pxfDisk (const DetId &id) const
 
unsigned int pxfModule (const DetId &id) const
 
unsigned int pxfPanel (const DetId &id) const
 
unsigned int pxfSide (const DetId &id) const
 
unsigned int side (const DetId &id) const
 
uint32_t stack (const DetId &id) const
 
DetId tecDetId (uint32_t side, uint32_t wheel, uint32_t petal_fw_bw, uint32_t petal, uint32_t ring, uint32_t module, uint32_t ster) const
 
std::pair< DetId, SameLayerComparatortecDetIdWheelComparator (uint32_t side, uint32_t wheel) const
 
uint32_t tecGlued (const DetId &id) const
 
bool tecIsBackPetal (const DetId &id) const
 
bool tecIsDoubleSide (const DetId &id) const
 
bool tecIsFrontPetal (const DetId &id) const
 
bool tecIsRPhi (const DetId &id) const
 
bool tecIsStereo (const DetId &id) const
 
bool tecIsZMinusSide (const DetId &id) const
 
bool tecIsZPlusSide (const DetId &id) const
 
uint32_t tecLower (const DetId &id) const
 
unsigned int tecModule (const DetId &id) const
 
unsigned int tecOrder (const DetId &id) const
 
uint32_t tecPartnerDetId (const DetId &id) const
 
std::vector< unsigned int > tecPetalInfo (const DetId &id) const
 
unsigned int tecPetalNumber (const DetId &id) const
 
unsigned int tecRing (const DetId &id) const
 ring id More...
 
uint32_t tecRPhi (const DetId &id) const
 
unsigned int tecSide (const DetId &id) const
 
uint32_t tecStack (const DetId &id) const
 
uint32_t tecStereo (const DetId &id) const
 
uint32_t tecUpper (const DetId &id) const
 
unsigned int tecWheel (const DetId &id) const
 
DetId tibDetId (uint32_t layer, uint32_t str_fw_bw, uint32_t str_int_ext, uint32_t str, uint32_t module, uint32_t ster) const
 
std::pair< DetId, SameLayerComparatortibDetIdLayerComparator (uint32_t layer) const
 
uint32_t tibGlued (const DetId &id) const
 
bool tibIsDoubleSide (const DetId &id) const
 
bool tibIsExternalString (const DetId &id) const
 
bool tibIsInternalString (const DetId &id) const
 
bool tibIsRPhi (const DetId &id) const
 
bool tibIsStereo (const DetId &id) const
 
bool tibIsZMinusSide (const DetId &id) const
 
bool tibIsZPlusSide (const DetId &id) const
 
unsigned int tibLayer (const DetId &id) const
 
uint32_t tibLower (const DetId &id) const
 
unsigned int tibModule (const DetId &id) const
 
unsigned int tibOrder (const DetId &id) const
 
DetId tibPartnerDetId (const DetId &id) const
 
uint32_t tibRPhi (const DetId &id) const
 
unsigned int tibSide (const DetId &id) const
 
uint32_t tibStack (const DetId &id) const
 
uint32_t tibStereo (const DetId &id) const
 
unsigned int tibString (const DetId &id) const
 
std::vector< unsigned int > tibStringInfo (const DetId &id) const
 
uint32_t tibUpper (const DetId &id) const
 
DetId tidDetId (uint32_t side, uint32_t wheel, uint32_t ring, uint32_t module_fw_bw, uint32_t module, uint32_t ster) const
 
std::pair< DetId, SameLayerComparatortidDetIdWheelComparator (uint32_t side, uint32_t wheel) const
 
uint32_t tidGlued (const DetId &id) const
 
bool tidIsBackRing (const DetId &id) const
 
bool tidIsDoubleSide (const DetId &id) const
 
bool tidIsFrontRing (const DetId &id) const
 
bool tidIsRPhi (const DetId &id) const
 
bool tidIsStereo (const DetId &id) const
 
bool tidIsZMinusSide (const DetId &id) const
 
bool tidIsZPlusSide (const DetId &id) const
 
uint32_t tidLower (const DetId &id) const
 
unsigned int tidModule (const DetId &id) const
 
std::vector< unsigned int > tidModuleInfo (const DetId &id) const
 
unsigned int tidOrder (const DetId &id) const
 
DetId tidPartnerDetId (const DetId &id) const
 
unsigned int tidRing (const DetId &id) const
 
uint32_t tidRPhi (const DetId &id) const
 
unsigned int tidSide (const DetId &id) const
 
uint32_t tidStack (const DetId &id) const
 
uint32_t tidStereo (const DetId &id) const
 
uint32_t tidUpper (const DetId &id) const
 
unsigned int tidWheel (const DetId &id) const
 
DetId tobDetId (uint32_t layer, uint32_t rod_fw_bw, uint32_t rod, uint32_t module, uint32_t ster) const
 
std::pair< DetId, SameLayerComparatortobDetIdLayerComparator (uint32_t layer) const
 
uint32_t tobGlued (const DetId &id) const
 
bool tobIsDoubleSide (const DetId &id) const
 
bool tobIsRPhi (const DetId &id) const
 
bool tobIsStereo (const DetId &id) const
 
bool tobIsZMinusSide (const DetId &id) const
 
bool tobIsZPlusSide (const DetId &id) const
 
unsigned int tobLayer (const DetId &id) const
 
uint32_t tobLower (const DetId &id) const
 
unsigned int tobModule (const DetId &id) const
 
DetId tobPartnerDetId (const DetId &id) const
 
unsigned int tobRod (const DetId &id) const
 
std::vector< unsigned int > tobRodInfo (const DetId &id) const
 
uint32_t tobRPhi (const DetId &id) const
 
unsigned int tobSide (const DetId &id) const
 
uint32_t tobStack (const DetId &id) const
 
uint32_t tobStereo (const DetId &id) const
 
uint32_t tobUpper (const DetId &id) const
 
 TrackerTopology (const PixelBarrelValues &pxb, const PixelEndcapValues &pxf, const TECValues &tecv, const TIBValues &tibv, const TIDValues &tidv, const TOBValues &tobv)
 
uint32_t upper (const DetId &id) const
 

Private Attributes

const BitmaskAndSubdet bits_per_field [DETID_FIELDS_MAX]
 
const PixelBarrelValues pbVals_
 
const PixelEndcapValues pfVals_
 
const TECValues tecVals_
 
const TIBValues tibVals_
 
const TIDValues tidVals_
 
const TOBValues tobVals_
 

Detailed Description

Definition at line 16 of file TrackerTopology.h.

Member Enumeration Documentation

◆ DetIdFields

Enumerator
PBModule 
PBLadder 
PBLayer 
PFModule 
PFPanel 
PFBlade 
PFDisk 
PFSide 
DETID_FIELDS_MAX 

Definition at line 101 of file TrackerTopology.h.

101  {
102  PBModule,
103  PBLadder,
104  PBLayer,
105  PFModule,
106  PFPanel,
107  PFBlade,
108  PFDisk,
109  PFSide,
110  /* TODO: this can be extended for all subdetectors */
112  };

Constructor & Destructor Documentation

◆ TrackerTopology()

TrackerTopology::TrackerTopology ( const PixelBarrelValues pxb,
const PixelEndcapValues pxf,
const TECValues tecv,
const TIBValues tibv,
const TIDValues tidv,
const TOBValues tobv 
)

Definition at line 7 of file TrackerTopology.cc.

References TrackerTopology::PixelEndcapValues::bladeMask_, TrackerTopology::PixelEndcapValues::bladeStartBit_, TrackerTopology::PixelEndcapValues::diskMask_, TrackerTopology::PixelEndcapValues::diskStartBit_, TrackerTopology::PixelBarrelValues::ladderMask_, TrackerTopology::PixelBarrelValues::ladderStartBit_, TrackerTopology::PixelBarrelValues::layerMask_, TrackerTopology::PixelBarrelValues::layerStartBit_, TrackerTopology::PixelBarrelValues::moduleMask_, TrackerTopology::PixelEndcapValues::moduleMask_, TrackerTopology::PixelBarrelValues::moduleStartBit_, TrackerTopology::PixelEndcapValues::moduleStartBit_, TrackerTopology::PixelEndcapValues::panelMask_, TrackerTopology::PixelEndcapValues::panelStartBit_, PBLadder, PBLayer, PBModule, pbVals_, PFBlade, PFDisk, PFModule, PFPanel, PFSide, pfVals_, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TrackerTopology::PixelEndcapValues::sideMask_, and TrackerTopology::PixelEndcapValues::sideStartBit_.

Member Function Documentation

◆ getField()

unsigned int TrackerTopology::getField ( const DetId id,
DetIdFields  idx 
) const
inline

Definition at line 568 of file TrackerTopology.h.

568  {
569  return ((id.rawId() >> bits_per_field[idx].startBit) & bits_per_field[idx].mask);
570  }

References bits_per_field, and heavyIonCSV_trainingSettings::idx.

◆ getITPixelLayerNumber()

int TrackerTopology::getITPixelLayerNumber ( const DetId id) const

Definition at line 436 of file TrackerTopology.cc.

436  {
437  int layer = -1;
438 
439  if (id.det() == DetId::Tracker) {
440  if (id.subdetId() == PixelSubdetector::PixelBarrel) {
441  layer = pxbLayer(id);
442  } else if (id.subdetId() == PixelSubdetector::PixelEndcap) {
443  layer = 100 * pxfSide(id) + pxfDisk(id);
444  } else {
445  edm::LogInfo("TrackerTopology") << ">>> Invalid subdetId() ";
446  }
447  }
448  return layer;
449 }

References layer(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, pxbLayer(), pxfDisk(), pxfSide(), and DetId::Tracker.

Referenced by Phase2TrackerMonitorDigi::bookLayerHistos(), Phase2TrackerValidateDigi::bookLayerHistos(), Phase2TrackerValidateDigi::fillITPixelBXInfo(), Phase2TrackerMonitorDigi::fillITPixelDigiHistos(), Phase2TrackerValidateDigi::fillSimHitInfo(), and phase2tkutil::getITHistoId().

◆ getOTLayerNumber()

int TrackerTopology::getOTLayerNumber ( const DetId id) const

Definition at line 421 of file TrackerTopology.cc.

421  {
422  int layer = -1;
423 
424  if (id.det() == DetId::Tracker) {
425  if (id.subdetId() == SiStripSubdetector::TOB) {
426  layer = tobLayer(id);
427  } else if (id.subdetId() == SiStripSubdetector::TID) {
428  layer = 100 * tidSide(id) + tidWheel(id);
429  } else {
430  edm::LogInfo("TrackerTopology") << ">>> Invalid subdetId() ";
431  }
432  }
433  return layer;
434 }

References layer(), SiStripSubdetector::TID, tidSide(), tidWheel(), SiStripSubdetector::TOB, tobLayer(), and DetId::Tracker.

Referenced by Phase2TrackerMonitorDigi::bookLayerHistos(), Phase2TrackerValidateDigi::bookLayerHistos(), Phase2TrackerValidateDigi::fillOTBXInfo(), Phase2TrackerMonitorDigi::fillOTDigiHistos(), Phase2TrackerValidateDigi::fillSimHitInfo(), and phase2tkutil::getOTHistoId().

◆ glued()

uint32_t TrackerTopology::glued ( const DetId id) const

Definition at line 85 of file TrackerTopology.cc.

85  {
86  uint32_t subdet = id.subdetId();
87  if (subdet == PixelSubdetector::PixelBarrel)
88  return 0;
89  if (subdet == PixelSubdetector::PixelEndcap)
90  return 0;
91  if (subdet == SiStripSubdetector::TIB)
92  return tibGlued(id);
93  if (subdet == SiStripSubdetector::TID)
94  return tidGlued(id);
95  if (subdet == SiStripSubdetector::TOB)
96  return tobGlued(id);
97  if (subdet == SiStripSubdetector::TEC)
98  return tecGlued(id);
99 
100  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::glued";
101  return 0;
102 }

References Exception, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, SiStripSubdetector::TEC, tecGlued(), SiStripSubdetector::TIB, tibGlued(), SiStripSubdetector::TID, tidGlued(), SiStripSubdetector::TOB, and tobGlued().

Referenced by TrackerGeomBuilderFromGeometricDet::buildGeomDet(), and TrackingRecoMaterialAnalyser::isDoubleSided().

◆ hasField()

bool TrackerTopology::hasField ( const DetId id,
DetIdFields  idx 
) const
inline

Definition at line 573 of file TrackerTopology.h.

573 { return id.subdetId() == bits_per_field[idx].subdet; }

References bits_per_field, heavyIonCSV_trainingSettings::idx, and TrackerTopology::BitmaskAndSubdet::subdet.

◆ isLower()

bool TrackerTopology::isLower ( const DetId id) const

Definition at line 195 of file TrackerTopology.cc.

195  {
196  uint32_t subdet = id.subdetId();
197  if (subdet == PixelSubdetector::PixelBarrel)
198  return false;
199  if (subdet == PixelSubdetector::PixelEndcap)
200  return false;
201  if (subdet == SiStripSubdetector::TIB)
202  return tibLower(id) != 0;
203  if (subdet == SiStripSubdetector::TID)
204  return tidLower(id) != 0;
205  if (subdet == SiStripSubdetector::TOB)
206  return tobLower(id) != 0;
207  if (subdet == SiStripSubdetector::TEC)
208  return tecLower(id) != 0;
209 
210  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::isLower";
211  return false;
212 }

References Exception, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, SiStripSubdetector::TEC, tecLower(), SiStripSubdetector::TIB, tibLower(), SiStripSubdetector::TID, tidLower(), SiStripSubdetector::TOB, and tobLower().

Referenced by L1TrackObjectNtupleMaker::analyze(), tmtt::TMTrackProducer::beginRun(), tmtt::StubKiller::chooseModulesToKill(), l1tVertexFinder::InputData::InputData(), print(), TTStubAssociator< T >::produce(), TTClusterBuilder< T >::produce(), TTStubBuilder< T >::produce(), trackerDTC::Setup::produceSensorModules(), TrackingNtuple::DetIdPhase2OTOnly::push_back(), and VectorHitBuilderAlgorithm::run().

◆ isRPhi()

bool TrackerTopology::isRPhi ( const DetId id) const

Definition at line 177 of file TrackerTopology.cc.

177  {
178  uint32_t subdet = id.subdetId();
179  if (subdet == PixelSubdetector::PixelBarrel)
180  return false;
181  if (subdet == PixelSubdetector::PixelEndcap)
182  return false;
183  if (subdet == SiStripSubdetector::TIB)
184  return tibRPhi(id) != 0;
185  if (subdet == SiStripSubdetector::TID)
186  return tidRPhi(id) != 0;
187  if (subdet == SiStripSubdetector::TOB)
188  return tobRPhi(id) != 0;
189  if (subdet == SiStripSubdetector::TEC)
190  return tecRPhi(id) != 0;
191 
192  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::isRPhi";
193  return false;
194 }

References Exception, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, SiStripSubdetector::TEC, tecRPhi(), SiStripSubdetector::TIB, tibRPhi(), SiStripSubdetector::TID, tidRPhi(), SiStripSubdetector::TOB, and tobRPhi().

Referenced by AlignmentPI::topolInfo::fillGeometryInfo(), print(), TrackingNtuple::DetIdStripOnly::push_back(), and TrackingNtuple::DetIdStripOnly::set().

◆ isStereo()

bool TrackerTopology::isStereo ( const DetId id) const

Definition at line 158 of file TrackerTopology.cc.

158  {
159  uint32_t subdet = id.subdetId();
160  if (subdet == PixelSubdetector::PixelBarrel)
161  return false;
162  if (subdet == PixelSubdetector::PixelEndcap)
163  return false;
164  if (subdet == SiStripSubdetector::TIB)
165  return tibStereo(id) != 0;
166  if (subdet == SiStripSubdetector::TID)
167  return tidStereo(id) != 0;
168  if (subdet == SiStripSubdetector::TOB)
169  return tobStereo(id) != 0;
170  if (subdet == SiStripSubdetector::TEC)
171  return tecStereo(id) != 0;
172 
173  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::isStereo";
174  return false;
175 }

References Exception, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, SiStripSubdetector::TEC, tecStereo(), SiStripSubdetector::TIB, tibStereo(), SiStripSubdetector::TID, tidStereo(), SiStripSubdetector::TOB, and tobStereo().

Referenced by mkfit::convertHits(), MkFitSeedConverter::convertSeeds(), MkFitGeometry::mkFitLayerNumber(), print(), TrackingNtuple::DetIdStripOnly::push_back(), and TrackingNtuple::DetIdStripOnly::set().

◆ isUpper()

bool TrackerTopology::isUpper ( const DetId id) const

Definition at line 214 of file TrackerTopology.cc.

214  {
215  uint32_t subdet = id.subdetId();
216  if (subdet == PixelSubdetector::PixelBarrel)
217  return false;
218  if (subdet == PixelSubdetector::PixelEndcap)
219  return false;
220  if (subdet == SiStripSubdetector::TIB)
221  return tibUpper(id) != 0;
222  if (subdet == SiStripSubdetector::TID)
223  return tidUpper(id) != 0;
224  if (subdet == SiStripSubdetector::TOB)
225  return tobUpper(id) != 0;
226  if (subdet == SiStripSubdetector::TEC)
227  return tecUpper(id) != 0;
228 
229  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::isUpper";
230  return false;
231 }

References Exception, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, SiStripSubdetector::TEC, tecUpper(), SiStripSubdetector::TIB, tibUpper(), SiStripSubdetector::TID, tidUpper(), SiStripSubdetector::TOB, and tobUpper().

Referenced by print(), and TrackingNtuple::DetIdPhase2OTOnly::push_back().

◆ layer()

unsigned int TrackerTopology::layer ( const DetId id) const

Definition at line 47 of file TrackerTopology.cc.

47  {
48  uint32_t subdet = id.subdetId();
49  if (subdet == PixelSubdetector::PixelBarrel)
50  return pxbLayer(id);
51  if (subdet == PixelSubdetector::PixelEndcap)
52  return pxfDisk(id);
53  if (subdet == SiStripSubdetector::TIB)
54  return tibLayer(id);
55  if (subdet == SiStripSubdetector::TID)
56  return tidWheel(id);
57  if (subdet == SiStripSubdetector::TOB)
58  return tobLayer(id);
59  if (subdet == SiStripSubdetector::TEC)
60  return tecWheel(id);
61 
62  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::layer";
63  return 0;
64 }

References Exception, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, pxbLayer(), pxfDisk(), SiStripSubdetector::TEC, tecWheel(), SiStripSubdetector::TIB, tibLayer(), SiStripSubdetector::TID, tidWheel(), SiStripSubdetector::TOB, and tobLayer().

Referenced by tmtt::StubKiller::addDeadLayerModulesToDeadModuleList(), TrackMerger::addSecondTrackHits(), TrackingNtuple::addStripMatchedHit(), OuterTrackerMonitorTrackingParticles::analyze(), TrackingRecoMaterialAnalyser::analyze(), OuterTrackerMonitorTTCluster::analyze(), OuterTrackerMonitorTTStub::analyze(), SiPhase2OuterTrackerLorentzAngleWriter::analyze(), ElectronSeedAnalyzer::analyze(), TestHits::analyze(), TestSmoothHits::analyze(), TestOutliers::analyze(), TestTrackHits::analyze(), L1TrackObjectNtupleMaker::analyze(), TrackAssociatorByHitsImpl::associateSimToReco(), VectorHitBuilderAlgorithm::buildVectorHits(), TrackingParticleNumberOfLayers::calculate(), SeedingOTEDProducer::checkLayer(), mkfit::convertHits(), MkFitSeedConverter::convertSeeds(), JetCoreMCtruthSeedGenerator::DetectorSelector(), DeepCoreSeedGenerator::DetectorSelector(), SiPixelDigitizerAlgorithm::digitize(), reco::HitPattern::encode(), trackerDTC::Setup::encodeLayerId(), PixelCPEFast::fillParamsForGpu(), TrackingNtuple::fillPhase2OTHits(), TrackingNtuple::fillPixelHits(), TrackingNtuple::fillStripRphiStereoHits(), TrackingNtuple::fillTracks(), getDetLayer(), getITPixelLayerNumber(), getOTLayerNumber(), MTVHistoProducerAlgoForTracker::getSeedingLayerSetBin(), HLTPixelActivityFilter::hltFilter(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), DetIdInfo::info(), PFCheckHitPattern::init(), cms::SiPixelDigitizer::initializeEvent(), CheckHitPattern::interpretDetId(), tmtt::StubKiller::killStub(), reco::modules::TrackerTrackHitFilter::Rule::layer(), CkfDebugger::layer(), reco::modules::TrackerTrackHitFilter::layerFromId(), SiStripDetCabling::layerSearch(), TrackMerger::merge(), MkFitGeometry::mkFitLayerNumber(), TrackerTopology::SameLayerComparator::operator()(), SiStripTrackerMapCreator::paintTkMapFromAlarm(), SiPixelDigitizerAlgorithm::pixel_aging(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), CtfSpecialSeedGenerator::preliminaryCheck(), VectorHitBuilderAlgorithmBase::printCluster(), SiStripQuality::printDetInfo(), MuonReSeeder::produce(), reco::CentralityProducer::produce(), PixelClusterTagInfoProducer::produce(), TTStubBuilder< T >::produce(), DeepCoreSeedGenerator::produce(), TrackingNtuple::DetIdCommon::push_back(), pxbDetId(), pxbDetIdLayerComparator(), PixelCPEClusterRepair::Rule::recommend(), trackerDTC::SensorModule::SensorModule(), TrackingNtuple::DetIdCommon::set(), tadqm::TrackAnalyzer::setLumi(), l1tVertexFinder::Stub::setModuleInfo(), PixelCPEGenericBase::setXYErrors(), JetCoreMCtruthSeedGenerator::splittedClusterDirections(), DeepCoreSeedGenerator::splittedClusterDirections(), tmtt::StubFEWindows::storedWindowSize(), trackerDTC::Setup::stubPos(), StripSubClusterShapeFilterBase::testLastHit(), tibDetId(), tibDetIdLayerComparator(), tobDetId(), tobDetIdLayerComparator(), tmtt::TrackerModule::TrackerModule(), and PixelInactiveAreaFinder::updatePixelDets().

◆ lower()

uint32_t TrackerTopology::lower ( const DetId id) const

Definition at line 122 of file TrackerTopology.cc.

122  {
123  uint32_t subdet = id.subdetId();
124  if (subdet == PixelSubdetector::PixelBarrel)
125  return 0;
126  if (subdet == PixelSubdetector::PixelEndcap)
127  return 0;
128  if (subdet == SiStripSubdetector::TIB)
129  return tibLower(id);
130  if (subdet == SiStripSubdetector::TID)
131  return tidLower(id);
132  if (subdet == SiStripSubdetector::TOB)
133  return tobLower(id);
134  if (subdet == SiStripSubdetector::TEC)
135  return tecLower(id);
136 
137  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::lower";
138 }

References Exception, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, SiStripSubdetector::TEC, tecLower(), SiStripSubdetector::TIB, tibLower(), SiStripSubdetector::TID, tidLower(), SiStripSubdetector::TOB, and tobLower().

◆ module()

unsigned int TrackerTopology::module ( const DetId id) const

◆ moduleGeometry()

SiStripModuleGeometry TrackerTopology::moduleGeometry ( const DetId id) const

Definition at line 384 of file TrackerTopology.cc.

384  {
385  switch (id.subdetId()) {
391  switch (tidRing(id)) {
392  case 1:
394  case 2:
396  case 3:
398  }
401  switch (tecRing(id)) {
402  case 1:
404  case 2:
406  case 3:
408  case 4:
410  //generic function to return DetIds and boolean factors
411  case 5:
413  case 6:
415  case 7:
417  }
418  }
420 }

References IB1, IB2, OB1, OB2, SiStripSubdetector::TEC, tecRing(), SiStripSubdetector::TIB, tibLayer(), SiStripSubdetector::TID, tidRing(), SiStripSubdetector::TOB, tobLayer(), UNKNOWNGEOMETRY, W1A, W1B, W2A, W2B, W3A, W3B, W4, W5, W6, and W7.

Referenced by SiStripMonitorTrack::clusterInfos(), and SiStripBackPlaneCorrection::printDebug().

◆ partnerDetId()

DetId TrackerTopology::partnerDetId ( const DetId id) const

◆ print()

std::string TrackerTopology::print ( DetId  detid) const

Definition at line 252 of file TrackerTopology.cc.

252  {
253  uint32_t subdet = id.subdetId();
254  std::stringstream strstr;
255 
256  if (subdet == PixelSubdetector::PixelBarrel) {
257  unsigned int theLayer = pxbLayer(id);
258  unsigned int theLadder = pxbLadder(id);
259  unsigned int theModule = pxbModule(id);
260  strstr << "PixelBarrel"
261  << " Layer " << theLayer << " Ladder " << theLadder << " Module " << theModule;
262  strstr << " (" << id.rawId() << ")";
263  return strstr.str();
264  }
265 
266  if (subdet == PixelSubdetector::PixelEndcap) {
267  unsigned int theSide = pxfSide(id);
268  unsigned int theDisk = pxfDisk(id);
269  unsigned int theBlade = pxfBlade(id);
270  unsigned int thePanel = pxfPanel(id);
271  unsigned int theModule = pxfModule(id);
272  std::string side = (pxfSide(id) == 1) ? "-" : "+";
273  strstr << "PixelEndcap"
274  << " Side " << theSide << side << " Disk " << theDisk << " Blade " << theBlade << " Panel " << thePanel
275  << " Module " << theModule;
276  strstr << " (" << id.rawId() << ")";
277  return strstr.str();
278  }
279 
280  if (subdet == SiStripSubdetector::TIB) {
281  unsigned int theLayer = tibLayer(id);
282  std::vector<unsigned int> theString = tibStringInfo(id);
283  unsigned int theModule = tibModule(id);
286  side = (theString[0] == 1) ? "-" : "+";
287  part = (theString[1] == 1) ? "int" : "ext";
289  type = (isStereo(id)) ? "stereo" : type;
290  type = (isRPhi(id)) ? "r-phi" : type;
291  type = (isStereo(id) || isRPhi(id)) ? type + " glued" : "module";
292  std::string typeUpgrade;
293  typeUpgrade = (isLower(id)) ? "lower" : typeUpgrade;
294  typeUpgrade = (isUpper(id)) ? "upper" : typeUpgrade;
295  typeUpgrade = (isUpper(id) || isLower(id)) ? typeUpgrade + " stack" : "module";
296  strstr << "TIB" << side << " Layer " << theLayer << " " << part << " String " << theString[2];
297  strstr << " Module for phase0 " << theModule << " " << type;
298  strstr << " Module for phase2 " << theModule << " " << typeUpgrade;
299  strstr << " (" << id.rawId() << ")";
300  return strstr.str();
301  }
302 
303  if (subdet == SiStripSubdetector::TID) {
304  unsigned int theSide = tidSide(id);
305  unsigned int theWheel = tidWheel(id);
306  unsigned int theRing = tidRing(id);
307  std::vector<unsigned int> theModule = tidModuleInfo(id);
310  side = (tidSide(id) == 1) ? "-" : "+";
311  part = (theModule[0] == 1) ? "back" : "front";
313  type = (isStereo(id)) ? "stereo" : type;
314  type = (isRPhi(id)) ? "r-phi" : type;
315  type = (isStereo(id) || isRPhi(id)) ? type + " glued" : "module";
316  std::string typeUpgrade;
317  typeUpgrade = (isLower(id)) ? "lower" : typeUpgrade;
318  typeUpgrade = (isUpper(id)) ? "upper" : typeUpgrade;
319  typeUpgrade = (isUpper(id) || isLower(id)) ? typeUpgrade + " stack" : "module";
320  strstr << "TID"
321  << " Side " << theSide << side << " Wheel " << theWheel << " Ring " << theRing << " " << part;
322  strstr << " Module for phase0 " << theModule[1] << " " << type;
323  strstr << " Module for phase2 " << theModule[1] << " " << typeUpgrade;
324  strstr << " (" << id.rawId() << ")";
325  return strstr.str();
326  }
327 
328  if (subdet == SiStripSubdetector::TOB) {
329  unsigned int theLayer = tobLayer(id);
330  std::vector<unsigned int> theRod = tobRodInfo(id);
331  unsigned int theModule = tobModule(id);
334  side = (((theRod[0] == 1) ? "-" : ((theRod[0] == 2) ? "+" : (theRod[0] == 3) ? "0" : "")));
335  // side = (theRod[0] == 2 ) ? "+" : "";
336  // side = (theRod[0] == 3 ) ? "0" : "";
338  type = (isStereo(id)) ? "stereo" : type;
339  type = (isRPhi(id)) ? "r-phi" : type;
340  type = (isStereo(id) || isRPhi(id)) ? type + " glued" : "module";
341  std::string typeUpgrade;
342  typeUpgrade = (isLower(id)) ? "lower" : typeUpgrade;
343  typeUpgrade = (isUpper(id)) ? "upper" : typeUpgrade;
344  typeUpgrade = (isUpper(id) || isLower(id)) ? typeUpgrade + " stack" : "module";
345  strstr << "TOB" << side << " Layer " << theLayer << " Rod " << theRod[1];
346  strstr << " Module for phase0 " << theModule << " " << type;
347  strstr << " Module for phase2 " << theModule << " " << typeUpgrade;
348  strstr << " (" << id.rawId() << ")";
349  return strstr.str();
350  }
351 
352  if (subdet == SiStripSubdetector::TEC) {
353  unsigned int theSide = tecSide(id);
354  unsigned int theWheel = tecWheel(id);
355  unsigned int theModule = tecModule(id);
356  std::vector<unsigned int> thePetal = tecPetalInfo(id);
357  unsigned int theRing = tecRing(id);
359  std::string petal;
360  side = (tecSide(id) == 1) ? "-" : "+";
361  petal = (thePetal[0] == 1) ? "back" : "front";
363  type = (isStereo(id)) ? "stereo" : type;
364  type = (isRPhi(id)) ? "r-phi" : type;
365  type = (isStereo(id) || isRPhi(id)) ? type + " glued" : "module";
366  std::string typeUpgrade;
367  typeUpgrade = (isLower(id)) ? "lower" : typeUpgrade;
368  typeUpgrade = (isUpper(id)) ? "upper" : typeUpgrade;
369  typeUpgrade = (isUpper(id) || isLower(id)) ? typeUpgrade + " stack" : "module";
370  strstr << "TEC"
371  << " Side " << theSide << side << " Wheel " << theWheel << " Petal " << thePetal[1] << " " << petal
372  << " Ring " << theRing;
373  strstr << " Module for phase0 " << theModule << " " << type;
374  strstr << " Module for phase2 " << theModule << " " << typeUpgrade;
375  strstr << " (" << id.rawId() << ")";
376 
377  return strstr.str();
378  }
379 
380  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::module";
381  return strstr.str();
382 }

References Exception, isLower(), isRPhi(), isStereo(), isUpper(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, pxbLadder(), pxbLayer(), pxbModule(), pxfBlade(), pxfDisk(), pxfModule(), pxfPanel(), pxfSide(), side(), AlCaHLTBitMon_QueryRunRegistry::string, SiStripSubdetector::TEC, tecModule(), tecPetalInfo(), tecRing(), tecSide(), tecWheel(), SiStripSubdetector::TIB, tibLayer(), tibModule(), tibStringInfo(), SiStripSubdetector::TID, tidModuleInfo(), tidRing(), tidSide(), tidWheel(), SiStripSubdetector::TOB, tobLayer(), tobModule(), and tobRodInfo().

Referenced by FWTrackHitsDetailView::addModules(), FWTGeoRecoGeometryESProducer::addTECGeometry(), FWTGeoRecoGeometryESProducer::addTIBGeometry(), FWTGeoRecoGeometryESProducer::addTIDGeometry(), FWTGeoRecoGeometryESProducer::addTOBGeometry(), TrackingLayer::createFromDetId(), PixelRegions::PixelRegionContainers::fill(), MuonAssociatorByHitsHelper::getMatchedIds(), fireworks::info(), TrackingRecHitProducer::setupDetIdPipes(), FW3DViewGeometry::showPixelBarrel(), and FW3DViewGeometry::showPixelEndcap().

◆ pxbDetId()

DetId TrackerTopology::pxbDetId ( uint32_t  layer,
uint32_t  ladder,
uint32_t  module 
) const
inline

◆ pxbDetIdLayerComparator()

std::pair<DetId, SameLayerComparator> TrackerTopology::pxbDetIdLayerComparator ( uint32_t  layer) const
inline

Definition at line 532 of file TrackerTopology.h.

532  {
533  return std::make_pair(pxbDetId(layer, 1, 1), SameLayerComparator(this));
534  }

References layer(), and pxbDetId().

Referenced by HITrackingRegionForPrimaryVtxProducer::estimateMultiplicity(), ctfseeding::HitExtractorPIX::hits(), and HIProtoTrackFilterProducer::produce().

◆ pxbLadder()

unsigned int TrackerTopology::pxbLadder ( const DetId id) const
inline

Definition at line 155 of file TrackerTopology.h.

155  {
156  return ((id.rawId() >> pbVals_.ladderStartBit_) & pbVals_.ladderMask_);
157  }

References TrackerTopology::PixelBarrelValues::ladderMask_, TrackerTopology::PixelBarrelValues::ladderStartBit_, and pbVals_.

Referenced by FWTGeoRecoGeometryESProducer::addPixelBarrelGeometry(), TrackerAlignmentLevelBuilder::addPXBDetUnitInfo(), SiPixelDigiValid::analyze(), SiPixelErrorEstimation::analyze(), PixelBaryCentreAnalyzer::analyze(), TrackerTreeGenerator::analyze(), PrimaryVertexValidation::analyze(), analyzer::SiPixelLorentzAngle::analyze(), Phase1PixelMaps::bookBarrelBins(), PixelTopologyMap::buildTopologyMaps(), PixelInactiveAreaFinder::detInfo(), TrackerGeometryCompare::fillIdentifiers(), PixelCPEFast::fillParamsForGpu(), TrackerOfflineValidationSummary::fillTree(), HitInfo::getInfo(), PixelInactiveAreaFinder::getPhiSpanBarrel(), align::TrackerNameSpace::TPB::halfBarrelNumber(), Phase1PixelROCMaps::isBPixOuterLadder(), AlignmentPI::isBPixOuterLadder(), SiPixelPI::isBPixOuterLadder(), TrackCleaner::isCompatible(), SiPixelCoordinates::ladder(), align::TrackerNameSpace::TPB::ladderNumber(), HitComparatorByRadius::operator()(), SiPixelCoordinates::outer(), AlignmentParameterSelector::outsideDetIdRanges(), SiPixelDigitizerAlgorithm::pixel_aging(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), print(), TrackingNtuple::DetIdPixelOnly::push_back(), TrackerOfflineValidation::setUpTreeMembers(), ResidualRefitting::StoreTrackerRecHits(), trackerHierarchy(), and PixelInactiveAreaFinder::updatePixelDets().

◆ pxbLayer()

unsigned int TrackerTopology::pxbLayer ( const DetId id) const
inline

Definition at line 144 of file TrackerTopology.h.

144  {
145  return int((id.rawId() >> pbVals_.layerStartBit_) & pbVals_.layerMask_);
146  }

References createfilelist::int, TrackerTopology::PixelBarrelValues::layerMask_, TrackerTopology::PixelBarrelValues::layerStartBit_, and pbVals_.

Referenced by FWTGeoRecoGeometryESProducer::addPixelBarrelGeometry(), TrackerAlignmentLevelBuilder::addPXBDetUnitInfo(), SiPixelDigiValid::analyze(), SiPixelRecHitsValid::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelErrorEstimation::analyze(), PixelBaryCentreAnalyzer::analyze(), TrackerTreeGenerator::analyze(), PrimaryVertexValidation::analyze(), CosmicRateAnalyzer::analyze(), analyzer::SiPixelLorentzAngle::analyze(), DMRChecker::analyze(), Phase1PixelMaps::bookBarrelBins(), PixelTopologyMap::buildTopologyMaps(), PixelThresholdClusterizer::clusterizeDetUnitT(), TrackingLayer::createFromDetId(), PixelRegions::detIdToPixelId(), PixelInactiveAreaFinder::detInfo(), HITrackingRegionProducer::estimateMultiplicity(), Phase1PixelMaps::fill(), SiPixelRecHitsValid::fillBarrel(), Phase1PixelMaps::fillBarrelBin(), AlignmentPI::topolInfo::fillGeometryInfo(), SiPixelPI::topolInfo::fillGeometryInfo(), TrackerGeometryCompare::fillIdentifiers(), ClusterShapeHitFilter::fillPixelData(), QcdLowPtDQM::fillPixels(), TrackerOfflineValidationSummary::fillTree(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), Phase1PixelROCMaps::findDetCoordinates(), MonitorTrackResidualsBase< pixel_or_strip >::findSubdetAndLayer(), HitInfo::getInfo(), getITPixelLayerNumber(), PixelInactiveAreaFinder::getPhiSpanBarrel(), GlobalMuonRefitter::getRidOfSelectStationHits(), PixelInactiveAreaFinder::getSpan(), align::TrackerNameSpace::TPB::halfBarrelNumber(), GeometricSearchTracker::idToLayer(), Phase1PixelROCMaps::isBPixOuterLadder(), AlignmentPI::isBPixOuterLadder(), SiPixelPI::isBPixOuterLadder(), TrackCleaner::isCompatible(), align::TrackerNameSpace::TPB::ladderNumber(), SiPixelCoordinates::layer(), layer(), SeedFinderSelector::Layer_tuple(), AlignmentPrescaler::layerFromId(), TkAlCaOverlapTagger::layerFromId(), align::TrackerNameSpace::TPB::layerNumber(), SeedingLayerSetsBuilder::makeSeedingLayerSetsHitsforFastSim(), TrajectoryManager::makeSinglePSimHit(), SiPixelDigitizerAlgorithm::missCalibrate(), HitComparatorByRadius::operator()(), SiPixelCoordinates::outer(), AlignmentParameterSelector::outsideDetIdRanges(), Phase2TrackerDigitizerAlgorithm::pixel_inefficiency(), print(), PixelClusterShapeExtractor::processPixelRecHits(), PixelFitterByHelixProjections::run(), NearbyPixelClustersAnalyzer::setTopoInfo(), TrackerOfflineValidation::setUpTreeMembers(), ResidualRefitting::StoreTrackerRecHits(), trackerHierarchy(), and TrackerAlignableId::typeAndLayerFromDetId().

◆ pxbModule()

unsigned int TrackerTopology::pxbModule ( const DetId id) const
inline

◆ pxfBlade()

unsigned int TrackerTopology::pxfBlade ( const DetId id) const
inline

◆ pxfDetId()

DetId TrackerTopology::pxfDetId ( uint32_t  side,
uint32_t  disk,
uint32_t  blade,
uint32_t  panel,
uint32_t  module 
) const
inline

◆ pxfDetIdDiskComparator()

std::pair<DetId, SameLayerComparator> TrackerTopology::pxfDetIdDiskComparator ( uint32_t  side,
uint32_t  disk 
) const
inline

Definition at line 536 of file TrackerTopology.h.

536  {
537  return std::make_pair(pxfDetId(side, disk, 1, 1, 1), SameLayerComparator(this));
538  }

References pxfDetId(), and side().

Referenced by ctfseeding::HitExtractorPIX::hits().

◆ pxfDisk()

unsigned int TrackerTopology::pxfDisk ( const DetId id) const
inline

Definition at line 446 of file TrackerTopology.h.

446 { return int((id.rawId() >> pfVals_.diskStartBit_) & pfVals_.diskMask_); }

References TrackerTopology::PixelEndcapValues::diskMask_, TrackerTopology::PixelEndcapValues::diskStartBit_, createfilelist::int, and pfVals_.

Referenced by FWTGeoRecoGeometryESProducer::addPixelForwardGeometry(), TrackerAlignmentLevelBuilder::addPXEDetUnitInfo(), SiPixelDigiValid::analyze(), SiPixelRecHitsValid::analyze(), SiPixelErrorEstimation::analyze(), PixelBaryCentreAnalyzer::analyze(), TrackerTreeGenerator::analyze(), CosmicRateAnalyzer::analyze(), analyzer::SiPixelLorentzAngle::analyze(), DMRChecker::analyze(), PixelInactiveAreaFinder::badAdjecentDetsEndcap(), Phase1PixelMaps::bookForwardBins(), PixelTopologyMap::buildTopologyMaps(), TrackingLayer::createFromDetId(), PixelRegions::detIdToPixelId(), PixelInactiveAreaFinder::detInfo(), SiPixelCoordinates::disk(), Phase1PixelMaps::fill(), SiPixelRecHitsValid::fillForward(), Phase1PixelMaps::fillForwardBin(), AlignmentPI::topolInfo::fillGeometryInfo(), SiPixelPI::topolInfo::fillGeometryInfo(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidationSummary::fillTree(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), MonitorTrackResidualsBase< pixel_or_strip >::findSubdetAndLayer(), SiPixelTrackResidualSource::getepixrococcupancyontrk(), HitInfo::getInfo(), phase2tkutil::getITHistoId(), getITPixelLayerNumber(), GlobalMuonRefitter::getRidOfSelectStationHits(), PixelInactiveAreaFinder::getSpan(), align::TrackerNameSpace::TPE::halfDiskNumber(), GeometricSearchTracker::idToLayer(), TrackCleaner::isCompatible(), layer(), SeedFinderSelector::Layer_tuple(), AlignmentPrescaler::layerFromId(), TkAlCaOverlapTagger::layerFromId(), SeedingLayerSetsBuilder::makeSeedingLayerSetsHitsforFastSim(), TrajectoryManager::makeSinglePSimHit(), HitComparatorByRadius::operator()(), AlignmentParameterSelector::outsideDetIdRanges(), Phase2TrackerDigitizerAlgorithm::pixel_inefficiency(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), print(), NearbyPixelClustersAnalyzer::setTopoInfo(), TrackerOfflineValidation::setUpTreeMembers(), SiPixelPI::signed_disk(), Phase1PixelROCMaps::signed_disk(), ResidualRefitting::StoreTrackerRecHits(), trackerHierarchy(), and TrackerAlignableId::typeAndLayerFromDetId().

◆ pxfModule()

unsigned int TrackerTopology::pxfModule ( const DetId id) const
inline

◆ pxfPanel()

unsigned int TrackerTopology::pxfPanel ( const DetId id) const
inline

◆ pxfSide()

unsigned int TrackerTopology::pxfSide ( const DetId id) const
inline

Definition at line 192 of file TrackerTopology.h.

192 { return ((id.rawId() >> pfVals_.sideStartBit_) & pfVals_.sideMask_); }

References pfVals_, TrackerTopology::PixelEndcapValues::sideMask_, and TrackerTopology::PixelEndcapValues::sideStartBit_.

Referenced by TrackerAlignmentLevelBuilder::addPXEDetUnitInfo(), SiPixelDigiValid::analyze(), SiPixelErrorEstimation::analyze(), TrackerTreeGenerator::analyze(), CosmicRateAnalyzer::analyze(), analyzer::SiPixelLorentzAngle::analyze(), DMRChecker::analyze(), Phase1PixelMaps::bookForwardBins(), AlignmentPI::TkAlBarycenters::computeBarycenters(), TrackingLayer::createFromDetId(), AlignmentTrackSelector::detailedHitsCheck(), PixelRegions::detIdToPixelId(), align::TrackerNameSpace::TPE::endcapNumber(), Phase1PixelMaps::fill(), Phase1PixelMaps::fillForwardBin(), AlignmentPI::topolInfo::fillGeometryInfo(), SiPixelPI::topolInfo::fillGeometryInfo(), TrackerGeometryCompare::fillIdentifiers(), MillePedeMonitor::fillTrack(), TrackerOfflineValidationSummary::fillTree(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), MonitorTrackResidualsBase< pixel_or_strip >::findSubdetAndLayer(), HitInfo::getInfo(), phase2tkutil::getITHistoId(), getITPixelLayerNumber(), GeometricSearchTracker::idToLayer(), TrackCleaner::isCompatible(), SeedFinderSelector::Layer_tuple(), AlignmentPrescaler::layerFromId(), TkAlCaOverlapTagger::layerFromId(), SeedingLayerSetsBuilder::makeSeedingLayerSetsHitsforFastSim(), AlignmentParameterSelector::outsideDetIdRanges(), Phase2TrackerDigitizerAlgorithm::pixel_inefficiency(), print(), NearbyPixelClustersAnalyzer::setTopoInfo(), TrackerOfflineValidation::setUpTreeMembers(), SiPixelCoordinates::side(), SiPixelTopoFinder::side(), side(), ResidualRefitting::StoreTrackerRecHits(), and trackerHierarchy().

◆ side()

unsigned int TrackerTopology::side ( const DetId id) const

Definition at line 28 of file TrackerTopology.cc.

28  {
29  uint32_t subdet = id.subdetId();
30  if (subdet == PixelSubdetector::PixelBarrel)
31  return 0;
32  if (subdet == PixelSubdetector::PixelEndcap)
33  return pxfSide(id);
34  if (subdet == SiStripSubdetector::TIB)
35  return 0;
36  if (subdet == SiStripSubdetector::TID)
37  return tidSide(id);
38  if (subdet == SiStripSubdetector::TOB)
39  return 0;
40  if (subdet == SiStripSubdetector::TEC)
41  return tecSide(id);
42 
43  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::side";
44  return 0;
45 }

References Exception, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, pxfSide(), SiStripSubdetector::TEC, tecSide(), SiStripSubdetector::TIB, SiStripSubdetector::TID, tidSide(), and SiStripSubdetector::TOB.

Referenced by tmtt::StubKiller::addDeadLayerModulesToDeadModuleList(), FWTGeoRecoGeometryESProducer::addPixelForwardGeometry(), ElectronSeedAnalyzer::analyze(), MCMisalignmentScaler::analyze(), MkFitSeedConverter::convertSeeds(), MTVHistoProducerAlgoForTracker::getSeedingLayerSetBin(), HLTPixelActivityFilter::hltFilter(), tmtt::StubKiller::killStub(), SiStripDetCabling::layerSearch(), TrackerTopology::SameLayerComparator::operator()(), print(), TrackingNtuple::DetIdCommon::push_back(), pxfDetId(), pxfDetIdDiskComparator(), TrackingNtuple::DetIdCommon::set(), l1tVertexFinder::Stub::setModuleInfo(), reco::modules::TrackerTrackHitFilter::sideFromId(), APVGain::subdetectorSide(), tecDetId(), tecDetIdWheelComparator(), tidDetId(), tidDetIdWheelComparator(), and tmtt::TrackerModule::TrackerModule().

◆ stack()

uint32_t TrackerTopology::stack ( const DetId id) const

Definition at line 104 of file TrackerTopology.cc.

104  {
105  uint32_t subdet = id.subdetId();
106  if (subdet == PixelSubdetector::PixelBarrel)
107  return 0;
108  if (subdet == PixelSubdetector::PixelEndcap)
109  return 0;
110  if (subdet == SiStripSubdetector::TIB)
111  return tibStack(id);
112  if (subdet == SiStripSubdetector::TID)
113  return tidStack(id);
114  if (subdet == SiStripSubdetector::TOB)
115  return tobStack(id);
116  if (subdet == SiStripSubdetector::TEC)
117  return tecStack(id);
118 
119  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::stack";
120 }

References Exception, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, SiStripSubdetector::TEC, tecStack(), SiStripSubdetector::TIB, tibStack(), SiStripSubdetector::TID, tidStack(), SiStripSubdetector::TOB, and tobStack().

Referenced by L1TrackObjectNtupleMaker::analyze(), TrackerGeomBuilderFromGeometricDet::buildGeomDet(), l1tVertexFinder::InputData::InputData(), TTStubAssociator< T >::produce(), TTStubBuilder< T >::produce(), TrackingNtuple::DetIdPhase2OTOnly::push_back(), VectorHitBuilderAlgorithm::run(), and tmtt::TrackerModule::TrackerModule().

◆ tecDetId()

DetId TrackerTopology::tecDetId ( uint32_t  side,
uint32_t  wheel,
uint32_t  petal_fw_bw,
uint32_t  petal,
uint32_t  ring,
uint32_t  module,
uint32_t  ster 
) const
inline

Definition at line 475 of file TrackerTopology.h.

481  {
483  uint32_t rawid = id.rawId();
484 
485  rawid |= (side & tecVals_.sideMask_) << tecVals_.sideStartBit_ |
492  return DetId(rawid);
493  }

References module(), TrackerTopology::TECValues::moduleMask_, TrackerTopology::TECValues::moduleStartBit_, TrackerTopology::TECValues::petal_fw_bwMask_, TrackerTopology::TECValues::petal_fw_bwStartBit_, TrackerTopology::TECValues::petalMask_, TrackerTopology::TECValues::petalStartBit_, relativeConstraints::ring, TrackerTopology::TECValues::ringMask_, TrackerTopology::TECValues::ringStartBit_, side(), TrackerTopology::TECValues::sideMask_, TrackerTopology::TECValues::sideStartBit_, TrackerTopology::TECValues::sterMask_, TrackerTopology::TECValues::sterStartBit_, SiStripSubdetector::TEC, tecVals_, DetId::Tracker, makeMuonMisalignmentScenario::wheel, TrackerTopology::TECValues::wheelMask_, and TrackerTopology::TECValues::wheelStartBit_.

Referenced by SiStripFineDelayHit::detId(), SiStripFineDelayHit::deviceMask(), and tecDetIdWheelComparator().

◆ tecDetIdWheelComparator()

std::pair<DetId, SameLayerComparator> TrackerTopology::tecDetIdWheelComparator ( uint32_t  side,
uint32_t  wheel 
) const
inline

Definition at line 540 of file TrackerTopology.h.

540  {
541  return std::make_pair(tecDetId(side, wheel, 1, 1, 1, 1, 1), SameLayerComparator(this));
542  }

References side(), tecDetId(), and makeMuonMisalignmentScenario::wheel.

Referenced by ctfseeding::HitExtractorSTRP::hits(), and CosmicLayerPairs::selectTECHit().

◆ tecGlued()

uint32_t TrackerTopology::tecGlued ( const DetId id) const
inline

Definition at line 342 of file TrackerTopology.h.

342  {
343  uint32_t testId = (id.rawId() >> tecVals_.sterStartBit_) & tecVals_.sterMask_;
344  return (testId == 0) ? 0 : (id.rawId() - testId);
345  }

References mathSSE::return(), TrackerTopology::TECValues::sterMask_, TrackerTopology::TECValues::sterStartBit_, and tecVals_.

Referenced by glued(), tecIsDoubleSide(), tecStack(), and trackerHierarchy().

◆ tecIsBackPetal()

bool TrackerTopology::tecIsBackPetal ( const DetId id) const
inline

◆ tecIsDoubleSide()

bool TrackerTopology::tecIsDoubleSide ( const DetId id) const
inline

◆ tecIsFrontPetal()

bool TrackerTopology::tecIsFrontPetal ( const DetId id) const
inline

◆ tecIsRPhi()

bool TrackerTopology::tecIsRPhi ( const DetId id) const
inline

◆ tecIsStereo()

bool TrackerTopology::tecIsStereo ( const DetId id) const
inline

◆ tecIsZMinusSide()

bool TrackerTopology::tecIsZMinusSide ( const DetId id) const
inline

◆ tecIsZPlusSide()

bool TrackerTopology::tecIsZPlusSide ( const DetId id) const
inline

◆ tecLower()

uint32_t TrackerTopology::tecLower ( const DetId id) const
inline

Definition at line 295 of file TrackerTopology.h.

295 { return tecStereo(id); }

References tecStereo().

Referenced by isLower(), and lower().

◆ tecModule()

unsigned int TrackerTopology::tecModule ( const DetId id) const
inline

◆ tecOrder()

unsigned int TrackerTopology::tecOrder ( const DetId id) const
inline

◆ tecPartnerDetId()

uint32_t TrackerTopology::tecPartnerDetId ( const DetId id) const
inline

Definition at line 396 of file TrackerTopology.h.

396  {
397  if (((id.rawId() >> tecVals_.sterStartBit_) & tecVals_.sterMask_) == 1) {
398  return DetId(id.rawId() + 1);
399  } else if (((id.rawId() >> tecVals_.sterStartBit_) & tecVals_.sterMask_) == 2) {
400  return DetId(id.rawId() - 1);
401  } else {
402  return DetId();
403  }
404  }

References TrackerTopology::TECValues::sterMask_, TrackerTopology::TECValues::sterStartBit_, and tecVals_.

Referenced by partnerDetId().

◆ tecPetalInfo()

std::vector<unsigned int> TrackerTopology::tecPetalInfo ( const DetId id) const
inline

◆ tecPetalNumber()

unsigned int TrackerTopology::tecPetalNumber ( const DetId id) const
inline

◆ tecRing()

unsigned int TrackerTopology::tecRing ( const DetId id) const
inline

ring id

Definition at line 217 of file TrackerTopology.h.

217 { return ((id.rawId() >> tecVals_.ringStartBit_) & tecVals_.ringMask_); }

References TrackerTopology::TECValues::ringMask_, TrackerTopology::TECValues::ringStartBit_, and tecVals_.

Referenced by TrackerAlignmentLevelBuilder::addTECDetUnitInfo(), FWTGeoRecoGeometryESProducer::addTECGeometry(), SiStripDigiValid::analyze(), TrackerTreeGenerator::analyze(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), AlignmentPI::topolInfo::fillGeometryInfo(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidationSummary::fillTree(), SiStripFolderOrganizer::getFolderName(), SiStripFakeAPVParameters::getIndex(), SiStripLAProfileBooker::getlayer(), SiStripFolderOrganizer::getLayerFolderName(), SiStripCalibLorentzAngle::getNewObject(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripFolderOrganizer::GetSubDetAndLayerThickness(), SiStripFolderOrganizer::GetSubDetAndRing(), SiStripHistoId::getSubdetid(), TkLayerMap::getXY_TEC(), ctfseeding::HitExtractorSTRP::hits(), TrajectoryAtInvalidHit::isDoubleSided(), HitEff::isDoubleSided(), TrajectoryManager::makeSinglePSimHit(), moduleGeometry(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), TrackingNtuple::DetIdOTCommon::parse(), print(), align::TrackerNameSpace::TEC::ringNumber(), SiStripBadModuleConfigurableFakeESSource::selectDetectors(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), TrackerOfflineValidation::setUpTreeMembers(), ResidualRefitting::StoreTrackerRecHits(), tecIsDoubleSide(), TrackerDpgAnalysis::toStringName(), and trackerHierarchy().

◆ tecRPhi()

uint32_t TrackerTopology::tecRPhi ( const DetId id) const
inline

Definition at line 322 of file TrackerTopology.h.

322  {
323  if (((id.rawId() >> tecVals_.sterStartBit_) & tecVals_.sterMask_) == 2) {
324  return ((id.rawId() >> tecVals_.sterStartBit_) & tecVals_.sterMask_);
325  } else {
326  return 0;
327  }
328  }

References TrackerTopology::TECValues::sterMask_, TrackerTopology::TECValues::sterStartBit_, and tecVals_.

Referenced by isRPhi(), tecIsRPhi(), and tecUpper().

◆ tecSide()

unsigned int TrackerTopology::tecSide ( const DetId id) const
inline

Definition at line 184 of file TrackerTopology.h.

184 { return ((id.rawId() >> tecVals_.sideStartBit_) & tecVals_.sideMask_); }

References TrackerTopology::TECValues::sideMask_, TrackerTopology::TECValues::sideStartBit_, and tecVals_.

Referenced by TrackerAlignmentLevelBuilder::addTECDetUnitInfo(), SiStripGainFromData::algoBeginJob(), SiStripDigiValid::analyze(), HitEff::analyze(), TrackerTreeGenerator::analyze(), AlignmentPI::TkAlBarycenters::computeBarycenters(), TrackingLayer::createFromDetId(), SiStripBadComponentsDQMServiceReader::detIdToString(), align::TrackerNameSpace::TEC::endcapNumber(), SiStripPI::fillBCArrays(), SiStripMonitorTrack::fillControlViewHistos(), AlignmentPI::topolInfo::fillGeometryInfo(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), SiStripPI::fillTotalComponents(), TrackerOfflineValidationSummary::fillTree(), MonitorTrackResidualsBase< pixel_or_strip >::findSubdetAndLayer(), SiStripCablingDQM::getActiveDetIds(), SiStripFolderOrganizer::getFolderName(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripCorrelateNoise::getHistos(), SiStripPlotGain::getHistos(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), SiStripMiscalibrate::getRegionsFromDetId(), SiStripBaseCondObjDQM::GetSameLayerDetId(), PrintRecoObjects::getString(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripFolderOrganizer::GetSubDetAndLayerThickness(), SiStripFolderOrganizer::GetSubDetAndRing(), SiStripUtility::getSubDetectorTag(), SiStripFolderOrganizer::getSubDetFolderAndTag(), SiStripHistoId::getSubdetid(), GeometricSearchTracker::idToLayer(), TkAlCaOverlapTagger::layerFromId(), TkLayerMap::layerSearch(), AlignmentParameterSelector::outsideDetIdRanges(), print(), SiStripTrackerMapCreator::printBadModuleList(), SiStripTrackerMapCreator::printTopModules(), SiStripFolderOrganizer::setLayerFolder(), TrackerOfflineValidation::setUpTreeMembers(), side(), APVGain::subdetectorPlane(), tecIsZMinusSide(), trackerHierarchy(), and LaserDQM::trackerStatistics().

◆ tecStack()

uint32_t TrackerTopology::tecStack ( const DetId id) const
inline

Definition at line 361 of file TrackerTopology.h.

361 { return tecGlued(id); }

References tecGlued().

Referenced by stack().

◆ tecStereo()

uint32_t TrackerTopology::tecStereo ( const DetId id) const
inline

◆ tecUpper()

uint32_t TrackerTopology::tecUpper ( const DetId id) const
inline

Definition at line 334 of file TrackerTopology.h.

334 { return tecRPhi(id); }

References tecRPhi().

Referenced by isUpper(), and upper().

◆ tecWheel()

unsigned int TrackerTopology::tecWheel ( const DetId id) const
inline

Definition at line 198 of file TrackerTopology.h.

198  {
199  return ((id.rawId() >> tecVals_.wheelStartBit_) & tecVals_.wheelMask_);
200  }

References tecVals_, TrackerTopology::TECValues::wheelMask_, and TrackerTopology::TECValues::wheelStartBit_.

Referenced by SiStripDetSummary::add(), TrackerAlignmentLevelBuilder::addTECDetUnitInfo(), SiStripDigiValid::analyze(), SiStripLAProfileBooker::analyze(), TrackerTreeGenerator::analyze(), HitEff::checkLayer(), TrackingLayer::createFromDetId(), SiStripBadComponentsDQMServiceReader::detIdToString(), SiStripDigitizerAlgorithm::digitize(), align::TrackerNameSpace::TEC::diskNumber(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripPI::fillBCArrays(), AlignmentPI::topolInfo::fillGeometryInfo(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), SiStripPI::fillTotalComponents(), TrackerOfflineValidationSummary::fillTree(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), MonitorTrackResidualsBase< pixel_or_strip >::findSubdetAndLayer(), SiStripCablingDQM::getActiveDetIds(), SiStripFolderOrganizer::getFolderName(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripCorrelateNoise::getHistos(), SiStripPlotGain::getHistos(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), SiStripMiscalibrate::getRegionsFromDetId(), GlobalMuonRefitter::getRidOfSelectStationHits(), SiStripBaseCondObjDQM::GetSameLayerDetId(), PrintRecoObjects::getString(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripFolderOrganizer::GetSubDetAndLayerThickness(), SiStripHistoId::getSubdetid(), GeometricSearchTracker::idToLayer(), layer(), AlignmentPrescaler::layerFromId(), TkAlCaOverlapTagger::layerFromId(), TkLayerMap::layerSearch(), TrajectoryManager::makeSinglePSimHit(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), print(), PreMixingSiStripWorker::put(), SiStripBadModuleConfigurableFakeESSource::selectDetectors(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), TrackerOfflineValidation::setUpTreeMembers(), APVGain::subdetectorPlane(), TrackerDpgAnalysis::toStringName(), trackerHierarchy(), LaserDQM::trackerStatistics(), and TrackerAlignableId::typeAndLayerFromDetId().

◆ tibDetId()

DetId TrackerTopology::tibDetId ( uint32_t  layer,
uint32_t  str_fw_bw,
uint32_t  str_int_ext,
uint32_t  str,
uint32_t  module,
uint32_t  ster 
) const
inline

◆ tibDetIdLayerComparator()

std::pair<DetId, SameLayerComparator> TrackerTopology::tibDetIdLayerComparator ( uint32_t  layer) const
inline

Definition at line 544 of file TrackerTopology.h.

544  {
545  return std::make_pair(tibDetId(layer, 1, 1, 1, 1, 1), SameLayerComparator(this));
546  }

References layer(), and tibDetId().

Referenced by ctfseeding::HitExtractorSTRP::hits(), CosmicLayerTriplets::init(), and CosmicLayerPairs::selectTIBHit().

◆ tibGlued()

uint32_t TrackerTopology::tibGlued ( const DetId id) const
inline

Definition at line 337 of file TrackerTopology.h.

337  {
338  uint32_t testId = (id.rawId() >> tibVals_.sterStartBit_) & tibVals_.sterMask_;
339  return (testId == 0) ? 0 : (id.rawId() - testId);
340  }

References mathSSE::return(), TrackerTopology::TIBValues::sterMask_, TrackerTopology::TIBValues::sterStartBit_, and tibVals_.

Referenced by SiStripGainCosmicCalculator::getNewObject(), glued(), tibIsDoubleSide(), tibStack(), and trackerHierarchy().

◆ tibIsDoubleSide()

bool TrackerTopology::tibIsDoubleSide ( const DetId id) const
inline

◆ tibIsExternalString()

bool TrackerTopology::tibIsExternalString ( const DetId id) const
inline

◆ tibIsInternalString()

bool TrackerTopology::tibIsInternalString ( const DetId id) const
inline

◆ tibIsRPhi()

bool TrackerTopology::tibIsRPhi ( const DetId id) const
inline

◆ tibIsStereo()

bool TrackerTopology::tibIsStereo ( const DetId id) const
inline

◆ tibIsZMinusSide()

bool TrackerTopology::tibIsZMinusSide ( const DetId id) const
inline

◆ tibIsZPlusSide()

bool TrackerTopology::tibIsZPlusSide ( const DetId id) const
inline

◆ tibLayer()

unsigned int TrackerTopology::tibLayer ( const DetId id) const
inline

Definition at line 150 of file TrackerTopology.h.

150  {
151  return int((id.rawId() >> tibVals_.layerStartBit_) & tibVals_.layerMask_);
152  }

References createfilelist::int, TrackerTopology::TIBValues::layerMask_, TrackerTopology::TIBValues::layerStartBit_, and tibVals_.

Referenced by SiStripDetSummary::add(), TrackerAlignmentLevelBuilder::addTIBDetUnitInfo(), SiStripCalibLorentzAngle::algoBeginJob(), SiStripDigiValid::analyze(), SiStripLAProfileBooker::analyze(), SiStripElectronAnalyzer::analyze(), SiPixelErrorEstimation::analyze(), TrackerTreeGenerator::analyze(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), sistrip::MeasureLA::calibration_key(), HitEff::checkLayer(), TrackingLayer::createFromDetId(), SiStripBadComponentsDQMServiceReader::detIdToString(), SiStripDigitizerAlgorithm::digitize(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripPI::fillBCArrays(), AlignmentPI::topolInfo::fillGeometryInfo(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), SiStripLorentzAngleDQM::fillMEsForLayer(), SiStripBackPlaneCorrectionDQM::fillMEsForLayer(), SiStripPI::fillTotalComponents(), TrackerOfflineValidationSummary::fillTree(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), MonitorTrackResidualsBase< pixel_or_strip >::findSubdetAndLayer(), SiStripCablingDQM::getActiveDetIds(), SiStripFolderOrganizer::getFolderName(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripCorrelateNoise::getHistos(), SiStripPlotGain::getHistos(), SiStripFakeAPVParameters::getIndex(), SiStripLAProfileBooker::getlayer(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), SiStripGainCosmicCalculator::getNewObject(), SiStripCalibLorentzAngle::getNewObject(), SiStripMiscalibrate::getRegionsFromDetId(), GlobalMuonRefitter::getRidOfSelectStationHits(), SiStripBaseCondObjDQM::GetSameLayerDetId(), PrintRecoObjects::getString(), SiStripBaseCondObjDQM::getStringNameAndId(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripFolderOrganizer::GetSubDetAndLayerThickness(), SiStripHistoId::getSubdetid(), TkLayerMap::getXY_TIB(), align::TrackerNameSpace::TIB::halfShellNumber(), GeometricSearchTracker::idToLayer(), TrajectoryAtInvalidHit::isDoubleSided(), HitEff::isDoubleSided(), layer(), AlignmentPrescaler::layerFromId(), TkAlCaOverlapTagger::layerFromId(), LA_Filler_Fitter::layerLabel(), align::TrackerNameSpace::TIB::layerNumber(), TkLayerMap::layerSearch(), TrajectoryManager::makeSinglePSimHit(), moduleGeometry(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), print(), PreMixingSiStripWorker::put(), SiStripBadModuleConfigurableFakeESSource::selectDetectors(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), TrackerOfflineValidation::setUpTreeMembers(), ResidualRefitting::StoreTrackerRecHits(), align::TrackerNameSpace::TIB::stringNumber(), APVGain::subdetectorPlane(), tibIsDoubleSide(), MatchedHitRZCorrectionFromBending::tibMatchedHitZFixup(), TrackerDpgAnalysis::toStringName(), trackerHierarchy(), LaserDQM::trackerStatistics(), and TrackerAlignableId::typeAndLayerFromDetId().

◆ tibLower()

uint32_t TrackerTopology::tibLower ( const DetId id) const
inline

Definition at line 292 of file TrackerTopology.h.

292 { return tibStereo(id); }

References tibStereo().

Referenced by isLower(), and lower().

◆ tibModule()

unsigned int TrackerTopology::tibModule ( const DetId id) const
inline

◆ tibOrder()

unsigned int TrackerTopology::tibOrder ( const DetId id) const
inline

◆ tibPartnerDetId()

DetId TrackerTopology::tibPartnerDetId ( const DetId id) const
inline

Definition at line 366 of file TrackerTopology.h.

366  {
367  if (((id.rawId() >> tibVals_.sterStartBit_) & tibVals_.sterMask_) == 1) {
368  return DetId(id.rawId() + 1);
369  } else if (((id.rawId() >> tibVals_.sterStartBit_) & tibVals_.sterMask_) == 2) {
370  return DetId(id.rawId() - 1);
371  } else {
372  return DetId();
373  }
374  }

References TrackerTopology::TIBValues::sterMask_, TrackerTopology::TIBValues::sterStartBit_, and tibVals_.

Referenced by partnerDetId().

◆ tibRPhi()

uint32_t TrackerTopology::tibRPhi ( const DetId id) const
inline

Definition at line 306 of file TrackerTopology.h.

306  {
307  if (((id.rawId() >> tibVals_.sterStartBit_) & tibVals_.sterMask_) == 2) {
308  return ((id.rawId() >> tibVals_.sterStartBit_) & tibVals_.sterMask_);
309  } else {
310  return 0;
311  }
312  }

References TrackerTopology::TIBValues::sterMask_, TrackerTopology::TIBValues::sterStartBit_, and tibVals_.

Referenced by isRPhi(), tibIsRPhi(), and tibUpper().

◆ tibSide()

unsigned int TrackerTopology::tibSide ( const DetId id) const
inline

◆ tibStack()

uint32_t TrackerTopology::tibStack ( const DetId id) const
inline

Definition at line 358 of file TrackerTopology.h.

358 { return tibGlued(id); }

References tibGlued().

Referenced by stack().

◆ tibStereo()

uint32_t TrackerTopology::tibStereo ( const DetId id) const
inline

◆ tibString()

unsigned int TrackerTopology::tibString ( const DetId id) const
inline

◆ tibStringInfo()

std::vector<unsigned int> TrackerTopology::tibStringInfo ( const DetId id) const
inline

◆ tibUpper()

uint32_t TrackerTopology::tibUpper ( const DetId id) const
inline

Definition at line 331 of file TrackerTopology.h.

331 { return tibRPhi(id); }

References tibRPhi().

Referenced by isUpper(), and upper().

◆ tidDetId()

DetId TrackerTopology::tidDetId ( uint32_t  side,
uint32_t  wheel,
uint32_t  ring,
uint32_t  module_fw_bw,
uint32_t  module,
uint32_t  ster 
) const
inline

◆ tidDetIdWheelComparator()

std::pair<DetId, SameLayerComparator> TrackerTopology::tidDetIdWheelComparator ( uint32_t  side,
uint32_t  wheel 
) const
inline

Definition at line 548 of file TrackerTopology.h.

548  {
549  return std::make_pair(tidDetId(side, wheel, 1, 1, 1, 1), SameLayerComparator(this));
550  }

References side(), tidDetId(), and makeMuonMisalignmentScenario::wheel.

Referenced by ctfseeding::HitExtractorSTRP::hits().

◆ tidGlued()

uint32_t TrackerTopology::tidGlued ( const DetId id) const
inline

Definition at line 352 of file TrackerTopology.h.

352  {
353  uint32_t testId = (id.rawId() >> tidVals_.sterStartBit_) & tidVals_.sterMask_;
354  return (testId == 0) ? 0 : (id.rawId() - testId);
355  }

References mathSSE::return(), TrackerTopology::TIDValues::sterMask_, TrackerTopology::TIDValues::sterStartBit_, and tidVals_.

Referenced by glued(), tidIsDoubleSide(), tidStack(), and trackerHierarchy().

◆ tidIsBackRing()

bool TrackerTopology::tidIsBackRing ( const DetId id) const
inline

◆ tidIsDoubleSide()

bool TrackerTopology::tidIsDoubleSide ( const DetId id) const
inline

◆ tidIsFrontRing()

bool TrackerTopology::tidIsFrontRing ( const DetId id) const
inline

Definition at line 443 of file TrackerTopology.h.

443 { return !tidIsBackRing(id); }

References tidIsBackRing().

Referenced by TrackerDpgAnalysis::toStringName().

◆ tidIsRPhi()

bool TrackerTopology::tidIsRPhi ( const DetId id) const
inline

◆ tidIsStereo()

bool TrackerTopology::tidIsStereo ( const DetId id) const
inline

◆ tidIsZMinusSide()

bool TrackerTopology::tidIsZMinusSide ( const DetId id) const
inline

◆ tidIsZPlusSide()

bool TrackerTopology::tidIsZPlusSide ( const DetId id) const
inline

◆ tidLower()

uint32_t TrackerTopology::tidLower ( const DetId id) const
inline

Definition at line 293 of file TrackerTopology.h.

293 { return tidStereo(id); }

References tidStereo().

Referenced by isLower(), and lower().

◆ tidModule()

unsigned int TrackerTopology::tidModule ( const DetId id) const
inline

◆ tidModuleInfo()

std::vector<unsigned int> TrackerTopology::tidModuleInfo ( const DetId id) const
inline

◆ tidOrder()

unsigned int TrackerTopology::tidOrder ( const DetId id) const
inline

◆ tidPartnerDetId()

DetId TrackerTopology::tidPartnerDetId ( const DetId id) const
inline

Definition at line 386 of file TrackerTopology.h.

386  {
387  if (((id.rawId() >> tidVals_.sterStartBit_) & tidVals_.sterMask_) == 1) {
388  return DetId(id.rawId() + 1);
389  } else if (((id.rawId() >> tidVals_.sterStartBit_) & tidVals_.sterMask_) == 2) {
390  return DetId(id.rawId() - 1);
391  } else {
392  return DetId();
393  }
394  }

References TrackerTopology::TIDValues::sterMask_, TrackerTopology::TIDValues::sterStartBit_, and tidVals_.

Referenced by partnerDetId().

◆ tidRing()

unsigned int TrackerTopology::tidRing ( const DetId id) const
inline

Definition at line 218 of file TrackerTopology.h.

218 { return ((id.rawId() >> tidVals_.ringStartBit_) & tidVals_.ringMask_); }

References TrackerTopology::TIDValues::ringMask_, TrackerTopology::TIDValues::ringStartBit_, and tidVals_.

Referenced by TrackerAlignmentLevelBuilder::addTIDDetUnitInfo(), FWTGeoRecoGeometryESProducer::addTIDGeometry(), SiStripDigiValid::analyze(), OuterTrackerMonitorTTCluster::analyze(), OuterTrackerMonitorTTStub::analyze(), TrackerTreeGenerator::analyze(), Phase2TrackerMonitorDigi::bookLayerHistos(), Phase2TrackerValidateDigi::bookLayerHistos(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), l1tVertexFinder::VertexFinder::fastHisto(), AlignmentPI::topolInfo::fillGeometryInfo(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidationSummary::fillTree(), SiStripFolderOrganizer::getFolderName(), SiStripFakeAPVParameters::getIndex(), SiStripLAProfileBooker::getlayer(), SiStripFolderOrganizer::getLayerFolderName(), phase2tkutil::getOTHistoId(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripFolderOrganizer::GetSubDetAndRing(), SiStripHistoId::getSubdetid(), TkLayerMap::getXY_TID(), ctfseeding::HitExtractorSTRP::hits(), TrajectoryAtInvalidHit::isDoubleSided(), HitEff::isDoubleSided(), TrajectoryManager::makeSinglePSimHit(), moduleGeometry(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), TrackingNtuple::DetIdOTCommon::parse(), print(), L1TrackerEtMissProducer::produce(), L1TrackJetProducer::produce(), L1TkFastVertexProducer::produce(), L1TrackFastJetProducer::produce(), L1FastTrackingJetProducer::produce(), TTStubBuilder< T >::produce(), align::TrackerNameSpace::TID::ringNumber(), SiStripBadModuleConfigurableFakeESSource::selectDetectors(), trackerDTC::SensorModule::SensorModule(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), l1tVertexFinder::Stub::setModuleInfo(), TrackerOfflineValidation::setUpTreeMembers(), tmtt::StubFEWindows::storedWindowSize(), ResidualRefitting::StoreTrackerRecHits(), tidIsDoubleSide(), TrackerDpgAnalysis::toStringName(), trackerHierarchy(), and tmtt::TrackerModule::TrackerModule().

◆ tidRPhi()

uint32_t TrackerTopology::tidRPhi ( const DetId id) const
inline

Definition at line 314 of file TrackerTopology.h.

314  {
315  if (((id.rawId() >> tidVals_.sterStartBit_) & tidVals_.sterMask_) == 2) {
316  return ((id.rawId() >> tidVals_.sterStartBit_) & tidVals_.sterMask_);
317  } else {
318  return 0;
319  }
320  }

References TrackerTopology::TIDValues::sterMask_, TrackerTopology::TIDValues::sterStartBit_, and tidVals_.

Referenced by isRPhi(), tidIsRPhi(), and tidUpper().

◆ tidSide()

unsigned int TrackerTopology::tidSide ( const DetId id) const
inline

Definition at line 190 of file TrackerTopology.h.

190 { return ((id.rawId() >> tidVals_.sideStartBit_) & tidVals_.sideMask_); }

References TrackerTopology::TIDValues::sideMask_, TrackerTopology::TIDValues::sideStartBit_, and tidVals_.

Referenced by TrackerAlignmentLevelBuilder::addTIDDetUnitInfo(), FWTGeoRecoGeometryESProducer::addTIDGeometry(), SiStripDigiValid::analyze(), TrackerTreeGenerator::analyze(), AlignmentPI::TkAlBarycenters::computeBarycenters(), TrackingLayer::createFromDetId(), SiStripBadComponentsDQMServiceReader::detIdToString(), align::TrackerNameSpace::TID::endcapNumber(), SiStripPI::fillBCArrays(), AlignmentPI::topolInfo::fillGeometryInfo(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), SiStripPI::fillTotalComponents(), TrackerOfflineValidationSummary::fillTree(), MonitorTrackResidualsBase< pixel_or_strip >::findSubdetAndLayer(), SiStripCablingDQM::getActiveDetIds(), SiStripFolderOrganizer::getFolderName(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripPlotGain::getHistos(), SiStripCorrelateNoise::getHistos(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), phase2tkutil::getOTHistoId(), getOTLayerNumber(), SiStripMiscalibrate::getRegionsFromDetId(), SiStripBaseCondObjDQM::GetSameLayerDetId(), PrintRecoObjects::getString(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripFolderOrganizer::GetSubDetAndLayerThickness(), SiStripFolderOrganizer::GetSubDetAndRing(), SiStripUtility::getSubDetectorTag(), SiStripFolderOrganizer::getSubDetFolderAndTag(), SiStripHistoId::getSubdetid(), GeometricSearchTracker::idToLayer(), AlignmentPrescaler::layerFromId(), TkAlCaOverlapTagger::layerFromId(), TkLayerMap::layerSearch(), AlignmentParameterSelector::outsideDetIdRanges(), print(), SiStripTrackerMapCreator::printBadModuleList(), SiStripTrackerMapCreator::printTopModules(), SiStripFolderOrganizer::setLayerFolder(), TrackerOfflineValidation::setUpTreeMembers(), side(), ResidualRefitting::StoreTrackerRecHits(), APVGain::subdetectorPlane(), tidIsZMinusSide(), and trackerHierarchy().

◆ tidStack()

uint32_t TrackerTopology::tidStack ( const DetId id) const
inline

Definition at line 359 of file TrackerTopology.h.

359 { return tidGlued(id); }

References tidGlued().

Referenced by stack().

◆ tidStereo()

uint32_t TrackerTopology::tidStereo ( const DetId id) const
inline

◆ tidUpper()

uint32_t TrackerTopology::tidUpper ( const DetId id) const
inline

Definition at line 332 of file TrackerTopology.h.

332 { return tidRPhi(id); }

References tidRPhi().

Referenced by isUpper(), and upper().

◆ tidWheel()

unsigned int TrackerTopology::tidWheel ( const DetId id) const
inline

Definition at line 201 of file TrackerTopology.h.

201  {
202  return ((id.rawId() >> tidVals_.wheelStartBit_) & tidVals_.wheelMask_);
203  }

References tidVals_, TrackerTopology::TIDValues::wheelMask_, and TrackerTopology::TIDValues::wheelStartBit_.

Referenced by SiStripDetSummary::add(), tmtt::StubKiller::addDeadLayerModulesToDeadModuleList(), TrackerAlignmentLevelBuilder::addTIDDetUnitInfo(), FWTGeoRecoGeometryESProducer::addTIDGeometry(), SiStripDigiValid::analyze(), SiStripLAProfileBooker::analyze(), TrackerTreeGenerator::analyze(), Phase2TrackerMonitorDigi::bookLayerHistos(), Phase2TrackerValidateDigi::bookLayerHistos(), HitEff::checkLayer(), TrackingLayer::createFromDetId(), SiStripBadComponentsDQMServiceReader::detIdToString(), SiStripDigitizerAlgorithm::digitize(), align::TrackerNameSpace::TID::diskNumber(), trackerDTC::Setup::encodeLayerId(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripPI::fillBCArrays(), AlignmentPI::topolInfo::fillGeometryInfo(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), SiStripPI::fillTotalComponents(), TrackerOfflineValidationSummary::fillTree(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), MonitorTrackResidualsBase< pixel_or_strip >::findSubdetAndLayer(), SiStripCablingDQM::getActiveDetIds(), SiStripFolderOrganizer::getFolderName(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripCorrelateNoise::getHistos(), SiStripPlotGain::getHistos(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), phase2tkutil::getOTHistoId(), getOTLayerNumber(), SiStripMiscalibrate::getRegionsFromDetId(), GlobalMuonRefitter::getRidOfSelectStationHits(), SiStripBaseCondObjDQM::GetSameLayerDetId(), PrintRecoObjects::getString(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripFolderOrganizer::GetSubDetAndLayerThickness(), SiStripHistoId::getSubdetid(), GeometricSearchTracker::idToLayer(), tmtt::StubKiller::killStub(), layer(), AlignmentPrescaler::layerFromId(), TkAlCaOverlapTagger::layerFromId(), TkLayerMap::layerSearch(), TrajectoryManager::makeSinglePSimHit(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), print(), TTStubBuilder< T >::produce(), PreMixingSiStripWorker::put(), SiStripBadModuleConfigurableFakeESSource::selectDetectors(), trackerDTC::SensorModule::SensorModule(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), l1tVertexFinder::Stub::setModuleInfo(), TrackerOfflineValidation::setUpTreeMembers(), tmtt::StubFEWindows::storedWindowSize(), ResidualRefitting::StoreTrackerRecHits(), trackerDTC::Setup::stubPos(), APVGain::subdetectorPlane(), TrackerDpgAnalysis::toStringName(), trackerHierarchy(), tmtt::TrackerModule::TrackerModule(), and TrackerAlignableId::typeAndLayerFromDetId().

◆ tobDetId()

DetId TrackerTopology::tobDetId ( uint32_t  layer,
uint32_t  rod_fw_bw,
uint32_t  rod,
uint32_t  module,
uint32_t  ster 
) const
inline

◆ tobDetIdLayerComparator()

std::pair<DetId, SameLayerComparator> TrackerTopology::tobDetIdLayerComparator ( uint32_t  layer) const
inline

Definition at line 552 of file TrackerTopology.h.

552  {
553  return std::make_pair(tobDetId(layer, 1, 1, 1, 1), SameLayerComparator(this));
554  }

References layer(), and tobDetId().

Referenced by ctfseeding::HitExtractorSTRP::hits(), CosmicLayerTriplets::init(), and CosmicLayerPairs::selectTOBHit().

◆ tobGlued()

uint32_t TrackerTopology::tobGlued ( const DetId id) const
inline

Definition at line 347 of file TrackerTopology.h.

347  {
348  uint32_t testId = (id.rawId() >> tobVals_.sterStartBit_) & tobVals_.sterMask_;
349  return (testId == 0) ? 0 : (id.rawId() - testId);
350  }

References mathSSE::return(), TrackerTopology::TOBValues::sterMask_, TrackerTopology::TOBValues::sterStartBit_, and tobVals_.

Referenced by glued(), tobIsDoubleSide(), tobStack(), and trackerHierarchy().

◆ tobIsDoubleSide()

bool TrackerTopology::tobIsDoubleSide ( const DetId id) const
inline

◆ tobIsRPhi()

bool TrackerTopology::tobIsRPhi ( const DetId id) const
inline

◆ tobIsStereo()

bool TrackerTopology::tobIsStereo ( const DetId id) const
inline

◆ tobIsZMinusSide()

bool TrackerTopology::tobIsZMinusSide ( const DetId id) const
inline

◆ tobIsZPlusSide()

bool TrackerTopology::tobIsZPlusSide ( const DetId id) const
inline

◆ tobLayer()

unsigned int TrackerTopology::tobLayer ( const DetId id) const
inline

Definition at line 147 of file TrackerTopology.h.

147  {
148  return int((id.rawId() >> tobVals_.layerStartBit_) & tobVals_.layerMask_);
149  }

References createfilelist::int, TrackerTopology::TOBValues::layerMask_, TrackerTopology::TOBValues::layerStartBit_, and tobVals_.

Referenced by SiStripDetSummary::add(), TrackerAlignmentLevelBuilder::addTOBDetUnitInfo(), SiStripCalibLorentzAngle::algoBeginJob(), SiStripDigiValid::analyze(), SiStripLAProfileBooker::analyze(), SiStripElectronAnalyzer::analyze(), SiPixelErrorEstimation::analyze(), TrackerTreeGenerator::analyze(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), HitEff::checkLayer(), TrackingLayer::createFromDetId(), SiStripBadComponentsDQMServiceReader::detIdToString(), SiStripDigitizerAlgorithm::digitize(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), l1tVertexFinder::VertexFinder::fastHisto(), SiStripPI::fillBCArrays(), AlignmentPI::topolInfo::fillGeometryInfo(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), SiStripLorentzAngleDQM::fillMEsForLayer(), SiStripBackPlaneCorrectionDQM::fillMEsForLayer(), SiStripPI::fillTotalComponents(), TrackerOfflineValidationSummary::fillTree(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), MonitorTrackResidualsBase< pixel_or_strip >::findSubdetAndLayer(), SiStripCablingDQM::getActiveDetIds(), SiStripFolderOrganizer::getFolderName(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripCorrelateNoise::getHistos(), SiStripPlotGain::getHistos(), SiStripFakeAPVParameters::getIndex(), SiStripLAProfileBooker::getlayer(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), SiStripGainCosmicCalculator::getNewObject(), SiStripCalibLorentzAngle::getNewObject(), getOTLayerNumber(), SiStripMiscalibrate::getRegionsFromDetId(), GlobalMuonRefitter::getRidOfSelectStationHits(), SiStripBaseCondObjDQM::GetSameLayerDetId(), PrintRecoObjects::getString(), SiStripBaseCondObjDQM::getStringNameAndId(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripFolderOrganizer::GetSubDetAndLayerThickness(), SiStripHistoId::getSubdetid(), TkLayerMap::getXY_TOB(), GeometricSearchTracker::idToLayer(), TrajectoryAtInvalidHit::isDoubleSided(), HitEff::isDoubleSided(), layer(), AlignmentPrescaler::layerFromId(), TkAlCaOverlapTagger::layerFromId(), LA_Filler_Fitter::layerLabel(), align::TrackerNameSpace::TOB::layerNumber(), TkLayerMap::layerSearch(), TrajectoryManager::makeSinglePSimHit(), TkGluedMeasurementDet::measurements(), moduleGeometry(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), print(), L1TrackerEtMissProducer::produce(), L1TrackJetProducer::produce(), L1TkFastVertexProducer::produce(), L1TrackFastJetProducer::produce(), L1FastTrackingJetProducer::produce(), PreMixingSiStripWorker::put(), SiStripBadModuleConfigurableFakeESSource::selectDetectors(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), TrackerOfflineValidation::setUpTreeMembers(), ResidualRefitting::StoreTrackerRecHits(), APVGain::subdetectorPlane(), tobIsDoubleSide(), TrackerDpgAnalysis::toStringName(), trackerHierarchy(), LaserDQM::trackerStatistics(), and TrackerAlignableId::typeAndLayerFromDetId().

◆ tobLower()

uint32_t TrackerTopology::tobLower ( const DetId id) const
inline

Definition at line 294 of file TrackerTopology.h.

294 { return tobStereo(id); }

References tobStereo().

Referenced by isLower(), and lower().

◆ tobModule()

unsigned int TrackerTopology::tobModule ( const DetId id) const
inline

◆ tobPartnerDetId()

DetId TrackerTopology::tobPartnerDetId ( const DetId id) const
inline

Definition at line 376 of file TrackerTopology.h.

376  {
377  if (((id.rawId() >> tobVals_.sterStartBit_) & tobVals_.sterMask_) == 1) {
378  return DetId(id.rawId() + 1);
379  } else if (((id.rawId() >> tobVals_.sterStartBit_) & tobVals_.sterMask_) == 2) {
380  return DetId(id.rawId() - 1);
381  } else {
382  return DetId();
383  }
384  }

References TrackerTopology::TOBValues::sterMask_, TrackerTopology::TOBValues::sterStartBit_, and tobVals_.

Referenced by partnerDetId().

◆ tobRod()

unsigned int TrackerTopology::tobRod ( const DetId id) const
inline

◆ tobRodInfo()

std::vector<unsigned int> TrackerTopology::tobRodInfo ( const DetId id) const
inline

◆ tobRPhi()

uint32_t TrackerTopology::tobRPhi ( const DetId id) const
inline

Definition at line 298 of file TrackerTopology.h.

298  {
299  if (((id.rawId() >> tobVals_.sterStartBit_) & tobVals_.sterMask_) == 2) {
300  return ((id.rawId() >> tobVals_.sterStartBit_) & tobVals_.sterMask_);
301  } else {
302  return 0;
303  }
304  }

References TrackerTopology::TOBValues::sterMask_, TrackerTopology::TOBValues::sterStartBit_, and tobVals_.

Referenced by isRPhi(), tobIsRPhi(), and tobUpper().

◆ tobSide()

unsigned int TrackerTopology::tobSide ( const DetId id) const
inline

◆ tobStack()

uint32_t TrackerTopology::tobStack ( const DetId id) const
inline

Definition at line 360 of file TrackerTopology.h.

360 { return tobGlued(id); }

References tobGlued().

Referenced by stack().

◆ tobStereo()

uint32_t TrackerTopology::tobStereo ( const DetId id) const
inline

◆ tobUpper()

uint32_t TrackerTopology::tobUpper ( const DetId id) const
inline

Definition at line 333 of file TrackerTopology.h.

333 { return tobRPhi(id); }

References tobRPhi().

Referenced by isUpper(), and upper().

◆ upper()

uint32_t TrackerTopology::upper ( const DetId id) const

Definition at line 140 of file TrackerTopology.cc.

140  {
141  uint32_t subdet = id.subdetId();
142  if (subdet == PixelSubdetector::PixelBarrel)
143  return 0;
144  if (subdet == PixelSubdetector::PixelEndcap)
145  return 0;
146  if (subdet == SiStripSubdetector::TIB)
147  return tibUpper(id);
148  if (subdet == SiStripSubdetector::TID)
149  return tidUpper(id);
150  if (subdet == SiStripSubdetector::TOB)
151  return tobUpper(id);
152  if (subdet == SiStripSubdetector::TEC)
153  return tecUpper(id);
154 
155  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::upper";
156 }

References Exception, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, SiStripSubdetector::TEC, tecUpper(), SiStripSubdetector::TIB, tibUpper(), SiStripSubdetector::TID, tidUpper(), SiStripSubdetector::TOB, and tobUpper().

Member Data Documentation

◆ bits_per_field

const BitmaskAndSubdet TrackerTopology::bits_per_field[DETID_FIELDS_MAX]
private

Definition at line 589 of file TrackerTopology.h.

Referenced by getField(), and hasField().

◆ pbVals_

const PixelBarrelValues TrackerTopology::pbVals_
private

Definition at line 576 of file TrackerTopology.h.

Referenced by pxbDetId(), pxbLadder(), pxbLayer(), pxbModule(), and TrackerTopology().

◆ pfVals_

const PixelEndcapValues TrackerTopology::pfVals_
private

◆ tecVals_

const TECValues TrackerTopology::tecVals_
private

◆ tibVals_

const TIBValues TrackerTopology::tibVals_
private

◆ tidVals_

const TIDValues TrackerTopology::tidVals_
private

◆ tobVals_

const TOBValues TrackerTopology::tobVals_
private
TrackerTopology::tobStack
uint32_t tobStack(const DetId &id) const
Definition: TrackerTopology.h:360
SiStripModuleGeometry::W4
TrackerTopology::tobIsDoubleSide
bool tobIsDoubleSide(const DetId &id) const
Definition: TrackerTopology.h:245
TrackerTopology::tibOrder
unsigned int tibOrder(const DetId &id) const
Definition: TrackerTopology.h:209
TrackerTopology::BitmaskAndSubdet::subdet
int subdet
Definition: TrackerTopology.h:587
TrackerTopology::TECValues::ringMask_
unsigned int ringMask_
Definition: TrackerTopology.h:52
TrackerTopology::side
unsigned int side(const DetId &id) const
Definition: TrackerTopology.cc:28
TrackerTopology::TIBValues::layerStartBit_
unsigned int layerStartBit_
Definition: TrackerTopology.h:58
TrackerTopology::tidIsZMinusSide
bool tidIsZMinusSide(const DetId &id) const
Definition: TrackerTopology.h:259
TrackerTopology::TECValues::sideStartBit_
unsigned int sideStartBit_
Definition: TrackerTopology.h:41
TrackerTopology::TIDValues::sideMask_
unsigned int sideMask_
Definition: TrackerTopology.h:80
TrackerTopology::pbVals_
const PixelBarrelValues pbVals_
Definition: TrackerTopology.h:576
TrackerTopology::pxfDetId
DetId pxfDetId(uint32_t side, uint32_t disk, uint32_t blade, uint32_t panel, uint32_t module) const
Definition: TrackerTopology.h:465
TrackerTopology::PixelEndcapValues::moduleStartBit_
unsigned int moduleStartBit_
Definition: TrackerTopology.h:32
TrackerTopology::tibIsInternalString
bool tibIsInternalString(const DetId &id) const
Definition: TrackerTopology.h:429
SiStripModuleGeometry::W7
TrackerTopology::tobRPhi
uint32_t tobRPhi(const DetId &id) const
Definition: TrackerTopology.h:298
TrackerTopology::PixelBarrelValues::ladderStartBit_
unsigned int ladderStartBit_
Definition: TrackerTopology.h:20
TrackerTopology::PixelEndcapValues::sideMask_
unsigned int sideMask_
Definition: TrackerTopology.h:33
PixelSubdetector::PixelEndcap
Definition: PixelSubdetector.h:11
TrackerTopology::TIBValues::sterStartBit_
unsigned int sterStartBit_
Definition: TrackerTopology.h:63
PixelSubdetector::PixelBarrel
Definition: PixelSubdetector.h:11
TrackerTopology::PBModule
Definition: TrackerTopology.h:102
TrackerTopology::tibGlued
uint32_t tibGlued(const DetId &id) const
Definition: TrackerTopology.h:337
TrackerTopology::PixelEndcapValues::panelStartBit_
unsigned int panelStartBit_
Definition: TrackerTopology.h:31
TrackerTopology::TECValues::sterMask_
unsigned int sterMask_
Definition: TrackerTopology.h:54
TrackerTopology::TOBValues::sterStartBit_
unsigned int sterStartBit_
Definition: TrackerTopology.h:93
TrackerTopology::TECValues::sterStartBit_
unsigned int sterStartBit_
Definition: TrackerTopology.h:47
TrackerTopology::isLower
bool isLower(const DetId &id) const
Definition: TrackerTopology.cc:195
TrackerTopology::pxfSide
unsigned int pxfSide(const DetId &id) const
Definition: TrackerTopology.h:192
TrackerTopology::TIDValues::ringStartBit_
unsigned int ringStartBit_
Definition: TrackerTopology.h:76
TrackerTopology::tecIsZMinusSide
bool tecIsZMinusSide(const DetId &id) const
Definition: TrackerTopology.h:262
TrackerTopology::PFPanel
Definition: TrackerTopology.h:106
TrackerTopology::PixelEndcapValues::diskStartBit_
unsigned int diskStartBit_
Definition: TrackerTopology.h:29
TrackerTopology::tecRPhi
uint32_t tecRPhi(const DetId &id) const
Definition: TrackerTopology.h:322
TrackerTopology::PBLadder
Definition: TrackerTopology.h:103
TrackerTopology::tecIsDoubleSide
bool tecIsDoubleSide(const DetId &id) const
Definition: TrackerTopology.h:246
TrackerTopology::tidIsDoubleSide
bool tidIsDoubleSide(const DetId &id) const
Definition: TrackerTopology.h:250
TrackerTopology::pxbLadder
unsigned int pxbLadder(const DetId &id) const
Definition: TrackerTopology.h:155
TrackerTopology::tidRPhi
uint32_t tidRPhi(const DetId &id) const
Definition: TrackerTopology.h:314
SiStripModuleGeometry::W3B
TrackerTopology::PixelBarrelValues::moduleMask_
unsigned int moduleMask_
Definition: TrackerTopology.h:24
TrackerTopology::layer
unsigned int layer(const DetId &id) const
Definition: TrackerTopology.cc:47
TrackerTopology::TOBValues::rodStartBit_
unsigned int rodStartBit_
Definition: TrackerTopology.h:91
SiStripModuleGeometry::IB1
TrackerTopology::TECValues::petal_fw_bwStartBit_
unsigned int petal_fw_bwStartBit_
Definition: TrackerTopology.h:43
TrackerTopology::PixelEndcapValues::moduleMask_
unsigned int moduleMask_
Definition: TrackerTopology.h:37
mathSSE::return
return((rh ^ lh) &mask)
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
TrackerTopology::pfVals_
const PixelEndcapValues pfVals_
Definition: TrackerTopology.h:577
TrackerTopology::module
unsigned int module(const DetId &id) const
Definition: TrackerTopology.cc:66
TrackerTopology::TECValues::petalStartBit_
unsigned int petalStartBit_
Definition: TrackerTopology.h:44
SiStripModuleGeometry::W3A
TrackerTopology::tecDetId
DetId tecDetId(uint32_t side, uint32_t wheel, uint32_t petal_fw_bw, uint32_t petal, uint32_t ring, uint32_t module, uint32_t ster) const
Definition: TrackerTopology.h:475
TrackerTopology::TOBValues::layerStartBit_
unsigned int layerStartBit_
Definition: TrackerTopology.h:89
SiStripSubdetector::TEC
Definition: SiStripEnums.h:5
TrackerTopology::tidModule
unsigned int tidModule(const DetId &id) const
Definition: TrackerTopology.h:175
TrackerTopology::PixelBarrelValues::layerStartBit_
unsigned int layerStartBit_
Definition: TrackerTopology.h:19
TrackerTopology::tidRing
unsigned int tidRing(const DetId &id) const
Definition: TrackerTopology.h:218
SiStripModuleGeometry::W6
TrackerTopology::PixelEndcapValues::bladeStartBit_
unsigned int bladeStartBit_
Definition: TrackerTopology.h:30
TrackerTopology::tobRod
unsigned int tobRod(const DetId &id) const
Definition: TrackerTopology.h:195
TrackerTopology::tobStereo
uint32_t tobStereo(const DetId &id) const
Definition: TrackerTopology.h:275
TrackerTopology::tidWheel
unsigned int tidWheel(const DetId &id) const
Definition: TrackerTopology.h:201
SiStripModuleGeometry::OB1
TrackerTopology::pxbLayer
unsigned int pxbLayer(const DetId &id) const
Definition: TrackerTopology.h:144
heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
SiStripSubdetector::TOB
Definition: SiStripEnums.h:5
TrackerTopology::tibSide
unsigned int tibSide(const DetId &id) const
Definition: TrackerTopology.h:186
TrackerTopology::tecLower
uint32_t tecLower(const DetId &id) const
Definition: TrackerTopology.h:295
TrackerTopology::pxfPanel
unsigned int pxfPanel(const DetId &id) const
Definition: TrackerTopology.h:450
TrackerTopology::TIBValues::strStartBit_
unsigned int strStartBit_
Definition: TrackerTopology.h:61
TrackerTopology::DETID_FIELDS_MAX
Definition: TrackerTopology.h:111
TrackerTopology::tobVals_
const TOBValues tobVals_
Definition: TrackerTopology.h:579
DetId
Definition: DetId.h:17
TrackerTopology::tobRodInfo
std::vector< unsigned int > tobRodInfo(const DetId &id) const
Definition: TrackerTopology.h:226
TrackerTopology::tibStringInfo
std::vector< unsigned int > tibStringInfo(const DetId &id) const
Definition: TrackerTopology.h:421
part
part
Definition: HCALResponse.h:20
TrackerTopology::TECValues::petal_fw_bwMask_
unsigned int petal_fw_bwMask_
Definition: TrackerTopology.h:50
TrackerTopology::tidModuleInfo
std::vector< unsigned int > tidModuleInfo(const DetId &id) const
Definition: TrackerTopology.h:434
SiStripModuleGeometry::W5
TrackerTopology::tibRPhi
uint32_t tibRPhi(const DetId &id) const
Definition: TrackerTopology.h:306
TrackerTopology::tecPartnerDetId
uint32_t tecPartnerDetId(const DetId &id) const
Definition: TrackerTopology.h:396
TrackerTopology::TIBValues::moduleMask_
unsigned int moduleMask_
Definition: TrackerTopology.h:69
TrackerTopology::isStereo
bool isStereo(const DetId &id) const
Definition: TrackerTopology.cc:158
TrackerTopology::tibDetId
DetId tibDetId(uint32_t layer, uint32_t str_fw_bw, uint32_t str_int_ext, uint32_t str, uint32_t module, uint32_t ster) const
Definition: TrackerTopology.h:495
TrackerTopology::PixelEndcapValues::bladeMask_
unsigned int bladeMask_
Definition: TrackerTopology.h:35
TrackerTopology::tibVals_
const TIBValues tibVals_
Definition: TrackerTopology.h:580
TrackerTopology::TIDValues::sterStartBit_
unsigned int sterStartBit_
Definition: TrackerTopology.h:79
TrackerTopology::TIBValues::str_int_extMask_
unsigned int str_int_extMask_
Definition: TrackerTopology.h:67
str
#define str(s)
Definition: TestProcessor.cc:53
TrackerTopology::TOBValues::rod_fw_bwMask_
unsigned int rod_fw_bwMask_
Definition: TrackerTopology.h:95
TrackerTopology::TOBValues::sterMask_
unsigned int sterMask_
Definition: TrackerTopology.h:98
TrackerTopology::TOBValues::moduleStartBit_
unsigned int moduleStartBit_
Definition: TrackerTopology.h:92
TrackerTopology::TIDValues::sterMask_
unsigned int sterMask_
Definition: TrackerTopology.h:85
TrackerTopology::tecVals_
const TECValues tecVals_
Definition: TrackerTopology.h:582
SiStripModuleGeometry::W1B
TrackerTopology::PixelEndcapValues::panelMask_
unsigned int panelMask_
Definition: TrackerTopology.h:36
TrackerTopology::TIBValues::str_fw_bwStartBit_
unsigned int str_fw_bwStartBit_
Definition: TrackerTopology.h:59
TrackerTopology::tecGlued
uint32_t tecGlued(const DetId &id) const
Definition: TrackerTopology.h:342
TrackerTopology::TECValues::wheelMask_
unsigned int wheelMask_
Definition: TrackerTopology.h:49
TrackerTopology::PixelBarrelValues::ladderMask_
unsigned int ladderMask_
Definition: TrackerTopology.h:23
TrackerTopology::tibStereo
uint32_t tibStereo(const DetId &id) const
Definition: TrackerTopology.h:279
TrackerTopology::tobDetId
DetId tobDetId(uint32_t layer, uint32_t rod_fw_bw, uint32_t rod, uint32_t module, uint32_t ster) const
Definition: TrackerTopology.h:521
TrackerTopology::TECValues::wheelStartBit_
unsigned int wheelStartBit_
Definition: TrackerTopology.h:42
TrackerTopology::TIDValues::ringMask_
unsigned int ringMask_
Definition: TrackerTopology.h:82
SiStripModuleGeometry::IB2
TrackerTopology::PFSide
Definition: TrackerTopology.h:109
SiStripModuleGeometry::W1A
TrackerTopology::tibString
unsigned int tibString(const DetId &id) const
Definition: TrackerTopology.h:419
TrackerTopology::tibStack
uint32_t tibStack(const DetId &id) const
Definition: TrackerTopology.h:358
DetId::Tracker
Definition: DetId.h:25
TrackerTopology::tidOrder
unsigned int tidOrder(const DetId &id) const
Definition: TrackerTopology.h:212
TrackerTopology::TECValues::sideMask_
unsigned int sideMask_
Definition: TrackerTopology.h:48
TrackerTopology::TOBValues::rodMask_
unsigned int rodMask_
Definition: TrackerTopology.h:96
TrackerTopology::PixelBarrelValues::moduleStartBit_
unsigned int moduleStartBit_
Definition: TrackerTopology.h:21
TrackerTopology::tecPetalNumber
unsigned int tecPetalNumber(const DetId &id) const
Definition: TrackerTopology.h:221
TrackerTopology::tobIsZMinusSide
bool tobIsZMinusSide(const DetId &id) const
Definition: TrackerTopology.h:253
TrackerTopology::TIDValues::module_fw_bwStartBit_
unsigned int module_fw_bwStartBit_
Definition: TrackerTopology.h:77
type
type
Definition: SiPixelVCal_PayloadInspector.cc:39
SiStripModuleGeometry::W2A
TrackerTopology::PBLayer
Definition: TrackerTopology.h:104
TrackerTopology::TOBValues::rod_fw_bwStartBit_
unsigned int rod_fw_bwStartBit_
Definition: TrackerTopology.h:90
TrackerTopology::isRPhi
bool isRPhi(const DetId &id) const
Definition: TrackerTopology.cc:177
gainCalibHelper::gainCalibPI::type
type
Definition: SiPixelGainCalibHelper.h:40
TrackerTopology::tidStereo
uint32_t tidStereo(const DetId &id) const
Definition: TrackerTopology.h:283
TrackerTopology::tibModule
unsigned int tibModule(const DetId &id) const
Definition: TrackerTopology.h:172
TrackerTopology::tidSide
unsigned int tidSide(const DetId &id) const
Definition: TrackerTopology.h:190
makeMuonMisalignmentScenario.wheel
wheel
Definition: makeMuonMisalignmentScenario.py:319
createfilelist.int
int
Definition: createfilelist.py:10
TrackerTopology::TECValues::petalMask_
unsigned int petalMask_
Definition: TrackerTopology.h:51
TrackerTopology::tobUpper
uint32_t tobUpper(const DetId &id) const
Definition: TrackerTopology.h:333
TrackerTopology::PFModule
Definition: TrackerTopology.h:105
TrackerTopology::tecRing
unsigned int tecRing(const DetId &id) const
ring id
Definition: TrackerTopology.h:217
TrackerTopology::pxfModule
unsigned int pxfModule(const DetId &id) const
Definition: TrackerTopology.h:163
TrackerTopology::pxfDisk
unsigned int pxfDisk(const DetId &id) const
Definition: TrackerTopology.h:446
SiStripModuleGeometry::W2B
TrackerTopology::TIDValues::sideStartBit_
unsigned int sideStartBit_
Definition: TrackerTopology.h:74
TrackerTopology::tidPartnerDetId
DetId tidPartnerDetId(const DetId &id) const
Definition: TrackerTopology.h:386
TrackerTopology::tidDetId
DetId tidDetId(uint32_t side, uint32_t wheel, uint32_t ring, uint32_t module_fw_bw, uint32_t module, uint32_t ster) const
Definition: TrackerTopology.h:508
TrackerTopology::TIDValues::moduleMask_
unsigned int moduleMask_
Definition: TrackerTopology.h:84
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripSubdetector::TIB
Definition: SiStripEnums.h:5
SiStripModuleGeometry::UNKNOWNGEOMETRY
EgammaValidation_cff.num
num
Definition: EgammaValidation_cff.py:33
TrackerTopology::TIBValues::moduleStartBit_
unsigned int moduleStartBit_
Definition: TrackerTopology.h:62
TrackerTopology::TIDValues::wheelMask_
unsigned int wheelMask_
Definition: TrackerTopology.h:81
TrackerTopology::tobLower
uint32_t tobLower(const DetId &id) const
Definition: TrackerTopology.h:294
TrackerTopology::tobGlued
uint32_t tobGlued(const DetId &id) const
Definition: TrackerTopology.h:347
TrackerTopology::TIBValues::sterMask_
unsigned int sterMask_
Definition: TrackerTopology.h:70
TrackerTopology::tobLayer
unsigned int tobLayer(const DetId &id) const
Definition: TrackerTopology.h:147
TrackerTopology::tidUpper
uint32_t tidUpper(const DetId &id) const
Definition: TrackerTopology.h:332
TrackerTopology::tibLower
uint32_t tibLower(const DetId &id) const
Definition: TrackerTopology.h:292
TrackerTopology::tidIsBackRing
bool tidIsBackRing(const DetId &id) const
Definition: TrackerTopology.h:441
TrackerTopology::tobModule
unsigned int tobModule(const DetId &id) const
Definition: TrackerTopology.h:166
TrackerTopology::isUpper
bool isUpper(const DetId &id) const
Definition: TrackerTopology.cc:214
TrackerTopology::TECValues::moduleStartBit_
unsigned int moduleStartBit_
Definition: TrackerTopology.h:46
TrackerTopology::pxbModule
unsigned int pxbModule(const DetId &id) const
Definition: TrackerTopology.h:160
TrackerTopology::tibIsDoubleSide
bool tibIsDoubleSide(const DetId &id) const
Definition: TrackerTopology.h:249
TrackerTopology::tobPartnerDetId
DetId tobPartnerDetId(const DetId &id) const
Definition: TrackerTopology.h:376
TrackerTopology::TIBValues::strMask_
unsigned int strMask_
Definition: TrackerTopology.h:68
TrackerTopology::TIDValues::moduleStartBit_
unsigned int moduleStartBit_
Definition: TrackerTopology.h:78
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:29
TrackerTopology::tidGlued
uint32_t tidGlued(const DetId &id) const
Definition: TrackerTopology.h:352
TrackerTopology::tecStack
uint32_t tecStack(const DetId &id) const
Definition: TrackerTopology.h:361
Exception
Definition: hltDiff.cc:245
TrackerTopology::tidStack
uint32_t tidStack(const DetId &id) const
Definition: TrackerTopology.h:359
TrackerTopology::bits_per_field
const BitmaskAndSubdet bits_per_field[DETID_FIELDS_MAX]
Definition: TrackerTopology.h:589
TrackerTopology::tecOrder
unsigned int tecOrder(const DetId &id) const
Definition: TrackerTopology.h:206
PVValHelper::ladder
Definition: PVValidationHelpers.h:73
relativeConstraints.ring
ring
Definition: relativeConstraints.py:68
TrackerTopology::TECValues::ringStartBit_
unsigned int ringStartBit_
Definition: TrackerTopology.h:45
SiStripModuleGeometry::OB2
TrackerTopology::tecModule
unsigned int tecModule(const DetId &id) const
Definition: TrackerTopology.h:169
TrackerTopology::pxfBlade
unsigned int pxfBlade(const DetId &id) const
Definition: TrackerTopology.h:447
TrackerTopology::tecPetalInfo
std::vector< unsigned int > tecPetalInfo(const DetId &id) const
Definition: TrackerTopology.h:407
TrackerTopology::TECValues::moduleMask_
unsigned int moduleMask_
Definition: TrackerTopology.h:53
TrackerTopology::PFDisk
Definition: TrackerTopology.h:108
TrackerTopology::tidVals_
const TIDValues tidVals_
Definition: TrackerTopology.h:581
TrackerTopology::TIDValues::wheelStartBit_
unsigned int wheelStartBit_
Definition: TrackerTopology.h:75
TrackerTopology::tecIsBackPetal
bool tecIsBackPetal(const DetId &id) const
Definition: TrackerTopology.h:414
TrackerTopology::pxbDetId
DetId pxbDetId(uint32_t layer, uint32_t ladder, uint32_t module) const
Definition: TrackerTopology.h:455
TrackerTopology::TOBValues::moduleMask_
unsigned int moduleMask_
Definition: TrackerTopology.h:97
TrackerTopology::tidLower
uint32_t tidLower(const DetId &id) const
Definition: TrackerTopology.h:293
TrackerTopology::tibIsZMinusSide
bool tibIsZMinusSide(const DetId &id) const
Definition: TrackerTopology.h:256
TrackerTopology::tecWheel
unsigned int tecWheel(const DetId &id) const
Definition: TrackerTopology.h:198
TrackerTopology::tibPartnerDetId
DetId tibPartnerDetId(const DetId &id) const
Definition: TrackerTopology.h:366
TrackerTopology::TIDValues::module_fw_bwMask_
unsigned int module_fw_bwMask_
Definition: TrackerTopology.h:83
TrackerTopology::TIBValues::layerMask_
unsigned int layerMask_
Definition: TrackerTopology.h:65
TrackerTopology::PixelBarrelValues::layerMask_
unsigned int layerMask_
Definition: TrackerTopology.h:22
TrackerTopology::tobSide
unsigned int tobSide(const DetId &id) const
Definition: TrackerTopology.h:180
TrackerTopology::tecUpper
uint32_t tecUpper(const DetId &id) const
Definition: TrackerTopology.h:334
SiStripSubdetector::TID
Definition: SiStripEnums.h:5
TrackerTopology::TOBValues::layerMask_
unsigned int layerMask_
Definition: TrackerTopology.h:94
TrackerTopology::PixelEndcapValues::diskMask_
unsigned int diskMask_
Definition: TrackerTopology.h:34
TrackerTopology::PixelEndcapValues::sideStartBit_
unsigned int sideStartBit_
Definition: TrackerTopology.h:28
TrackerTopology::TIBValues::str_int_extStartBit_
unsigned int str_int_extStartBit_
Definition: TrackerTopology.h:60
TrackerTopology::tecStereo
uint32_t tecStereo(const DetId &id) const
Definition: TrackerTopology.h:287
TrackerTopology::PFBlade
Definition: TrackerTopology.h:107
TrackerTopology::TIBValues::str_fw_bwMask_
unsigned int str_fw_bwMask_
Definition: TrackerTopology.h:66
TrackerTopology::tibUpper
uint32_t tibUpper(const DetId &id) const
Definition: TrackerTopology.h:331
TrackerTopology::tibLayer
unsigned int tibLayer(const DetId &id) const
Definition: TrackerTopology.h:150
TrackerTopology::tecSide
unsigned int tecSide(const DetId &id) const
Definition: TrackerTopology.h:184