test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Attributes
TrackerTopology Class Reference

#include <TrackerTopology.h>

Classes

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

Public Member Functions

uint32_t glued (const DetId &id) 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
 
SiStripDetId::ModuleGeometry 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,
SameLayerComparator
pxbDetIdLayerComparator (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,
SameLayerComparator
pxfDetIdDiskComparator (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,
SameLayerComparator
tecDetIdWheelComparator (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,
SameLayerComparator
tibDetIdLayerComparator (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,
SameLayerComparator
tidDetIdWheelComparator (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,
SameLayerComparator
tobDetIdLayerComparator (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

PixelBarrelValues pbVals_
 
PixelEndcapValues pfVals_
 
TECValues tecVals_
 
TIBValues tibVals_
 
TIDValues tidVals_
 
TOBValues tobVals_
 

Detailed Description

Definition at line 18 of file TrackerTopology.h.

Constructor & Destructor Documentation

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 pbVals_, pfVals_, tecVals_, tibVals_, tidVals_, and tobVals_.

9  {
10  pbVals_=pxb;
11  pfVals_=pxf;
12  tecVals_=tecv;
13  tibVals_=tibv;
14  tidVals_=tidv;
15  tobVals_=tobv;
16 }
PixelEndcapValues pfVals_
PixelBarrelValues pbVals_

Member Function Documentation

uint32_t TrackerTopology::glued ( const DetId id) const

Definition at line 77 of file TrackerTopology.cc.

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

Referenced by TrackerGeomBuilderFromGeometricDet::buildGeomDet().

77  {
78 
79  uint32_t subdet=id.subdetId();
80  if ( subdet == PixelSubdetector::PixelBarrel )
81  return 0;
82  if ( subdet == PixelSubdetector::PixelEndcap )
83  return 0;
84  if ( subdet == StripSubdetector::TIB )
85  return tibGlued(id);
86  if ( subdet == StripSubdetector::TID )
87  return tidGlued(id);
88  if ( subdet == StripSubdetector::TOB )
89  return tobGlued(id);
90  if ( subdet == StripSubdetector::TEC )
91  return tecGlued(id);
92 
93  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::glued";
94  return 0;
95 }
uint32_t tobGlued(const DetId &id) const
uint32_t tecGlued(const DetId &id) const
uint32_t tibGlued(const DetId &id) const
uint32_t tidGlued(const DetId &id) const
bool TrackerTopology::isLower ( const DetId id) const

Definition at line 194 of file TrackerTopology.cc.

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

Referenced by print().

194  {
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 == StripSubdetector::TIB )
202  return tibLower(id)!=0;
203  if ( subdet == StripSubdetector::TID )
204  return tidLower(id)!=0;
205  if ( subdet == StripSubdetector::TOB )
206  return tobLower(id)!=0;
207  if ( subdet == StripSubdetector::TEC )
208  return tecLower(id)!=0;
209 
210  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::isLower";
211  return 0;
212 
213 }
uint32_t tobLower(const DetId &id) const
uint32_t tidLower(const DetId &id) const
uint32_t tecLower(const DetId &id) const
uint32_t tibLower(const DetId &id) const
bool TrackerTopology::isRPhi ( const DetId id) const

Definition at line 175 of file TrackerTopology.cc.

References Exception, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, StripSubdetector::TEC, tecIsRPhi(), StripSubdetector::TIB, tibIsRPhi(), StripSubdetector::TID, tidIsRPhi(), StripSubdetector::TOB, and tobIsRPhi().

Referenced by print().

175  {
176 
177  uint32_t subdet=id.subdetId();
178  if ( subdet == PixelSubdetector::PixelBarrel )
179  return false;
180  if ( subdet == PixelSubdetector::PixelEndcap )
181  return false;
182  if ( subdet == StripSubdetector::TIB )
183  return tibIsRPhi(id);
184  if ( subdet == StripSubdetector::TID )
185  return tidIsRPhi(id);
186  if ( subdet == StripSubdetector::TOB )
187  return tobIsRPhi(id);
188  if ( subdet == StripSubdetector::TEC )
189  return tecIsRPhi(id);
190 
191  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::isRPhi";
192  return 0;
193 }
bool tobIsRPhi(const DetId &id) const
bool tibIsRPhi(const DetId &id) const
bool tecIsRPhi(const DetId &id) const
bool tidIsRPhi(const DetId &id) const
bool TrackerTopology::isStereo ( const DetId id) const

Definition at line 155 of file TrackerTopology.cc.

References Exception, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, StripSubdetector::TEC, tecIsStereo(), StripSubdetector::TIB, tibIsStereo(), StripSubdetector::TID, tidIsStereo(), StripSubdetector::TOB, and tobIsStereo().

Referenced by print().

155  {
156 
157  uint32_t subdet=id.subdetId();
158  if ( subdet == PixelSubdetector::PixelBarrel )
159  return false;
160  if ( subdet == PixelSubdetector::PixelEndcap )
161  return false;
162  if ( subdet == StripSubdetector::TIB )
163  return tibIsStereo(id);
164  if ( subdet == StripSubdetector::TID )
165  return tidIsStereo(id);
166  if ( subdet == StripSubdetector::TOB )
167  return tobIsStereo(id);
168  if ( subdet == StripSubdetector::TEC )
169  return tecIsStereo(id);
170 
171  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::isStereo";
172  return 0;
173 }
bool tobIsStereo(const DetId &id) const
bool tidIsStereo(const DetId &id) const
bool tecIsStereo(const DetId &id) const
bool tibIsStereo(const DetId &id) const
bool TrackerTopology::isUpper ( const DetId id) const

Definition at line 215 of file TrackerTopology.cc.

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

Referenced by print().

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

Definition at line 39 of file TrackerTopology.cc.

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

Referenced by TrackAssociatorByHitsImpl::associateSimToReco(), TrackingParticleNumberOfLayers::calculate(), SiPixelDigitizerAlgorithm::digitize(), reco::HitPattern::encode(), getDetLayer(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), DetIdInfo::info(), cms::SiPixelDigitizer::initializeEvent(), CheckHitPattern::interpretDetId(), reco::modules::TrackerTrackHitFilter::Rule::layer(), CkfDebugger::layer(), reco::modules::TrackerTrackHitFilter::layerFromId(), SiStripDetCabling::layerSearch(), PixelCPEGeneric::localError(), TrackerTopology::SameLayerComparator::operator()(), SiStripTrackerMapCreator::paintTkMapFromAlarm(), SiPixelDigitizerAlgorithm::pixel_aging(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), SiStripQuality::printDetInfo(), SiStripRegionConnectivity::produceRegionCabling(), and edm::DataMixingSiPixelMCDigiWorker::putSiPixel().

39  {
40  uint32_t subdet=id.subdetId();
41  if ( subdet == PixelSubdetector::PixelBarrel )
42  return pxbLayer(id);
43  if ( subdet == PixelSubdetector::PixelEndcap )
44  return pxfDisk(id);
45  if ( subdet == StripSubdetector::TIB )
46  return tibLayer(id);
47  if ( subdet == StripSubdetector::TID )
48  return tidWheel(id);
49  if ( subdet == StripSubdetector::TOB )
50  return tobLayer(id);
51  if ( subdet == StripSubdetector::TEC )
52  return tecWheel(id);
53 
54  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::layer";
55  return 0;
56 }
unsigned int tibLayer(const DetId &id) const
unsigned int pxfDisk(const DetId &id) const
unsigned int tidWheel(const DetId &id) const
unsigned int pxbLayer(const DetId &id) const
unsigned int tecWheel(const DetId &id) const
unsigned int tobLayer(const DetId &id) const
uint32_t TrackerTopology::lower ( const DetId id) const

Definition at line 116 of file TrackerTopology.cc.

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

116  {
117 
118  uint32_t subdet=id.subdetId();
119  if ( subdet == PixelSubdetector::PixelBarrel )
120  return 0;
121  if ( subdet == PixelSubdetector::PixelEndcap )
122  return 0;
123  if ( subdet == StripSubdetector::TIB )
124  return tibLower(id);
125  if ( subdet == StripSubdetector::TID )
126  return tidLower(id);
127  if ( subdet == StripSubdetector::TOB )
128  return tobLower(id);
129  if ( subdet == StripSubdetector::TEC )
130  return tecLower(id);
131 
132  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::lower";
133 }
uint32_t tobLower(const DetId &id) const
uint32_t tidLower(const DetId &id) const
uint32_t tecLower(const DetId &id) const
uint32_t tibLower(const DetId &id) const
unsigned int TrackerTopology::module ( const DetId id) const

Definition at line 58 of file TrackerTopology.cc.

References Exception, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, pxbModule(), pxfModule(), StripSubdetector::TEC, tecModule(), StripSubdetector::TIB, tibModule(), StripSubdetector::TID, tidModule(), StripSubdetector::TOB, and tobModule().

58  {
59  uint32_t subdet=id.subdetId();
60  if ( subdet == PixelSubdetector::PixelBarrel )
61  return pxbModule(id);
62  if ( subdet == PixelSubdetector::PixelEndcap )
63  return pxfModule(id);
64  if ( subdet == StripSubdetector::TIB )
65  return tibModule(id);
66  if ( subdet == StripSubdetector::TID )
67  return tidModule(id);
68  if ( subdet == StripSubdetector::TOB )
69  return tobModule(id);
70  if ( subdet == StripSubdetector::TEC )
71  return tecModule(id);
72 
73  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::module";
74  return 0;
75 }
unsigned int pxbModule(const DetId &id) const
unsigned int tidModule(const DetId &id) const
unsigned int tibModule(const DetId &id) const
unsigned int pxfModule(const DetId &id) const
unsigned int tecModule(const DetId &id) const
unsigned int tobModule(const DetId &id) const
SiStripDetId::ModuleGeometry TrackerTopology::moduleGeometry ( const DetId id) const

Definition at line 400 of file TrackerTopology.cc.

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

Referenced by SiStripBackPlaneCorrectionGenerator::createObject().

400  {
401  switch(id.subdetId()) {
404  case StripSubdetector::TID: switch (tidRing(id)) {
405  case 1: return SiStripDetId::W1A;
406  case 2: return SiStripDetId::W2A;
407  case 3: return SiStripDetId::W3A;
408  }
409  case StripSubdetector::TEC: switch (tecRing(id)) {
410  case 1: return SiStripDetId::W1B;
411  case 2: return SiStripDetId::W2B;
412  case 3: return SiStripDetId::W3B;
413  case 4: return SiStripDetId::W4;
414  //generic function to return DetIds and boolean factors
415  case 5: return SiStripDetId::W5;
416  case 6: return SiStripDetId::W6;
417  case 7: return SiStripDetId::W7;
418  }
419  }
421 }
unsigned int tibLayer(const DetId &id) const
unsigned int tidRing(const DetId &id) const
unsigned int tecRing(const DetId &id) const
ring id
unsigned int tobLayer(const DetId &id) const
DetId TrackerTopology::partnerDetId ( const DetId id) const

Definition at line 235 of file TrackerTopology.cc.

References Exception, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, DetId::subdetId(), StripSubdetector::TEC, tecPartnerDetId(), StripSubdetector::TIB, tibPartnerDetId(), StripSubdetector::TID, tidPartnerDetId(), StripSubdetector::TOB, and tobPartnerDetId().

Referenced by TrackerGeomBuilderFromGeometricDet::buildGeomDet(), and TrackerGeomBuilderFromGeometricDet::buildSilicon().

235  {
236 
237  uint32_t subdet=id.subdetId();
238  if ( subdet == PixelSubdetector::PixelBarrel )
239  return 0;
240  if ( subdet == PixelSubdetector::PixelEndcap )
241  return 0;
242  if ( subdet == StripSubdetector::TIB )
243  return tibPartnerDetId(id);
244  if ( subdet == StripSubdetector::TID )
245  return tidPartnerDetId(id);
246  if ( subdet == StripSubdetector::TOB )
247  return tobPartnerDetId(id);
248  if ( subdet == StripSubdetector::TEC )
249  return tecPartnerDetId(id);
250 
251  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::partnerDetId";
252  return 0;
253 }
DetId tidPartnerDetId(const DetId &id) const
uint32_t tecPartnerDetId(const DetId &id) const
DetId tibPartnerDetId(const DetId &id) const
DetId tobPartnerDetId(const DetId &id) const
std::string TrackerTopology::print ( DetId  detid) const

Definition at line 255 of file TrackerTopology.cc.

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

Referenced by TrackingLayer::createFromDetId(), and MuonAssociatorByHitsHelper::getMatchedIds().

255  {
256  uint32_t subdet=id.subdetId();
257  std::stringstream strstr;
258 
259  if ( subdet == PixelSubdetector::PixelBarrel ) {
260  unsigned int theLayer = pxbLayer(id);
261  unsigned int theLadder = pxbLadder(id);
262  unsigned int theModule = pxbModule(id);
263  strstr << "PixelBarrel"
264  << " Layer " << theLayer
265  << " Ladder " << theLadder
266  << " Module " << theModule ;
267  strstr << " (" << id.rawId() << ")";
268  return strstr.str();
269  }
270 
271  if ( subdet == PixelSubdetector::PixelEndcap ) {
272  unsigned int theSide = pxfSide(id);
273  unsigned int theDisk = pxfDisk(id);
274  unsigned int theBlade = pxfBlade(id);
275  unsigned int thePanel = pxfPanel(id);
276  unsigned int theModule = pxfModule(id);
277  std::string side = (pxfSide(id) == 1 ) ? "-" : "+";
278  strstr << "PixelEndcap"
279  << " Side " << theSide << side
280  << " Disk " << theDisk
281  << " Blade " << theBlade
282  << " Panel " << thePanel
283  << " Module " << theModule ;
284  strstr << " (" << id.rawId() << ")";
285  return strstr.str();
286  }
287 
288  if ( subdet == StripSubdetector::TIB ) {
289  unsigned int theLayer = tibLayer(id);
290  std::vector<unsigned int> theString = tibStringInfo(id);
291  unsigned int theModule = tibModule(id);
294  side = (theString[0] == 1 ) ? "-" : "+";
295  part = (theString[1] == 1 ) ? "int" : "ext";
297  type = (isStereo(id)) ? "stereo" : type;
298  type = (isRPhi(id)) ? "r-phi" : type;
299  type = (isStereo(id) || isRPhi(id)) ? type+" glued": "module";
300  std::string typeUpgrade;
301  typeUpgrade = (isLower(id)) ? "lower" : typeUpgrade;
302  typeUpgrade = (isUpper(id)) ? "upper" : typeUpgrade;
303  typeUpgrade = (isUpper(id) || isLower(id)) ? typeUpgrade+" stack": "module";
304  strstr << "TIB" << side
305  << " Layer " << theLayer << " " << part
306  << " String " << theString[2];
307  strstr << " Module for phase0 " << theModule << " " << type;
308  strstr << " Module for phase2 " << theModule << " " << typeUpgrade;
309  strstr << " (" << id.rawId() << ")";
310  return strstr.str();
311  }
312 
313  if ( subdet == StripSubdetector::TID ) {
314  unsigned int theSide = tidSide(id);
315  unsigned int theWheel = tidWheel(id);
316  unsigned int theRing = tidRing(id);
317  std::vector<unsigned int> theModule = tidModuleInfo(id);
320  side = (tidSide(id) == 1 ) ? "-" : "+";
321  part = (theModule[0] == 1 ) ? "back" : "front";
323  type = (isStereo(id)) ? "stereo" : type;
324  type = (isRPhi(id)) ? "r-phi" : type;
325  type = (isStereo(id) || isRPhi(id)) ? type+" glued": "module";
326  std::string typeUpgrade;
327  typeUpgrade = (isLower(id)) ? "lower" : typeUpgrade;
328  typeUpgrade = (isUpper(id)) ? "upper" : typeUpgrade;
329  typeUpgrade = (isUpper(id) || isLower(id)) ? typeUpgrade+" stack": "module";
330  strstr << "TID"
331  << " Side " << theSide << side
332  << " Wheel " << theWheel
333  << " Ring " << theRing << " " << part;
334  strstr << " Module for phase0 " << theModule[1] << " " << type;
335  strstr << " Module for phase2 " << theModule[1] << " " << typeUpgrade;
336  strstr << " (" << id.rawId() << ")";
337  return strstr.str();
338  }
339 
340  if ( subdet == StripSubdetector::TOB ) {
341  unsigned int theLayer = tobLayer(id);
342  std::vector<unsigned int> theRod = tobRodInfo(id);
343  unsigned int theModule = tobModule(id);
346  side = (theRod[0] == 1 ) ? "-" : "+";
348  type = (isStereo(id)) ? "stereo" : type;
349  type = (isRPhi(id)) ? "r-phi" : type;
350  type = (isStereo(id) || isRPhi(id)) ? type+" glued": "module";
351  std::string typeUpgrade;
352  typeUpgrade = (isLower(id)) ? "lower" : typeUpgrade;
353  typeUpgrade = (isUpper(id)) ? "upper" : typeUpgrade;
354  typeUpgrade = (isUpper(id) || isLower(id)) ? typeUpgrade+" stack": "module";
355  strstr << "TOB" << side
356  << " Layer " << theLayer
357  << " Rod " << theRod[1];
358  strstr << " Module for phase0 " << theModule << " " << type;
359  strstr << " Module for phase2 " << theModule << " " << typeUpgrade;
360  strstr << " (" << id.rawId() << ")";
361  return strstr.str();
362  }
363 
364  if ( subdet == StripSubdetector::TEC ) {
365  unsigned int theSide = tecSide(id);
366  unsigned int theWheel = tecWheel(id);
367  unsigned int theModule = tecModule(id);
368  std::vector<unsigned int> thePetal = tecPetalInfo(id);
369  unsigned int theRing = tecRing(id);
371  std::string petal;
372  side = (tecSide(id) == 1 ) ? "-" : "+";
373  petal = (thePetal[0] == 1 ) ? "back" : "front";
375  type = (isStereo(id)) ? "stereo" : type;
376  type = (isRPhi(id)) ? "r-phi" : type;
377  type = (isStereo(id) || isRPhi(id)) ? type+" glued": "module";
378  std::string typeUpgrade;
379  typeUpgrade = (isLower(id)) ? "lower" : typeUpgrade;
380  typeUpgrade = (isUpper(id)) ? "upper" : typeUpgrade;
381  typeUpgrade = (isUpper(id) || isLower(id)) ? typeUpgrade+" stack": "module";
382  strstr << "TEC"
383  << " Side " << theSide << side
384  << " Wheel " << theWheel
385  << " Petal " << thePetal[1] << " " << petal
386  << " Ring " << theRing;
387  strstr << " Module for phase0 " << theModule << " " << type;
388  strstr << " Module for phase2 " << theModule << " " << typeUpgrade;
389  strstr << " (" << id.rawId() << ")";
390 
391  return strstr.str();
392  }
393 
394 
395  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::module";
396  return strstr.str();
397 }
type
Definition: HCALResponse.h:21
unsigned int tibLayer(const DetId &id) const
unsigned int tidRing(const DetId &id) const
std::vector< unsigned int > tidModuleInfo(const DetId &id) const
unsigned int pxfDisk(const DetId &id) const
unsigned int tecRing(const DetId &id) const
ring id
unsigned int pxbLadder(const DetId &id) const
unsigned int side(const DetId &id) const
bool isStereo(const DetId &id) const
unsigned int tidWheel(const DetId &id) const
unsigned int pxbModule(const DetId &id) const
std::vector< unsigned int > tibStringInfo(const DetId &id) const
bool isLower(const DetId &id) const
std::vector< unsigned int > tecPetalInfo(const DetId &id) const
unsigned int tidSide(const DetId &id) const
std::vector< unsigned int > tobRodInfo(const DetId &id) const
unsigned int tibModule(const DetId &id) const
unsigned int pxfModule(const DetId &id) const
unsigned int pxbLayer(const DetId &id) const
bool isUpper(const DetId &id) const
unsigned int tecModule(const DetId &id) const
part
Definition: HCALResponse.h:20
unsigned int tobModule(const DetId &id) const
unsigned int pxfSide(const DetId &id) const
bool isRPhi(const DetId &id) const
unsigned int tecWheel(const DetId &id) const
unsigned int pxfPanel(const DetId &id) const
unsigned int pxfBlade(const DetId &id) const
unsigned int tobLayer(const DetId &id) const
unsigned int tecSide(const DetId &id) const
DetId TrackerTopology::pxbDetId ( uint32_t  layer,
uint32_t  ladder,
uint32_t  module 
) const
inline

Definition at line 459 of file TrackerTopology.h.

References TrackerTopology::PixelBarrelValues::ladderMask_, TrackerTopology::PixelBarrelValues::ladderStartBit_, TrackerTopology::PixelBarrelValues::layerMask_, TrackerTopology::PixelBarrelValues::layerStartBit_, TrackerTopology::PixelBarrelValues::moduleMask_, TrackerTopology::PixelBarrelValues::moduleStartBit_, pbVals_, PixelSubdetector::PixelBarrel, and DetId::Tracker.

Referenced by ValidHitPairFilter::getCloseDets(), PixelBarrelName::getDetId(), and pxbDetIdLayerComparator().

461  {
462  //uply
464  uint32_t rawid=id.rawId();
468  return DetId(rawid);
469  }
PixelBarrelValues pbVals_
Definition: DetId.h:18
unsigned int layer(const DetId &id) const
Definition: vlib.h:208
std::pair<DetId, SameLayerComparator> TrackerTopology::pxbDetIdLayerComparator ( uint32_t  layer) const
inline

Definition at line 552 of file TrackerTopology.h.

References pxbDetId().

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

552  {
553  return std::make_pair(pxbDetId(layer, 1,1), SameLayerComparator(this));
554  }
unsigned int layer(const DetId &id) const
DetId pxbDetId(uint32_t layer, uint32_t ladder, uint32_t module) const
unsigned int TrackerTopology::pxbLadder ( const DetId id) const
inline
unsigned int TrackerTopology::pxbLayer ( const DetId id) const
inline

Definition at line 137 of file TrackerTopology.h.

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

Referenced by SiPixelDigiValid::analyze(), SiPixelRecHitsValid::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelErrorEstimation::analyze(), analyzer::SiPixelLorentzAngle::analyze(), TrackingLayer::createFromDetId(), AlignmentStats::endJob(), SiPixelRecHitsValid::fillBarrel(), TrackerGeometryCompare::fillIdentifiers(), QcdLowPtDQM::fillPixels(), TrackerOfflineValidationSummary::fillTree(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), MonitorTrackResidualsBase< pixel_or_strip >::findSubdetAndLayer(), HitInfo::getInfo(), ValidHitPairFilter::getLayer(), GlobalMuonRefitter::getRidOfSelectStationHits(), align::tpb::halfBarrelNumber(), GeometricSearchTracker::idToLayer(), TrackCleaner::isCompatible(), SeedMergerPixelLayer::isContainsDetector(), align::tpb::ladderNumber(), layer(), TkAlCaOverlapTagger::layerFromId(), AlignmentPrescaler::layerFromId(), align::tpb::layerNumber(), TrajectoryManager::makeSinglePSimHit(), AlignmentParameterSelector::outsideDetIdRanges(), PixelBarrelName::PixelBarrelName(), print(), TrackerOfflineValidation::setUpTreeMembers(), SiTrackerGaussianSmearingRecHitConverter::smear(), ResidualRefitting::StoreTrackerRecHits(), and TrackerAlignableId::typeAndLayerFromDetId().

137  {
138  return int((id.rawId()>>pbVals_.layerStartBit_) & pbVals_.layerMask_);
139  }
PixelBarrelValues pbVals_
unsigned int TrackerTopology::pxbModule ( const DetId id) const
inline
unsigned int TrackerTopology::pxfBlade ( const DetId id) const
inline
DetId TrackerTopology::pxfDetId ( uint32_t  side,
uint32_t  disk,
uint32_t  blade,
uint32_t  panel,
uint32_t  module 
) const
inline

Definition at line 471 of file TrackerTopology.h.

References TrackerTopology::PixelEndcapValues::bladeMask_, TrackerTopology::PixelEndcapValues::bladeStartBit_, TrackerTopology::PixelEndcapValues::diskMask_, TrackerTopology::PixelEndcapValues::diskStartBit_, TrackerTopology::PixelEndcapValues::moduleMask_, TrackerTopology::PixelEndcapValues::moduleStartBit_, TrackerTopology::PixelEndcapValues::panelMask_, TrackerTopology::PixelEndcapValues::panelStartBit_, pfVals_, PixelSubdetector::PixelEndcap, TrackerTopology::PixelEndcapValues::sideMask_, TrackerTopology::PixelEndcapValues::sideStartBit_, and DetId::Tracker.

Referenced by ValidHitPairFilter::getCloseDets(), PixelEndcapName::getDetId(), and pxfDetIdDiskComparator().

475  {
477  uint32_t rawid=id.rawId();
478  rawid |= (side& pfVals_.sideMask_) << pfVals_.sideStartBit_ |
483  return DetId(rawid);
484  }
unsigned int side(const DetId &id) const
PixelEndcapValues pfVals_
Definition: DetId.h:18
Definition: vlib.h:208
std::pair<DetId, SameLayerComparator> TrackerTopology::pxfDetIdDiskComparator ( uint32_t  side,
uint32_t  disk 
) const
inline

Definition at line 556 of file TrackerTopology.h.

References pxfDetId().

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

556  {
557  return std::make_pair(pxfDetId(side, disk, 1,1,1), SameLayerComparator(this));
558  }
unsigned int side(const DetId &id) const
DetId pxfDetId(uint32_t side, uint32_t disk, uint32_t blade, uint32_t panel, uint32_t module) const
unsigned int TrackerTopology::pxfDisk ( const DetId id) const
inline

Definition at line 448 of file TrackerTopology.h.

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

Referenced by SiPixelDigiValid::analyze(), SiPixelRecHitsValid::analyze(), SiPixelErrorEstimation::analyze(), analyzer::SiPixelLorentzAngle::analyze(), TrackingLayer::createFromDetId(), AlignmentStats::endJob(), SiPixelRecHitsValid::fillForward(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidationSummary::fillTree(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), MonitorTrackResidualsBase< pixel_or_strip >::findSubdetAndLayer(), HitInfo::getInfo(), ValidHitPairFilter::getLayer(), GlobalMuonRefitter::getRidOfSelectStationHits(), align::tpe::halfDiskNumber(), GeometricSearchTracker::idToLayer(), TrackCleaner::isCompatible(), SeedMergerPixelLayer::isContainsDetector(), layer(), TkAlCaOverlapTagger::layerFromId(), AlignmentPrescaler::layerFromId(), TrajectoryManager::makeSinglePSimHit(), AlignmentParameterSelector::outsideDetIdRanges(), PixelEndcapName::PixelEndcapName(), print(), TrackerOfflineValidation::setUpTreeMembers(), SiTrackerGaussianSmearingRecHitConverter::smear(), ResidualRefitting::StoreTrackerRecHits(), and TrackerAlignableId::typeAndLayerFromDetId().

448  {
449  return int((id.rawId()>>pfVals_.diskStartBit_) & pfVals_.diskMask_);
450  }
PixelEndcapValues pfVals_
unsigned int TrackerTopology::pxfModule ( const DetId id) const
inline
unsigned int TrackerTopology::pxfPanel ( const DetId id) const
inline
unsigned int TrackerTopology::pxfSide ( const DetId id) const
inline

Definition at line 189 of file TrackerTopology.h.

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

Referenced by SiPixelDigiValid::analyze(), SiPixelErrorEstimation::analyze(), analyzer::SiPixelLorentzAngle::analyze(), TrackingLayer::createFromDetId(), AlignmentTrackSelector::detailedHitsCheck(), align::tpe::endcapNumber(), TrackerGeometryCompare::fillIdentifiers(), MillePedeMonitor::fillTrack(), TrackerOfflineValidationSummary::fillTree(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), MonitorTrackResidualsBase< pixel_or_strip >::findSubdetAndLayer(), HitInfo::getInfo(), ValidHitPairFilter::getLayer(), GeometricSearchTracker::idToLayer(), TrackCleaner::isCompatible(), SeedMergerPixelLayer::isContainsDetector(), TkAlCaOverlapTagger::layerFromId(), AlignmentPrescaler::layerFromId(), AlignmentParameterSelector::outsideDetIdRanges(), PixelEndcapName::PixelEndcapName(), print(), TrackerOfflineValidation::setUpTreeMembers(), side(), and ResidualRefitting::StoreTrackerRecHits().

189  {
190  return ((id.rawId()>>pfVals_.sideStartBit_)&pfVals_.sideMask_);
191  }
PixelEndcapValues pfVals_
unsigned int TrackerTopology::side ( const DetId id) const

Definition at line 20 of file TrackerTopology.cc.

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

Referenced by SiStripDetCabling::layerSearch(), TrackerTopology::SameLayerComparator::operator()(), print(), and reco::modules::TrackerTrackHitFilter::sideFromId().

20  {
21  uint32_t subdet=id.subdetId();
22  if ( subdet == PixelSubdetector::PixelBarrel )
23  return 0;
24  if ( subdet == PixelSubdetector::PixelEndcap )
25  return pxfSide(id);
26  if ( subdet == StripSubdetector::TIB )
27  return 0;
28  if ( subdet == StripSubdetector::TID )
29  return tidSide(id);
30  if ( subdet == StripSubdetector::TOB )
31  return 0;
32  if ( subdet == StripSubdetector::TEC )
33  return tecSide(id);
34 
35  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::side";
36  return 0;
37 }
unsigned int tidSide(const DetId &id) const
unsigned int pxfSide(const DetId &id) const
unsigned int tecSide(const DetId &id) const
uint32_t TrackerTopology::stack ( const DetId id) const

Definition at line 97 of file TrackerTopology.cc.

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

Referenced by TrackerGeomBuilderFromGeometricDet::buildGeomDet().

97  {
98 
99  uint32_t subdet=id.subdetId();
100  if ( subdet == PixelSubdetector::PixelBarrel )
101  return 0;
102  if ( subdet == PixelSubdetector::PixelEndcap )
103  return 0;
104  if ( subdet == StripSubdetector::TIB )
105  return tibStack(id);
106  if ( subdet == StripSubdetector::TID )
107  return tidStack(id);
108  if ( subdet == StripSubdetector::TOB )
109  return tobStack(id);
110  if ( subdet == StripSubdetector::TEC )
111  return tecStack(id);
112 
113  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::stack";
114 }
uint32_t tibStack(const DetId &id) const
uint32_t tobStack(const DetId &id) const
uint32_t tidStack(const DetId &id) const
uint32_t tecStack(const DetId &id) const
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 486 of file TrackerTopology.h.

References TrackerTopology::TECValues::moduleMask_, TrackerTopology::TECValues::moduleStartBit_, TrackerTopology::TECValues::petal_fw_bwMask_, TrackerTopology::TECValues::petal_fw_bwStartBit_, TrackerTopology::TECValues::petalMask_, TrackerTopology::TECValues::petalStartBit_, TrackerTopology::TECValues::ringMask_, TrackerTopology::TECValues::ringStartBit_, TrackerTopology::TECValues::sideMask_, TrackerTopology::TECValues::sideStartBit_, TrackerTopology::TECValues::sterMask_, TrackerTopology::TECValues::sterStartBit_, StripSubdetector::TEC, tecVals_, DetId::Tracker, TrackerTopology::TECValues::wheelMask_, and TrackerTopology::TECValues::wheelStartBit_.

Referenced by tecDetIdWheelComparator().

488  {
489 
491  uint32_t rawid=id.rawId();
492 
493  rawid |= (side& tecVals_.sideMask_) << tecVals_.sideStartBit_ |
500  return DetId(rawid);
501  }
unsigned int side(const DetId &id) const
Detector identifier class for the strip tracker.
Definition: SiStripDetId.h:17
Definition: DetId.h:18
Definition: vlib.h:208
std::pair<DetId, SameLayerComparator> TrackerTopology::tecDetIdWheelComparator ( uint32_t  side,
uint32_t  wheel 
) const
inline

Definition at line 560 of file TrackerTopology.h.

References tecDetId().

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

560  {
561  return std::make_pair(tecDetId(side, wheel, 1,1,1,1,1), SameLayerComparator(this));
562  }
unsigned int side(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
uint32_t TrackerTopology::tecGlued ( const DetId id) const
inline

Definition at line 341 of file TrackerTopology.h.

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

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

341  {
342  uint32_t testId = (id.rawId()>>tecVals_.sterStartBit_) & tecVals_.sterMask_;
343  return ( testId == 0 ) ? 0 : (id.rawId() - testId);
344  }
return(e1-e2)*(e1-e2)+dp *dp
bool TrackerTopology::tecIsBackPetal ( const DetId id) const
inline
bool TrackerTopology::tecIsDoubleSide ( const DetId id) const
inline

Definition at line 255 of file TrackerTopology.h.

References tecGlued(), and tecRing().

Referenced by AlignmentStats::endJob(), TrackerOfflineValidationSummary::fillTree(), TrackerOfflineValidation::setUpTreeMembers(), tecIsRPhi(), tecIsStereo(), and TrackerDpgAnalysis::toStringName().

255 { return tecGlued(id)==0 && (tecRing(id)==1 || tecRing(id)==2 || tecRing(id)==5);}
unsigned int tecRing(const DetId &id) const
ring id
uint32_t tecGlued(const DetId &id) const
bool TrackerTopology::tecIsFrontPetal ( const DetId id) const
inline

Definition at line 409 of file TrackerTopology.h.

References tecIsBackPetal().

Referenced by SiStripBadModuleGenerator::isTECDetector(), and TrackerDpgAnalysis::toStringName().

409 {return !tecIsBackPetal(id);}
bool tecIsBackPetal(const DetId &id) const
bool TrackerTopology::tecIsRPhi ( const DetId id) const
inline

Definition at line 277 of file TrackerTopology.h.

References tecIsDoubleSide(), and tecRPhi().

Referenced by TrackingParticleNumberOfLayers::calculate(), isRPhi(), and TrackerDpgAnalysis::toStringName().

277 { return tecRPhi(id)!=0 && !tecIsDoubleSide(id);}
bool tecIsDoubleSide(const DetId &id) const
uint32_t tecRPhi(const DetId &id) const
bool TrackerTopology::tecIsStereo ( const DetId id) const
inline
bool TrackerTopology::tecIsZMinusSide ( const DetId id) const
inline
bool TrackerTopology::tecIsZPlusSide ( const DetId id) const
inline
uint32_t TrackerTopology::tecLower ( const DetId id) const
inline

Definition at line 302 of file TrackerTopology.h.

References tecStereo().

Referenced by isLower(), and lower().

302 { return tecStereo(id); }
uint32_t tecStereo(const DetId &id) const
unsigned int TrackerTopology::tecModule ( const DetId id) const
inline
unsigned int TrackerTopology::tecOrder ( const DetId id) const
inline
uint32_t TrackerTopology::tecPartnerDetId ( const DetId id) const
inline

Definition at line 389 of file TrackerTopology.h.

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

Referenced by partnerDetId().

389  {
390  if ( ((id.rawId()>>tecVals_.sterStartBit_) & tecVals_.sterMask_ ) == 1 ) {
391  return DetId( id.rawId() + 1 );
392  } else if ( ((id.rawId()>>tecVals_.sterStartBit_) & tecVals_.sterMask_ ) == 2 ) {
393  return DetId( id.rawId() - 1 );
394  } else { return DetId(); }
395  }
Definition: DetId.h:18
std::vector<unsigned int> TrackerTopology::tecPetalInfo ( const DetId id) const
inline

Definition at line 398 of file TrackerTopology.h.

References pileupDistInMC::num, tecOrder(), and tecPetalNumber().

Referenced by SiStripLAProfileBooker::analyze(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidationSummary::fillTree(), align::tec::petalNumber(), print(), TrackerOfflineValidation::setUpTreeMembers(), and align::tec::sideNumber().

398  {
399  std::vector<unsigned int> num;
400  num.push_back(tecOrder(id));
401  num.push_back(tecPetalNumber(id));
402  return num ;
403  }
unsigned int tecOrder(const DetId &id) const
unsigned int tecPetalNumber(const DetId &id) const
unsigned int TrackerTopology::tecPetalNumber ( const DetId id) const
inline
unsigned int TrackerTopology::tecRing ( const DetId id) const
inline

ring id

Definition at line 219 of file TrackerTopology.h.

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

Referenced by SiStripDigiValid::analyze(), SiStripLorentzAngleGenerator::createObject(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidationSummary::fillTree(), SiStripFolderOrganizer::getFolderName(), SiStripLAProfileBooker::getlayer(), SiStripFolderOrganizer::getLayerFolderName(), SiStripCalibLorentzAngle::getNewObject(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripFolderOrganizer::GetSubDetAndLayerThickness(), SiStripFolderOrganizer::GetSubDetAndRing(), SiStripHistoId::getSubdetid(), ctfseeding::HitExtractorSTRP::hits(), TrajectorySeedHitCandidate::init(), TrajectoryAtInvalidHit::isDoubleSided(), HitEff::isDoubleSided(), SiStripBadModuleGenerator::isTECDetector(), TrajectoryManager::makeSinglePSimHit(), moduleGeometry(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), PixelMatchNextLayers::PixelMatchNextLayers(), print(), align::tec::ringNumber(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), TrackerOfflineValidation::setUpTreeMembers(), SiTrackerGaussianSmearingRecHitConverter::smear(), ResidualRefitting::StoreTrackerRecHits(), SiStripNoisesGenerator::subDetAndLayer(), SiStripNoiseNormalizedWithApvGainBuilder::subDetAndLayer(), SiStripApvGainBuilderFromTag::subDetAndLayer(), tecIsDoubleSide(), and TrackerDpgAnalysis::toStringName().

219  {
220  return ((id.rawId()>>tecVals_.ringStartBit_) & tecVals_.ringMask_) ;
221  }
uint32_t TrackerTopology::tecRPhi ( const DetId id) const
inline

Definition at line 323 of file TrackerTopology.h.

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

Referenced by tecIsRPhi(), and tecUpper().

323  {
324  if ( ((id.rawId() >>tecVals_.sterStartBit_ ) & tecVals_.sterMask_ ) == 2 ) {
325  return ( (id.rawId()>>tecVals_.sterStartBit_) & tecVals_.sterMask_ );
326  } else { return 0; }
327  }
unsigned int TrackerTopology::tecSide ( const DetId id) const
inline

Definition at line 177 of file TrackerTopology.h.

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

Referenced by SiStripHitEffFromCalibTree::algoAnalyze(), SiStripGainFromData::algoBeginJob(), SiStripDigiValid::analyze(), SiStripQualityStatistics::analyze(), HitEff::analyze(), TrackingLayer::createFromDetId(), SiStripBadComponentsDQMServiceReader::detIdToString(), align::tec::endcapNumber(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidationSummary::fillTree(), MonitorTrackResidualsBase< pixel_or_strip >::findSubdetAndLayer(), SiStripCablingDQM::getActiveDetIds(), SiStripFolderOrganizer::getFolderName(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripPlotGain::getHistos(), SiStripCorrelateNoise::getHistos(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), SiStripBaseCondObjDQM::GetSameLayerDetId(), PrintRecoObjects::getString(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripFolderOrganizer::GetSubDetAndLayerThickness(), SiStripFolderOrganizer::GetSubDetAndRing(), SiStripUtility::getSubDetectorTag(), SiStripFolderOrganizer::getSubDetFolderAndTag(), SiStripHistoId::getSubdetid(), GeometricSearchTracker::idToLayer(), SiStripDCSStatus::initialise(), TkAlCaOverlapTagger::layerFromId(), AlignmentParameterSelector::outsideDetIdRanges(), print(), SiStripTrackerMapCreator::printBadModuleList(), SiStripTrackerMapCreator::printTopModules(), SiStripFolderOrganizer::setLayerFolder(), TrackerOfflineValidation::setUpTreeMembers(), side(), tecIsZMinusSide(), and LaserDQM::trackerStatistics().

177  {
178  return ((id.rawId()>>tecVals_.sideStartBit_)&tecVals_.sideMask_);
179  }
uint32_t TrackerTopology::tecStack ( const DetId id) const
inline

Definition at line 360 of file TrackerTopology.h.

References tecGlued().

Referenced by stack().

360 { return tecGlued(id); }
uint32_t tecGlued(const DetId &id) const
uint32_t TrackerTopology::tecStereo ( const DetId id) const
inline
uint32_t TrackerTopology::tecUpper ( const DetId id) const
inline

Definition at line 333 of file TrackerTopology.h.

References tecRPhi().

Referenced by isUpper(), and upper().

333 { return tecRPhi(id); }
uint32_t tecRPhi(const DetId &id) const
unsigned int TrackerTopology::tecWheel ( const DetId id) const
inline

Definition at line 199 of file TrackerTopology.h.

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

Referenced by SiStripHitEffFromCalibTree::algoAnalyze(), SiStripDigiValid::analyze(), SiStripQualityStatistics::analyze(), SiStripLAProfileBooker::analyze(), HitEff::checkLayer(), SiStripElectronAlgo::coarseHitSelection(), TrackingLayer::createFromDetId(), SiStripBadComponentsDQMServiceReader::detIdToString(), align::tec::diskNumber(), AlignmentStats::endJob(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidationSummary::fillTree(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), MonitorTrackResidualsBase< pixel_or_strip >::findSubdetAndLayer(), SiStripCablingDQM::getActiveDetIds(), SiStripFolderOrganizer::getFolderName(), SiStripPlotGain::getHistos(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripCorrelateNoise::getHistos(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), GlobalMuonRefitter::getRidOfSelectStationHits(), SiStripBaseCondObjDQM::GetSameLayerDetId(), PrintRecoObjects::getString(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripFolderOrganizer::GetSubDetAndLayerThickness(), SiStripHistoId::getSubdetid(), GeometricSearchTracker::idToLayer(), SiStripBadModuleGenerator::isTECDetector(), layer(), TkAlCaOverlapTagger::layerFromId(), AlignmentPrescaler::layerFromId(), TrajectoryManager::makeSinglePSimHit(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), PixelMatchNextLayers::PixelMatchNextLayers(), print(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), TrackerOfflineValidation::setUpTreeMembers(), TrackerDpgAnalysis::toStringName(), LaserDQM::trackerStatistics(), and TrackerAlignableId::typeAndLayerFromDetId().

199  {
200  return ((id.rawId()>>tecVals_.wheelStartBit_) & tecVals_.wheelMask_) ;
201  }
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

Definition at line 503 of file TrackerTopology.h.

References TrackerTopology::TIBValues::layerMask_, TrackerTopology::TIBValues::layerStartBit_, TrackerTopology::TIBValues::moduleMask_, TrackerTopology::TIBValues::moduleStartBit_, TrackerTopology::TIBValues::sterMask_, TrackerTopology::TIBValues::sterStartBit_, TrackerTopology::TIBValues::str_fw_bwMask_, TrackerTopology::TIBValues::str_fw_bwStartBit_, TrackerTopology::TIBValues::str_int_extMask_, TrackerTopology::TIBValues::str_int_extStartBit_, TrackerTopology::TIBValues::strMask_, TrackerTopology::TIBValues::strStartBit_, StripSubdetector::TIB, tibVals_, and DetId::Tracker.

Referenced by SurveyDataReader::readFile(), and tibDetIdLayerComparator().

508  {
510  uint32_t rawid=id.rawId();
517  return DetId(rawid);
518  }
Detector identifier class for the strip tracker.
Definition: SiStripDetId.h:17
Definition: DetId.h:18
unsigned int layer(const DetId &id) const
Definition: vlib.h:208
std::pair<DetId, SameLayerComparator> TrackerTopology::tibDetIdLayerComparator ( uint32_t  layer) const
inline

Definition at line 564 of file TrackerTopology.h.

References tibDetId().

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

564  {
565  return std::make_pair(tibDetId(layer, 1,1,1,1,1), SameLayerComparator(this));
566  }
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
unsigned int layer(const DetId &id) const
uint32_t TrackerTopology::tibGlued ( const DetId id) const
inline

Definition at line 336 of file TrackerTopology.h.

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

Referenced by cms::ClusterMTCCFilter::filter(), SiStripGainCosmicCalculator::getNewObject(), glued(), tibIsDoubleSide(), and tibStack().

336  {
337  uint32_t testId = (id.rawId()>>tibVals_.sterStartBit_) & tibVals_.sterMask_;
338  return ( testId == 0 ) ? 0 : (id.rawId() - testId);
339  }
return(e1-e2)*(e1-e2)+dp *dp
bool TrackerTopology::tibIsDoubleSide ( const DetId id) const
inline
bool TrackerTopology::tibIsExternalString ( const DetId id) const
inline
bool TrackerTopology::tibIsInternalString ( const DetId id) const
inline
bool TrackerTopology::tibIsRPhi ( const DetId id) const
inline

Definition at line 278 of file TrackerTopology.h.

References tibIsDoubleSide(), and tibRPhi().

Referenced by SiPixelErrorEstimation::analyze(), TrackingParticleNumberOfLayers::calculate(), isRPhi(), SiStripBadModuleGenerator::isTIBDetector(), and TrackerDpgAnalysis::toStringName().

278 { return tibRPhi(id)!=0 && !tibIsDoubleSide(id);}
bool tibIsDoubleSide(const DetId &id) const
uint32_t tibRPhi(const DetId &id) const
bool TrackerTopology::tibIsStereo ( const DetId id) const
inline
bool TrackerTopology::tibIsZMinusSide ( const DetId id) const
inline
bool TrackerTopology::tibIsZPlusSide ( const DetId id) const
inline
unsigned int TrackerTopology::tibLayer ( const DetId id) const
inline

Definition at line 143 of file TrackerTopology.h.

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

Referenced by SiStripHitEffFromCalibTree::algoAnalyze(), SiStripCalibLorentzAngle::algoBeginJob(), SiStripDigiValid::analyze(), SiStripQualityStatistics::analyze(), SiStripLAProfileBooker::analyze(), SiPixelErrorEstimation::analyze(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), HitEff::checkLayer(), SiStripElectronAlgo::coarseHitSelection(), TrackingLayer::createFromDetId(), SiStripLorentzAngleGenerator::createObject(), SiStripBadComponentsDQMServiceReader::detIdToString(), AlignmentStats::endJob(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), SiStripBackPlaneCorrectionDQM::fillMEsForLayer(), SiStripLorentzAngleDQM::fillMEsForLayer(), TrackerOfflineValidationSummary::fillTree(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), cms::ClusterMTCCFilter::filter(), MonitorTrackResidualsBase< pixel_or_strip >::findSubdetAndLayer(), SiStripCablingDQM::getActiveDetIds(), SiStripFolderOrganizer::getFolderName(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripPlotGain::getHistos(), SiStripCorrelateNoise::getHistos(), SiStripLAProfileBooker::getlayer(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), SiStripGainCosmicCalculator::getNewObject(), SiStripCalibLorentzAngle::getNewObject(), GlobalMuonRefitter::getRidOfSelectStationHits(), SiStripBaseCondObjDQM::GetSameLayerDetId(), PrintRecoObjects::getString(), SiStripBaseCondObjDQM::getStringNameAndId(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripFolderOrganizer::GetSubDetAndLayerThickness(), SiStripHistoId::getSubdetid(), align::tib::halfShellNumber(), GeometricSearchTracker::idToLayer(), TrajectoryAtInvalidHit::isDoubleSided(), HitEff::isDoubleSided(), SiStripBadModuleGenerator::isTIBDetector(), layer(), TkAlCaOverlapTagger::layerFromId(), AlignmentPrescaler::layerFromId(), align::tib::layerNumber(), TrajectoryManager::makeSinglePSimHit(), moduleGeometry(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), print(), SiStripElectronAlgo::projectPhiBand(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), TrackerOfflineValidation::setUpTreeMembers(), SiTrackerGaussianSmearingRecHitConverter::smear(), ResidualRefitting::StoreTrackerRecHits(), align::tib::stringNumber(), SiStripNoisesGenerator::subDetAndLayer(), SiStripNoiseNormalizedWithApvGainBuilder::subDetAndLayer(), SiStripApvGainBuilderFromTag::subDetAndLayer(), tibIsDoubleSide(), MatchedHitRZCorrectionFromBending::tibMatchedHitZFixup(), TrackerDpgAnalysis::toStringName(), LaserDQM::trackerStatistics(), and TrackerAlignableId::typeAndLayerFromDetId().

143  {
144  return int((id.rawId()>>tibVals_.layerStartBit_) & tibVals_.layerMask_);
145  }
uint32_t TrackerTopology::tibLower ( const DetId id) const
inline

Definition at line 299 of file TrackerTopology.h.

References tibStereo().

Referenced by isLower(), and lower().

299 { return tibStereo(id); }
uint32_t tibStereo(const DetId &id) const
unsigned int TrackerTopology::tibModule ( const DetId id) const
inline
unsigned int TrackerTopology::tibOrder ( const DetId id) const
inline
DetId TrackerTopology::tibPartnerDetId ( const DetId id) const
inline

Definition at line 365 of file TrackerTopology.h.

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

Referenced by partnerDetId().

365  {
366  if ( ((id.rawId()>>tibVals_.sterStartBit_) & tibVals_.sterMask_ ) == 1 ) {
367  return DetId( id.rawId() + 1 );
368  } else if ( ((id.rawId()>>tibVals_.sterStartBit_) & tibVals_.sterMask_ ) == 2 ) {
369  return DetId( id.rawId() - 1 );
370  } else { return DetId(); }
371  }
Definition: DetId.h:18
uint32_t TrackerTopology::tibRPhi ( const DetId id) const
inline

Definition at line 311 of file TrackerTopology.h.

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

Referenced by tibIsRPhi(), and tibUpper().

311  {
312  if ( ((id.rawId() >>tibVals_.sterStartBit_ ) & tibVals_.sterMask_ ) == 2 ) {
313  return ( (id.rawId()>>tibVals_.sterStartBit_) & tibVals_.sterMask_ );
314  } else { return 0; }
315  }
unsigned int TrackerTopology::tibSide ( const DetId id) const
inline
uint32_t TrackerTopology::tibStack ( const DetId id) const
inline

Definition at line 357 of file TrackerTopology.h.

References tibGlued().

Referenced by stack().

357 { return tibGlued(id); }
uint32_t tibGlued(const DetId &id) const
uint32_t TrackerTopology::tibStereo ( const DetId id) const
inline
unsigned int TrackerTopology::tibString ( const DetId id) const
inline
std::vector<unsigned int> TrackerTopology::tibStringInfo ( const DetId id) const
inline

Definition at line 416 of file TrackerTopology.h.

References pileupDistInMC::num, tibOrder(), tibSide(), and tibString().

Referenced by SiStripDigiValid::analyze(), SiStripLAProfileBooker::analyze(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidationSummary::fillTree(), align::tib::halfBarrelNumber(), align::tib::halfShellNumber(), print(), TrackerOfflineValidation::setUpTreeMembers(), align::tib::stringNumber(), and align::tib::surfaceNumber().

417  { std::vector<unsigned int> num;
418  num.push_back( tibSide(id) );
419  num.push_back( tibOrder(id) );
420  num.push_back(tibString(id));
421  return num ;
422  }
unsigned int tibString(const DetId &id) const
unsigned int tibSide(const DetId &id) const
unsigned int tibOrder(const DetId &id) const
uint32_t TrackerTopology::tibUpper ( const DetId id) const
inline

Definition at line 330 of file TrackerTopology.h.

References tibRPhi().

Referenced by isUpper(), and upper().

330 { return tibRPhi(id); }
uint32_t tibRPhi(const DetId &id) const
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

Definition at line 520 of file TrackerTopology.h.

References TrackerTopology::TIDValues::module_fw_bwMask_, TrackerTopology::TIDValues::module_fw_bwStartBit_, TrackerTopology::TIDValues::moduleMask_, TrackerTopology::TIDValues::moduleStartBit_, TrackerTopology::TIDValues::ringMask_, TrackerTopology::TIDValues::ringStartBit_, TrackerTopology::TIDValues::sideMask_, TrackerTopology::TIDValues::sideStartBit_, TrackerTopology::TIDValues::sterMask_, TrackerTopology::TIDValues::sterStartBit_, StripSubdetector::TID, tidVals_, DetId::Tracker, TrackerTopology::TIDValues::wheelMask_, and TrackerTopology::TIDValues::wheelStartBit_.

Referenced by SurveyDataReader::readFile(), and tidDetIdWheelComparator().

525  {
527  uint32_t rawid=id.rawId();
528  rawid |= (side& tidVals_.sideMask_) << tidVals_.sideStartBit_ |
534  return DetId(rawid);
535  }
unsigned int side(const DetId &id) const
Detector identifier class for the strip tracker.
Definition: SiStripDetId.h:17
Definition: DetId.h:18
unsigned int module_fw_bwStartBit_
Definition: vlib.h:208
std::pair<DetId, SameLayerComparator> TrackerTopology::tidDetIdWheelComparator ( uint32_t  side,
uint32_t  wheel 
) const
inline

Definition at line 568 of file TrackerTopology.h.

References tidDetId().

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

568  {
569  return std::make_pair(tidDetId(side, wheel, 1,1,1,1), SameLayerComparator(this));
570  }
unsigned int side(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
uint32_t TrackerTopology::tidGlued ( const DetId id) const
inline

Definition at line 351 of file TrackerTopology.h.

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

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

351  {
352  uint32_t testId = (id.rawId()>>tidVals_.sterStartBit_) & tidVals_.sterMask_;
353  return ( testId == 0 ) ? 0 : (id.rawId() - testId);
354  }
return(e1-e2)*(e1-e2)+dp *dp
bool TrackerTopology::tidIsBackRing ( const DetId id) const
inline
bool TrackerTopology::tidIsDoubleSide ( const DetId id) const
inline

Definition at line 257 of file TrackerTopology.h.

References tidGlued(), and tidRing().

Referenced by AlignmentStats::endJob(), TrackerOfflineValidationSummary::fillTree(), TrackerOfflineValidation::setUpTreeMembers(), tidIsRPhi(), tidIsStereo(), and TrackerDpgAnalysis::toStringName().

257 { return tidGlued(id)==0 && (tidRing(id)==1 || tidRing(id)==2);}
unsigned int tidRing(const DetId &id) const
uint32_t tidGlued(const DetId &id) const
bool TrackerTopology::tidIsFrontRing ( const DetId id) const
inline

Definition at line 444 of file TrackerTopology.h.

References tidIsBackRing().

Referenced by TrackerDpgAnalysis::toStringName().

444 {return !tidIsBackRing(id);}
bool tidIsBackRing(const DetId &id) const
bool TrackerTopology::tidIsRPhi ( const DetId id) const
inline

Definition at line 279 of file TrackerTopology.h.

References tidIsDoubleSide(), and tidRPhi().

Referenced by TrackingParticleNumberOfLayers::calculate(), isRPhi(), SiStripBadModuleGenerator::isTIDDetector(), and TrackerDpgAnalysis::toStringName().

279 { return tidRPhi(id)!=0 && !tidIsDoubleSide(id);}
uint32_t tidRPhi(const DetId &id) const
bool tidIsDoubleSide(const DetId &id) const
bool TrackerTopology::tidIsStereo ( const DetId id) const
inline
bool TrackerTopology::tidIsZMinusSide ( const DetId id) const
inline
bool TrackerTopology::tidIsZPlusSide ( const DetId id) const
inline
uint32_t TrackerTopology::tidLower ( const DetId id) const
inline

Definition at line 300 of file TrackerTopology.h.

References tidStereo().

Referenced by isLower(), and lower().

300 { return tidStereo(id); }
uint32_t tidStereo(const DetId &id) const
unsigned int TrackerTopology::tidModule ( const DetId id) const
inline
std::vector<unsigned int> TrackerTopology::tidModuleInfo ( const DetId id) const
inline

Definition at line 433 of file TrackerTopology.h.

References pileupDistInMC::num, tidModule(), and tidOrder().

Referenced by SiStripLAProfileBooker::analyze(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidationSummary::fillTree(), align::tid::moduleNumber(), print(), TrackerOfflineValidation::setUpTreeMembers(), and align::tid::sideNumber().

433  {
434  std::vector<unsigned int> num;
435  num.push_back( tidOrder(id) );
436  num.push_back( tidModule(id) );
437  return num ;
438  }
unsigned int tidModule(const DetId &id) const
unsigned int tidOrder(const DetId &id) const
unsigned int TrackerTopology::tidOrder ( const DetId id) const
inline
DetId TrackerTopology::tidPartnerDetId ( const DetId id) const
inline

Definition at line 381 of file TrackerTopology.h.

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

Referenced by partnerDetId().

381  {
382  if ( ((id.rawId()>>tidVals_.sterStartBit_) & tidVals_.sterMask_ ) == 1 ) {
383  return DetId( id.rawId() + 1 );
384  } else if ( ((id.rawId()>>tidVals_.sterStartBit_) & tidVals_.sterMask_ ) == 2 ) {
385  return DetId( id.rawId() - 1 );
386  } else { return DetId(); }
387  }
Definition: DetId.h:18
unsigned int TrackerTopology::tidRing ( const DetId id) const
inline

Definition at line 222 of file TrackerTopology.h.

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

Referenced by SiStripDigiValid::analyze(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidationSummary::fillTree(), SiStripFolderOrganizer::getFolderName(), SiStripLAProfileBooker::getlayer(), SiStripFolderOrganizer::getLayerFolderName(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripFolderOrganizer::GetSubDetAndRing(), SiStripHistoId::getSubdetid(), ctfseeding::HitExtractorSTRP::hits(), TrajectorySeedHitCandidate::init(), TrajectoryAtInvalidHit::isDoubleSided(), HitEff::isDoubleSided(), SiStripBadModuleGenerator::isTIDDetector(), TrajectoryManager::makeSinglePSimHit(), moduleGeometry(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), PixelMatchNextLayers::PixelMatchNextLayers(), print(), align::tid::ringNumber(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), TrackerOfflineValidation::setUpTreeMembers(), SiTrackerGaussianSmearingRecHitConverter::smear(), ResidualRefitting::StoreTrackerRecHits(), SiStripNoisesGenerator::subDetAndLayer(), SiStripNoiseNormalizedWithApvGainBuilder::subDetAndLayer(), SiStripApvGainBuilderFromTag::subDetAndLayer(), tidIsDoubleSide(), and TrackerDpgAnalysis::toStringName().

222  {
223  return ((id.rawId()>>tidVals_.ringStartBit_) & tidVals_.ringMask_) ;
224  }
uint32_t TrackerTopology::tidRPhi ( const DetId id) const
inline

Definition at line 317 of file TrackerTopology.h.

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

Referenced by tidIsRPhi(), and tidUpper().

317  {
318  if ( ((id.rawId() >>tidVals_.sterStartBit_ ) & tidVals_.sterMask_ ) == 2 ) {
319  return ( (id.rawId()>>tidVals_.sterStartBit_) & tidVals_.sterMask_ );
320  } else { return 0; }
321  }
unsigned int TrackerTopology::tidSide ( const DetId id) const
inline

Definition at line 185 of file TrackerTopology.h.

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

Referenced by SiStripHitEffFromCalibTree::algoAnalyze(), SiStripDigiValid::analyze(), SiStripQualityStatistics::analyze(), TrackingLayer::createFromDetId(), SiStripBadComponentsDQMServiceReader::detIdToString(), align::tid::endcapNumber(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidationSummary::fillTree(), MonitorTrackResidualsBase< pixel_or_strip >::findSubdetAndLayer(), SiStripCablingDQM::getActiveDetIds(), SiStripFolderOrganizer::getFolderName(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripPlotGain::getHistos(), SiStripCorrelateNoise::getHistos(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), SiStripBaseCondObjDQM::GetSameLayerDetId(), PrintRecoObjects::getString(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripFolderOrganizer::GetSubDetAndLayerThickness(), SiStripFolderOrganizer::GetSubDetAndRing(), SiStripUtility::getSubDetectorTag(), SiStripFolderOrganizer::getSubDetFolderAndTag(), SiStripHistoId::getSubdetid(), GeometricSearchTracker::idToLayer(), TkAlCaOverlapTagger::layerFromId(), AlignmentPrescaler::layerFromId(), AlignmentParameterSelector::outsideDetIdRanges(), print(), SiStripTrackerMapCreator::printBadModuleList(), SiStripTrackerMapCreator::printTopModules(), SiStripFolderOrganizer::setLayerFolder(), TrackerOfflineValidation::setUpTreeMembers(), side(), ResidualRefitting::StoreTrackerRecHits(), and tidIsZMinusSide().

185  {
186  return ((id.rawId()>>tidVals_.sideStartBit_)&tidVals_.sideMask_);
187  }
uint32_t TrackerTopology::tidStack ( const DetId id) const
inline

Definition at line 358 of file TrackerTopology.h.

References tidGlued().

Referenced by stack().

358 { return tidGlued(id); }
uint32_t tidGlued(const DetId &id) const
uint32_t TrackerTopology::tidStereo ( const DetId id) const
inline
uint32_t TrackerTopology::tidUpper ( const DetId id) const
inline

Definition at line 331 of file TrackerTopology.h.

References tidRPhi().

Referenced by isUpper(), and upper().

331 { return tidRPhi(id); }
uint32_t tidRPhi(const DetId &id) const
unsigned int TrackerTopology::tidWheel ( const DetId id) const
inline

Definition at line 202 of file TrackerTopology.h.

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

Referenced by SiStripHitEffFromCalibTree::algoAnalyze(), SiStripDigiValid::analyze(), SiStripQualityStatistics::analyze(), SiStripLAProfileBooker::analyze(), HitEff::checkLayer(), SiStripElectronAlgo::coarseHitSelection(), TrackingLayer::createFromDetId(), SiStripBadComponentsDQMServiceReader::detIdToString(), align::tid::diskNumber(), AlignmentStats::endJob(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidationSummary::fillTree(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), MonitorTrackResidualsBase< pixel_or_strip >::findSubdetAndLayer(), SiStripCablingDQM::getActiveDetIds(), SiStripFolderOrganizer::getFolderName(), SiStripPlotGain::getHistos(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripCorrelateNoise::getHistos(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), GlobalMuonRefitter::getRidOfSelectStationHits(), SiStripBaseCondObjDQM::GetSameLayerDetId(), PrintRecoObjects::getString(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripFolderOrganizer::GetSubDetAndLayerThickness(), SiStripHistoId::getSubdetid(), GeometricSearchTracker::idToLayer(), SiStripBadModuleGenerator::isTIDDetector(), layer(), TkAlCaOverlapTagger::layerFromId(), AlignmentPrescaler::layerFromId(), TrajectoryManager::makeSinglePSimHit(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), print(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), TrackerOfflineValidation::setUpTreeMembers(), ResidualRefitting::StoreTrackerRecHits(), TrackerDpgAnalysis::toStringName(), and TrackerAlignableId::typeAndLayerFromDetId().

202  {
203  return ((id.rawId()>>tidVals_.wheelStartBit_) & tidVals_.wheelMask_) ;
204  }
DetId TrackerTopology::tobDetId ( uint32_t  layer,
uint32_t  rod_fw_bw,
uint32_t  rod,
uint32_t  module,
uint32_t  ster 
) const
inline

Definition at line 537 of file TrackerTopology.h.

References TrackerTopology::TOBValues::layerMask_, TrackerTopology::TOBValues::layerStartBit_, TrackerTopology::TOBValues::moduleMask_, TrackerTopology::TOBValues::moduleStartBit_, TrackerTopology::TOBValues::rod_fw_bwMask_, TrackerTopology::TOBValues::rod_fw_bwStartBit_, TrackerTopology::TOBValues::rodMask_, TrackerTopology::TOBValues::rodStartBit_, TrackerTopology::TOBValues::sterMask_, TrackerTopology::TOBValues::sterStartBit_, StripSubdetector::TOB, tobVals_, and DetId::Tracker.

Referenced by tobDetIdLayerComparator().

541  {
543  uint32_t rawid=id.rawId();
549  return DetId(rawid);
550  }
Detector identifier class for the strip tracker.
Definition: SiStripDetId.h:17
Definition: DetId.h:18
unsigned int layer(const DetId &id) const
Definition: vlib.h:208
std::pair<DetId, SameLayerComparator> TrackerTopology::tobDetIdLayerComparator ( uint32_t  layer) const
inline

Definition at line 572 of file TrackerTopology.h.

References tobDetId().

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

572  {
573  return std::make_pair(tobDetId(layer, 1,1,1,1), SameLayerComparator(this));
574  }
DetId tobDetId(uint32_t layer, uint32_t rod_fw_bw, uint32_t rod, uint32_t module, uint32_t ster) const
unsigned int layer(const DetId &id) const
uint32_t TrackerTopology::tobGlued ( const DetId id) const
inline

Definition at line 346 of file TrackerTopology.h.

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

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

346  {
347  uint32_t testId = (id.rawId()>>tobVals_.sterStartBit_) & tobVals_.sterMask_;
348  return ( testId == 0 ) ? 0 : (id.rawId() - testId);
349  }
return(e1-e2)*(e1-e2)+dp *dp
bool TrackerTopology::tobIsDoubleSide ( const DetId id) const
inline

Definition at line 254 of file TrackerTopology.h.

References tobGlued(), and tobLayer().

Referenced by SiPixelErrorEstimation::analyze(), AlignmentStats::endJob(), TrackerOfflineValidationSummary::fillTree(), TrackerOfflineValidation::setUpTreeMembers(), tobIsRPhi(), tobIsStereo(), and TrackerDpgAnalysis::toStringName().

254 { return tobGlued(id)==0 && (tobLayer(id)==1 || tobLayer(id)==2);}
uint32_t tobGlued(const DetId &id) const
unsigned int tobLayer(const DetId &id) const
bool TrackerTopology::tobIsRPhi ( const DetId id) const
inline

Definition at line 276 of file TrackerTopology.h.

References tobIsDoubleSide(), and tobRPhi().

Referenced by SiPixelErrorEstimation::analyze(), TrackingParticleNumberOfLayers::calculate(), isRPhi(), SiStripBadModuleGenerator::isTOBDetector(), and TrackerDpgAnalysis::toStringName().

276 { return tobRPhi(id)!=0 && !tobIsDoubleSide(id);}
bool tobIsDoubleSide(const DetId &id) const
uint32_t tobRPhi(const DetId &id) const
bool TrackerTopology::tobIsStereo ( const DetId id) const
inline
bool TrackerTopology::tobIsZMinusSide ( const DetId id) const
inline
bool TrackerTopology::tobIsZPlusSide ( const DetId id) const
inline
unsigned int TrackerTopology::tobLayer ( const DetId id) const
inline

Definition at line 140 of file TrackerTopology.h.

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

Referenced by SiStripHitEffFromCalibTree::algoAnalyze(), SiStripCalibLorentzAngle::algoBeginJob(), SiStripDigiValid::analyze(), SiStripQualityStatistics::analyze(), SiStripLAProfileBooker::analyze(), SiPixelErrorEstimation::analyze(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), HitEff::checkLayer(), SiStripElectronAlgo::coarseHitSelection(), TrackingLayer::createFromDetId(), SiStripLorentzAngleGenerator::createObject(), SiStripBadComponentsDQMServiceReader::detIdToString(), AlignmentStats::endJob(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::extractBadAPVSandStrips(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiStripQualityDQM::fillGrandSummaryMEs(), TrackerGeometryCompare::fillIdentifiers(), SiStripBackPlaneCorrectionDQM::fillMEsForLayer(), SiStripLorentzAngleDQM::fillMEsForLayer(), TrackerOfflineValidationSummary::fillTree(), GlobalDigisProducer::fillTrk(), GlobalDigisAnalyzer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), cms::ClusterMTCCFilter::filter(), MonitorTrackResidualsBase< pixel_or_strip >::findSubdetAndLayer(), SiStripCablingDQM::getActiveDetIds(), SiStripFolderOrganizer::getFolderName(), SiStripCorrelateBadStripAndNoise::getHistos(), SiStripPlotGain::getHistos(), SiStripCorrelateNoise::getHistos(), SiStripLAProfileBooker::getlayer(), SiStripFolderOrganizer::getLayerFolderName(), SiStripBaseCondObjDQM::getLayerNameAndId(), SiStripGainCosmicCalculator::getNewObject(), SiStripCalibLorentzAngle::getNewObject(), GlobalMuonRefitter::getRidOfSelectStationHits(), SiStripBaseCondObjDQM::GetSameLayerDetId(), PrintRecoObjects::getString(), SiStripBaseCondObjDQM::getStringNameAndId(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripFolderOrganizer::GetSubDetAndLayerThickness(), SiStripHistoId::getSubdetid(), GeometricSearchTracker::idToLayer(), TrajectoryAtInvalidHit::isDoubleSided(), HitEff::isDoubleSided(), SiStripBadModuleGenerator::isTOBDetector(), layer(), TkAlCaOverlapTagger::layerFromId(), AlignmentPrescaler::layerFromId(), align::tob::layerNumber(), TrajectoryManager::makeSinglePSimHit(), moduleGeometry(), ShallowClustersProducer::moduleVars::moduleVars(), AlignmentParameterSelector::outsideDetIdRanges(), print(), SiStripElectronAlgo::projectPhiBand(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::setBasicTreeParameters(), SiStripFolderOrganizer::setLayerFolder(), TrackerOfflineValidation::setUpTreeMembers(), SiTrackerGaussianSmearingRecHitConverter::smear(), ResidualRefitting::StoreTrackerRecHits(), SiStripNoisesGenerator::subDetAndLayer(), SiStripNoiseNormalizedWithApvGainBuilder::subDetAndLayer(), SiStripApvGainBuilderFromTag::subDetAndLayer(), tobIsDoubleSide(), TrackerDpgAnalysis::toStringName(), LaserDQM::trackerStatistics(), and TrackerAlignableId::typeAndLayerFromDetId().

140  {
141  return int((id.rawId()>>tobVals_.layerStartBit_) & tobVals_.layerMask_);
142  }
uint32_t TrackerTopology::tobLower ( const DetId id) const
inline

Definition at line 301 of file TrackerTopology.h.

References tobStereo().

Referenced by isLower(), and lower().

301 { return tobStereo(id); }
uint32_t tobStereo(const DetId &id) const
unsigned int TrackerTopology::tobModule ( const DetId id) const
inline
DetId TrackerTopology::tobPartnerDetId ( const DetId id) const
inline

Definition at line 373 of file TrackerTopology.h.

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

Referenced by partnerDetId().

373  {
374  if ( ((id.rawId()>>tobVals_.sterStartBit_) & tobVals_.sterMask_ ) == 1 ) {
375  return DetId( id.rawId() + 1 );
376  } else if ( ((id.rawId()>>tobVals_.sterStartBit_) & tobVals_.sterMask_ ) == 2 ) {
377  return DetId( id.rawId() - 1 );
378  } else { return DetId(); }
379  }
Definition: DetId.h:18
unsigned int TrackerTopology::tobRod ( const DetId id) const
inline
std::vector<unsigned int> TrackerTopology::tobRodInfo ( const DetId id) const
inline

Definition at line 235 of file TrackerTopology.h.

References pileupDistInMC::num, tobRod(), and tobSide().

Referenced by SiStripDigiValid::analyze(), SiStripLAProfileBooker::analyze(), TrackerGeometryCompare::fillIdentifiers(), TrackerOfflineValidationSummary::fillTree(), align::tob::halfBarrelNumber(), print(), align::tob::rodNumber(), and TrackerOfflineValidation::setUpTreeMembers().

235  {
236  std::vector<unsigned int> num;
237  num.push_back( tobSide(id) );
238  num.push_back( tobRod(id) );
239  return num ;
240  }
unsigned int tobSide(const DetId &id) const
unsigned int tobRod(const DetId &id) const
uint32_t TrackerTopology::tobRPhi ( const DetId id) const
inline

Definition at line 305 of file TrackerTopology.h.

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

Referenced by tobIsRPhi(), and tobUpper().

305  {
306  if ( ((id.rawId() >>tobVals_.sterStartBit_ ) & tobVals_.sterMask_ ) == 2 ) {
307  return ( (id.rawId()>>tobVals_.sterStartBit_) & tobVals_.sterMask_ );
308  } else { return 0; }
309  }
unsigned int TrackerTopology::tobSide ( const DetId id) const
inline
uint32_t TrackerTopology::tobStack ( const DetId id) const
inline

Definition at line 359 of file TrackerTopology.h.

References tobGlued().

Referenced by stack().

359 { return tobGlued(id); }
uint32_t tobGlued(const DetId &id) const
uint32_t TrackerTopology::tobStereo ( const DetId id) const
inline
uint32_t TrackerTopology::tobUpper ( const DetId id) const
inline

Definition at line 332 of file TrackerTopology.h.

References tobRPhi().

Referenced by isUpper(), and upper().

332 { return tobRPhi(id); }
uint32_t tobRPhi(const DetId &id) const
uint32_t TrackerTopology::upper ( const DetId id) const

Definition at line 135 of file TrackerTopology.cc.

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

135  {
136 
137  uint32_t subdet=id.subdetId();
138  if ( subdet == PixelSubdetector::PixelBarrel )
139  return 0;
140  if ( subdet == PixelSubdetector::PixelEndcap )
141  return 0;
142  if ( subdet == StripSubdetector::TIB )
143  return tibUpper(id);
144  if ( subdet == StripSubdetector::TID )
145  return tidUpper(id);
146  if ( subdet == StripSubdetector::TOB )
147  return tobUpper(id);
148  if ( subdet == StripSubdetector::TEC )
149  return tecUpper(id);
150 
151  throw cms::Exception("Invalid DetId") << "Unsupported DetId in TrackerTopology::upper";
152 }
uint32_t tecUpper(const DetId &id) const
uint32_t tibUpper(const DetId &id) const
uint32_t tobUpper(const DetId &id) const
uint32_t tidUpper(const DetId &id) const

Member Data Documentation

PixelBarrelValues TrackerTopology::pbVals_
private

Definition at line 582 of file TrackerTopology.h.

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

PixelEndcapValues TrackerTopology::pfVals_
private
TECValues TrackerTopology::tecVals_
private
TIBValues TrackerTopology::tibVals_
private
TIDValues TrackerTopology::tidVals_
private
TOBValues TrackerTopology::tobVals_
private