CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends
TrackerGeometry Class Referencefinal

#include <TrackerGeometry.h>

Inheritance diagram for TrackerGeometry:
TrackingGeometry

Public Types

typedef
GeomDetEnumerators::SubDetector 
SubDetector
 
- Public Types inherited from TrackingGeometry
typedef std::vector< GeomDet
const * > 
DetContainer
 
typedef std::vector< DetIdDetIdContainer
 
typedef std::vector
< GeomDetType const * > 
DetTypeContainer
 
typedef std::vector
< GeomDetUnit const * > 
DetUnitContainer
 
typedef std::unordered_map
< unsigned int, GeomDet const * > 
mapIdToDet
 
typedef std::unordered_map
< unsigned int, GeomDetUnit
const * > 
mapIdToDetUnit
 

Public Member Functions

virtual const DetIdContainerdetIds () const
 Returm a vector of all GeomDet DetIds (including those of GeomDetUnits) More...
 
virtual const DetContainerdets () const
 Returm a vector of all GeomDet (including all GeomDetUnits) More...
 
const DetContainerdetsPXB () const
 
const DetContainerdetsPXF () const
 
const DetContainerdetsTEC () const
 
const DetContainerdetsTIB () const
 
const DetContainerdetsTID () const
 
const DetContainerdetsTOB () const
 
virtual const DetTypeContainerdetTypes () const
 Return a vector of all det types. More...
 
virtual const DetIdContainerdetUnitIds () const
 Returm a vector of all GeomDetUnit DetIds. More...
 
virtual const DetUnitContainerdetUnits () const
 Returm a vector of all GeomDetUnit. More...
 
unsigned int endsetDU (SubDetector sid) const
 
const
GeomDetEnumerators::SubDetector 
geomDetSubDetector (int subdet) const
 
virtual const TrackerGeomDetidToDet (DetId) const
 
virtual const TrackerGeomDetidToDetUnit (DetId) const
 Return the pointer to the GeomDetUnit corresponding to a given DetId. More...
 
bool isThere (GeomDetEnumerators::SubDetector subdet) const
 
unsigned int numberOfLayers (int subdet) const
 
unsigned int offsetDU (SubDetector sid) const
 
void setEndsetDU (SubDetector sid)
 
void setOffsetDU (SubDetector sid)
 
GeometricDet const * trackerDet () const
 
virtual ~TrackerGeometry ()
 
- Public Member Functions inherited from TrackingGeometry
virtual ~TrackingGeometry ()
 Destructor. More...
 

Private Member Functions

void addDet (GeomDet const *p)
 
void addDetId (DetId p)
 
void addDetUnit (GeomDetUnit const *p)
 
void addDetUnitId (DetId p)
 
void addType (GeomDetType const *p)
 
void finalize ()
 
 TrackerGeometry (GeometricDet const *gd=0)
 

Static Private Member Functions

static const
GeomDetEnumerators::SubDetector 
geometricDetToGeomDet (GeometricDet::GDEnumType gdenum)
 

Private Attributes

DetIdContainer theDetIds
 
DetContainer theDets
 
DetTypeContainer theDetTypes
 
DetIdContainer theDetUnitIds
 
DetUnitContainer theDetUnits
 
unsigned int theEndsetDU [6]
 
mapIdToDet theMap
 
mapIdToDetUnit theMapUnit
 
unsigned int theNumberOfLayers [6]
 
unsigned int theOffsetDU [6]
 
DetContainer thePXBDets
 
DetContainer thePXFDets
 
GeomDetEnumerators::SubDetector theSubDetTypeMap [6]
 
DetContainer theTECDets
 
DetContainer theTIBDets
 
DetContainer theTIDDets
 
DetContainer theTOBDets
 
GeometricDet const * theTrackerDet
 

Friends

class GeometryAligner
 Aligner has access to map. More...
 
class TrackerGeomBuilderFromGeometricDet
 

Detailed Description

A specific Tracker Builder which builds a Tracker from a list of DetUnits. Pattern recognition is used to discover layers, rings etc.

Definition at line 29 of file TrackerGeometry.h.

Member Typedef Documentation

Definition at line 43 of file TrackerGeometry.h.

Constructor & Destructor Documentation

TrackerGeometry::TrackerGeometry ( GeometricDet const *  gd = 0)
explicitprivate

Definition at line 17 of file TrackerGeometry.cc.

References assert(), GeometricDet::components(), geomDetSubDetector(), geometricDetToGeomDet(), i, GeomDetEnumerators::invalidDet, LogDebug, LogTrace, numberOfLayers(), theNumberOfLayers, and theSubDetTypeMap.

17  : theTrackerDet(gd)
18 {
19  for(unsigned int i=0;i<6;++i) {
21  theNumberOfLayers[i] = 0;
22  }
23  GeometricDet::ConstGeometricDetContainer subdetgd = gd->components();
24 
25  LogDebug("BuildingSubDetTypeMap") << "GeometriDet and GeomDetEnumerators enumerator values of the subdetectors";
26  for(unsigned int i=0;i<subdetgd.size();++i) {
27  assert(subdetgd[i]->geographicalId().subdetId()>0 && subdetgd[i]->geographicalId().subdetId()<7);
28  theSubDetTypeMap[subdetgd[i]->geographicalId().subdetId()-1]= geometricDetToGeomDet(subdetgd[i]->type());
29  theNumberOfLayers[subdetgd[i]->geographicalId().subdetId()-1]= subdetgd[i]->components().size();
30  LogTrace("BuildingSubDetTypeMap") << "subdet " << i
31  << " Geometric Det type " << subdetgd[i]->type()
32  << " Geom Det type " << theSubDetTypeMap[subdetgd[i]->geographicalId().subdetId()-1]
33  << " detid " << subdetgd[i]->geographicalId()
34  << " subdetid " << subdetgd[i]->geographicalId().subdetId()
35  << " number of layers " << subdetgd[i]->components().size();
36  }
37  LogDebug("SubDetTypeMapContent") << "Content of theSubDetTypeMap";
38  for(unsigned int i=1;i<7;++i) {
39  LogTrace("SubDetTypeMapContent") << " detid subdet "<< i << " Geom Det type " << geomDetSubDetector(i);
40  }
41  LogDebug("NumberOfLayers") << "Content of theNumberOfLayers";
42  for(unsigned int i=1;i<7;++i) {
43  LogTrace("NumberOfLayers") << " detid subdet "<< i << " number of layers " << numberOfLayers(i);
44  }
45 
46 }
#define LogDebug(id)
type
Definition: HCALResponse.h:21
int i
Definition: DBlmapReader.cc:9
const GeomDetEnumerators::SubDetector geomDetSubDetector(int subdet) const
assert(m_qm.get())
unsigned int theNumberOfLayers[6]
GeomDetEnumerators::SubDetector theSubDetTypeMap[6]
unsigned int numberOfLayers(int subdet) const
static const GeomDetEnumerators::SubDetector geometricDetToGeomDet(GeometricDet::GDEnumType gdenum)
#define LogTrace(id)
std::vector< GeometricDet const * > ConstGeometricDetContainer
Definition: GeometricDet.h:36
GeometricDet const * theTrackerDet
TrackerGeometry::~TrackerGeometry ( )
virtual

Definition at line 49 of file TrackerGeometry.cc.

References ztail::d, theDets, and theDetTypes.

49  {
50  for (auto d : theDets) delete const_cast<GeomDet*>(d);
51  for (auto d : theDetTypes) delete const_cast<GeomDetType*>(d);
52 }
DetContainer theDets
tuple d
Definition: ztail.py:151
DetTypeContainer theDetTypes

Member Function Documentation

void TrackerGeometry::addDet ( GeomDet const *  p)
private

Definition at line 85 of file TrackerGeometry.cc.

References GeomDet::geographicalId(), AlCaHLTBitMon_ParallelJobs::p, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, DetId::rawId(), StripSubdetector::TEC, theDets, theMap, thePXBDets, thePXFDets, theTECDets, theTIBDets, theTIDDets, theTOBDets, StripSubdetector::TIB, StripSubdetector::TID, and StripSubdetector::TOB.

Referenced by TrackerGeomBuilderFromGeometricDet::buildGeomDet().

85  {
86  theDets.push_back(p); // add to vector
87  theMap.insert(std::make_pair(p->geographicalId().rawId(),p));
88  DetId id(p->geographicalId());
89  switch(id.subdetId()){
91  thePXBDets.push_back(p);
92  break;
94  thePXFDets.push_back(p);
95  break;
97  theTIBDets.push_back(p);
98  break;
100  theTIDDets.push_back(p);
101  break;
103  theTOBDets.push_back(p);
104  break;
106  theTECDets.push_back(p);
107  break;
108  default:
109  edm::LogError("TrackerGeometry")<<"ERROR - I was expecting a Tracker Subdetector, I got a "<<id.subdetId();
110  }
111 
112 
113 }
mapIdToDet theMap
DetContainer theTECDets
DetContainer theDets
DetContainer theTIDDets
Definition: DetId.h:18
DetContainer thePXBDets
DetContainer thePXFDets
DetContainer theTIBDets
DetContainer theTOBDets
void TrackerGeometry::addDetId ( DetId  p)
private

Definition at line 115 of file TrackerGeometry.cc.

References theDetIds.

Referenced by TrackerGeomBuilderFromGeometricDet::buildGeomDet().

115  {
116  theDetIds.push_back(p);
117 }
DetIdContainer theDetIds
void TrackerGeometry::addDetUnit ( GeomDetUnit const *  p)
private

Definition at line 74 of file TrackerGeometry.cc.

References GeomDet::geographicalId(), AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), theDetUnits, and theMapUnit.

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

74  {
75  // set index
76  const_cast<GeomDetUnit *>(p)->setIndex(theDetUnits.size());
77  theDetUnits.push_back(p); // add to vector
78  theMapUnit.insert(std::make_pair(p->geographicalId().rawId(),p));
79 }
DetUnitContainer theDetUnits
mapIdToDetUnit theMapUnit
void TrackerGeometry::addDetUnitId ( DetId  p)
private

Definition at line 81 of file TrackerGeometry.cc.

References theDetUnitIds.

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

81  {
82  theDetUnitIds.push_back(p);
83 }
DetIdContainer theDetUnitIds
void TrackerGeometry::addType ( GeomDetType const *  p)
private

Definition at line 70 of file TrackerGeometry.cc.

References theDetTypes.

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

70  {
71  theDetTypes.push_back(p); // add to vector
72 }
DetTypeContainer theDetTypes
const TrackerGeometry::DetIdContainer & TrackerGeometry::detIds ( ) const
virtual

Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)

Implements TrackingGeometry.

Definition at line 227 of file TrackerGeometry.cc.

References theDetIds.

Referenced by TrackerOfflineValidationSummary::analyze(), and TrackerOfflineValidation::checkBookHists().

228 {
229  return theDetIds;
230 }
DetIdContainer theDetIds
const TrackerGeometry::DetContainer & TrackerGeometry::dets ( ) const
virtual

Returm a vector of all GeomDet (including all GeomDetUnits)

Implements TrackingGeometry.

Definition at line 126 of file TrackerGeometry.cc.

References theDets.

127 {
128  return theDets;
129 }
DetContainer theDets
const TrackerGeometry::DetContainer & TrackerGeometry::detsPXB ( ) const
const TrackerGeometry::DetContainer & TrackerGeometry::detsPXF ( ) const
const TrackerGeometry::DetContainer & TrackerGeometry::detsTEC ( ) const
const TrackerGeometry::DetContainer & TrackerGeometry::detsTIB ( ) const
const TrackerGeometry::DetContainer & TrackerGeometry::detsTID ( ) const
const TrackerGeometry::DetContainer & TrackerGeometry::detsTOB ( ) const
const TrackerGeometry::DetTypeContainer & TrackerGeometry::detTypes ( ) const
virtual

Return a vector of all det types.

Implements TrackingGeometry.

Definition at line 214 of file TrackerGeometry.cc.

References theDetTypes.

215 {
216  return theDetTypes;
217 }
DetTypeContainer theDetTypes
const TrackerGeometry::DetIdContainer & TrackerGeometry::detUnitIds ( ) const
virtual

Returm a vector of all GeomDetUnit DetIds.

Implements TrackingGeometry.

Definition at line 221 of file TrackerGeometry.cc.

References theDetUnitIds.

Referenced by TrackerGeomBuilderFromGeometricDet::buildGeomDet(), TrackerOfflineValidation::checkBookHists(), SiStripMonitorMuonHLT::createMEs(), and TkAlCaRecoMonitor::fillRawIdMap().

222 {
223  return theDetUnitIds;
224 }
DetIdContainer theDetUnitIds
const TrackerGeometry::DetUnitContainer & TrackerGeometry::detUnits ( ) const
virtual
unsigned int TrackerGeometry::endsetDU ( SubDetector  sid) const
inline

Definition at line 61 of file TrackerGeometry.h.

References theEndsetDU.

61 { return theEndsetDU[sid];}
unsigned int theEndsetDU[6]
void TrackerGeometry::finalize ( void  )
private

Definition at line 54 of file TrackerGeometry.cc.

References theDetIds, theDets, theDetTypes, theDetUnitIds, theDetUnits, thePXBDets, thePXFDets, theTECDets, theTIBDets, theTIDDets, and theTOBDets.

54  {
55  theDetTypes.shrink_to_fit(); // owns the DetTypes
56  theDetUnits.shrink_to_fit(); // they're all also into 'theDets', so we assume 'theDets' owns them
57  theDets.shrink_to_fit(); // owns *ONLY* the GeomDet * corresponding to GluedDets.
58  theDetUnitIds.shrink_to_fit();
59  theDetIds.shrink_to_fit();
60 
61  thePXBDets.shrink_to_fit(); // not owned: they're also in 'theDets'
62  thePXFDets.shrink_to_fit(); // not owned: they're also in 'theDets'
63  theTIBDets.shrink_to_fit(); // not owned: they're also in 'theDets'
64  theTIDDets.shrink_to_fit(); // not owned: they're also in 'theDets'
65  theTOBDets.shrink_to_fit(); // not owned: they're also in 'theDets'
66  theTECDets.shrink_to_fit(); // not owned: they're also in 'theDets'
67 }
DetIdContainer theDetIds
DetIdContainer theDetUnitIds
DetContainer theTECDets
DetContainer theDets
DetUnitContainer theDetUnits
DetTypeContainer theDetTypes
DetContainer theTIDDets
DetContainer thePXBDets
DetContainer thePXFDets
DetContainer theTIBDets
DetContainer theTOBDets
const GeomDetEnumerators::SubDetector TrackerGeometry::geomDetSubDetector ( int  subdet) const

Definition at line 188 of file TrackerGeometry.cc.

References edm::hlt::Exception, and theSubDetTypeMap.

Referenced by MeasurementTrackerImpl::initialize(), isThere(), SeedClusterRemover::process(), HLTTrackClusterRemoverNew::process(), HITrackClusterRemover::process(), and TrackerGeometry().

188  {
189  if(subdet>=1 && subdet<=6) {
190  return theSubDetTypeMap[subdet-1];
191  } else {
192  throw cms::Exception("WrongTrackerSubDet") << "Subdetector " << subdet;
193  }
194 }
GeomDetEnumerators::SubDetector theSubDetTypeMap[6]
const GeomDetEnumerators::SubDetector TrackerGeometry::geometricDetToGeomDet ( GeometricDet::GDEnumType  gdenum)
staticprivate

Definition at line 233 of file TrackerGeometry.cc.

References GeomDetEnumerators::invalidDet, GeomDetEnumerators::P1PXB, GeomDetEnumerators::P1PXEC, GeomDetEnumerators::P2OTB, GeomDetEnumerators::P2OTEC, GeomDetEnumerators::P2PXEC, GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, sistripsummary::TEC, sistripsummary::TIB, sistripsummary::TID, and sistripsummary::TOB.

Referenced by TrackerGeometry().

233  {
234  // provide a map between the GeometricDet enumerators and the GeomDet enumerators of the possible tracker subdetectors
236  if(gdenum == GeometricDet::GDEnumType::PixelEndCap) return GeomDetEnumerators::SubDetector::PixelEndcap;
241  if(gdenum == GeometricDet::GDEnumType::PixelPhase1Barrel) return GeomDetEnumerators::SubDetector::P1PXB;
242  if(gdenum == GeometricDet::GDEnumType::PixelPhase1EndCap) return GeomDetEnumerators::SubDetector::P1PXEC;
243  if(gdenum == GeometricDet::GDEnumType::PixelPhase2EndCap) return GeomDetEnumerators::SubDetector::P2PXEC;
244  if(gdenum == GeometricDet::GDEnumType::OTPhase2Barrel) return GeomDetEnumerators::SubDetector::P2OTB;
245  if(gdenum == GeometricDet::GDEnumType::OTPhase2EndCap) return GeomDetEnumerators::SubDetector::P2OTEC;
247 }
const TrackerGeomDet * TrackerGeometry::idToDet ( DetId  ) const
virtual

Return the pointer to the GeomDet corresponding to a given DetId (valid also for GeomDetUnits)

Implements TrackingGeometry.

Definition at line 178 of file TrackerGeometry.cc.

References AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), and theMap.

Referenced by FWRecoGeometryESProducer::addTECGeometry(), FWRecoGeometryESProducer::addTIBGeometry(), FWRecoGeometryESProducer::addTIDGeometry(), FWRecoGeometryESProducer::addTOBGeometry(), SiPixelRecHitsValid::analyze(), SiStripLAProfileBooker::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelTrackingRecHitsValid::analyze(), analyzer::SiPixelLorentzAngle::analyze(), SiStripMonitorMuonHLT::analyze(), SiStripRecHitsValid::analyze(), SiStripTrackingRecHitsValid::analyze(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), SiStripMonitorMuonHLT::analyzeOnTrackClusters(), SiStripLAProfileBooker::beginRun(), SiPixelErrorsDigisToCalibDigis::bookDQMHistoPlaquetteSummary2D(), SiPixelOfflineCalibAnalysisBase::bookDQMHistoPlaquetteSummary2D(), TOBRodBuilder::build(), Phase2OTBarrelRodBuilder::build(), Phase2OTECRingBuilder::build(), PixelRodBuilder::build(), TECWedgeBuilder::build(), TIBRingBuilder::build(), TIDRingBuilder::build(), PixelBladeBuilder< T >::build(), SeedFromGenericPairOrTriplet::buildSeed(), SiStripFineDelayHit::closestCluster(), SeedFromNuclearInteraction::construct(), LaserAlignment::endRunProduce(), SiStripBadAPVAlgorithmFromClusterOccupancy::extractBadAPVs(), SiStripHotStripAlgorithmFromClusterOccupancy::extractBadStrips(), SiPixelClusterModule::fill(), TkAlCaRecoMonitor::fillHitmaps(), QcdLowPtDQM::fillPixels(), TrackerOfflineValidationSummary::fillTree(), TrackerOfflineValidation::fillTree(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), SiStripElectronAlgo::findElectron(), SiStripFineDelayTLA::findtrackangle(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), SiPixelQuality::getBadRocPositions(), NuclearTester::HitPositions(), HLTPixelClusterShapeFilter::hltFilter(), TrajectorySeedHitCandidate::init(), SiTrackerGaussianSmearingRecHitConverter::matchHits(), SiStripMonitorMuonHLT::Normalizer(), TrackMerger::MomentumSort::operator()(), CompareDetY_plus::operator()(), CompareHitY::operator()(), CompareHitY_plus::operator()(), CompareDetY_minus::operator()(), SeedFromNuclearInteraction::outerHitPosition(), HIPixelClusterVtxProducer::produce(), PixelClusterSelectorTopBottom::produce(), StripClusterSelectorTopBottom::produce(), TrackCandidateProducer::produce(), ConvBremSeedProducer::produce(), TrajectorySeedProducer::produce(), SiStripElectronAlgo::projectPhiBand(), TrackInfoProducerAlgorithm::run(), SeedFromGenericPairOrTriplet::seedFromPair(), SeedFromGenericPairOrTriplet::seedFromTriplet(), SeedFromNuclearInteraction::setMeasurements(), SiTrackerGaussianSmearingRecHitConverter::smearHits(), LaserAlignment::testRoutine(), FastTSGFromPropagation::trackerSeeds(), LaserDQM::trackerStatistics(), and TrajectoryAtInvalidHit::TrajectoryAtInvalidHit().

179 {
180  mapIdToDet::const_iterator p=theMap.find(s.rawId());
181  if (p != theMap.end())
182  return static_cast<const TrackerGeomDet *>(p->second);
183  edm::LogError("TrackerGeometry")<<"Invalid DetID: no GeomDet associated";
184  return nullptr;
185 }
mapIdToDet theMap
const TrackerGeomDet * TrackerGeometry::idToDetUnit ( DetId  ) const
virtual

Return the pointer to the GeomDetUnit corresponding to a given DetId.

Implements TrackingGeometry.

Definition at line 168 of file TrackerGeometry.cc.

References AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), and theMapUnit.

Referenced by FWRecoGeometryESProducer::addPixelBarrelGeometry(), FWRecoGeometryESProducer::addPixelForwardGeometry(), SiStripCalibLorentzAngle::algoBeginJob(), SiPixelHitEfficiencySource::analyze(), SiStripRecHitsValid::analyze(), SiStripTrackingRecHitsValid::analyze(), SiStripElectronAlgo::coarseHitSelection(), FineDelayHistosUsingDb::computeDelays(), CkfDebugger::det(), SiStripFineDelayHit::detId(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProdHist::fillTrk(), GlobalHitsProducer::fillTrk(), SiTrackerGaussianSmearingRecHitConverter::gaussianSmearing(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), DeDxTools::makeCalibrationMap(), CkfDebugger::nextCorrectHits(), SiStripMonitorMuonHLT::Normalizer(), CkfDebugger::position(), CkfDebugger::printSimHits(), StandaloneTrackMonitor::processClusters(), StandaloneTrackMonitor::processHit(), SiClusterTranslator::produce(), SiStripElectronAlgo::projectPhiBand(), SiTrackerGaussianSmearingRecHitConverter::smearHits(), and ShallowGainCalibration::thickness().

169 {
170  mapIdToDetUnit::const_iterator p=theMapUnit.find(s.rawId());
171  if (p != theMapUnit.end())
172  return static_cast<const TrackerGeomDet *>(p->second);
173  edm::LogError("TrackerGeometry")<<"Invalid DetID: no GeomDetUnit associated";
174  return nullptr;
175 }
mapIdToDetUnit theMapUnit
bool TrackerGeometry::isThere ( GeomDetEnumerators::SubDetector  subdet) const

Definition at line 206 of file TrackerGeometry.cc.

References geomDetSubDetector(), and i.

206  {
207  for(unsigned int i=1;i<7;++i) {
208  if(subdet == geomDetSubDetector(i)) return true;
209  }
210  return false;
211 }
int i
Definition: DBlmapReader.cc:9
const GeomDetEnumerators::SubDetector geomDetSubDetector(int subdet) const
unsigned int TrackerGeometry::numberOfLayers ( int  subdet) const

Definition at line 197 of file TrackerGeometry.cc.

References edm::hlt::Exception, and theNumberOfLayers.

Referenced by TrackerGeometry().

197  {
198  if(subdet>=1 && subdet<=6) {
199  return theNumberOfLayers[subdet-1];
200  } else {
201  throw cms::Exception("WrongTrackerSubDet") << "Subdetector " << subdet;
202  }
203 }
unsigned int theNumberOfLayers[6]
unsigned int TrackerGeometry::offsetDU ( SubDetector  sid) const
inline

Definition at line 60 of file TrackerGeometry.h.

References theOffsetDU.

Referenced by PixelCPEBase::fillDetParams(), and StripCPE::fillParams().

60 { return theOffsetDU[sid];}
unsigned int theOffsetDU[6]
void TrackerGeometry::setEndsetDU ( SubDetector  sid)
inline

Definition at line 64 of file TrackerGeometry.h.

References detUnits(), and theEndsetDU.

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

64 { theEndsetDU[sid]=detUnits().size();}
virtual const DetUnitContainer & detUnits() const
Returm a vector of all GeomDetUnit.
unsigned int theEndsetDU[6]
void TrackerGeometry::setOffsetDU ( SubDetector  sid)
inline

Definition at line 63 of file TrackerGeometry.h.

References detUnits(), and theOffsetDU.

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

63 { theOffsetDU[sid]=detUnits().size();}
unsigned int theOffsetDU[6]
virtual const DetUnitContainer & detUnits() const
Returm a vector of all GeomDetUnit.
GeometricDet const* TrackerGeometry::trackerDet ( ) const
inline

Definition at line 66 of file TrackerGeometry.h.

References theTrackerDet.

66 {return theTrackerDet;}
GeometricDet const * theTrackerDet

Friends And Related Function Documentation

friend class GeometryAligner
friend

Aligner has access to map.

Definition at line 80 of file TrackerGeometry.h.

Definition at line 33 of file TrackerGeometry.h.

Member Data Documentation

DetIdContainer TrackerGeometry::theDetIds
private

Definition at line 88 of file TrackerGeometry.h.

Referenced by addDetId(), detIds(), and finalize().

DetContainer TrackerGeometry::theDets
private

Definition at line 86 of file TrackerGeometry.h.

Referenced by addDet(), dets(), finalize(), and ~TrackerGeometry().

DetTypeContainer TrackerGeometry::theDetTypes
private

Definition at line 82 of file TrackerGeometry.h.

Referenced by addType(), detTypes(), finalize(), and ~TrackerGeometry().

DetIdContainer TrackerGeometry::theDetUnitIds
private

Definition at line 87 of file TrackerGeometry.h.

Referenced by addDetUnitId(), detUnitIds(), and finalize().

DetUnitContainer TrackerGeometry::theDetUnits
private

Definition at line 83 of file TrackerGeometry.h.

Referenced by addDetUnit(), detUnits(), and finalize().

unsigned int TrackerGeometry::theEndsetDU[6]
private

Definition at line 85 of file TrackerGeometry.h.

Referenced by endsetDU(), and setEndsetDU().

mapIdToDet TrackerGeometry::theMap
private

Definition at line 90 of file TrackerGeometry.h.

Referenced by addDet(), and idToDet().

mapIdToDetUnit TrackerGeometry::theMapUnit
private

Definition at line 89 of file TrackerGeometry.h.

Referenced by addDetUnit(), and idToDetUnit().

unsigned int TrackerGeometry::theNumberOfLayers[6]
private

Definition at line 100 of file TrackerGeometry.h.

Referenced by numberOfLayers(), and TrackerGeometry().

unsigned int TrackerGeometry::theOffsetDU[6]
private

Definition at line 84 of file TrackerGeometry.h.

Referenced by offsetDU(), and setOffsetDU().

DetContainer TrackerGeometry::thePXBDets
private

Definition at line 92 of file TrackerGeometry.h.

Referenced by addDet(), detsPXB(), and finalize().

DetContainer TrackerGeometry::thePXFDets
private

Definition at line 93 of file TrackerGeometry.h.

Referenced by addDet(), detsPXF(), and finalize().

GeomDetEnumerators::SubDetector TrackerGeometry::theSubDetTypeMap[6]
private

Definition at line 99 of file TrackerGeometry.h.

Referenced by geomDetSubDetector(), and TrackerGeometry().

DetContainer TrackerGeometry::theTECDets
private

Definition at line 97 of file TrackerGeometry.h.

Referenced by addDet(), detsTEC(), and finalize().

DetContainer TrackerGeometry::theTIBDets
private

Definition at line 94 of file TrackerGeometry.h.

Referenced by addDet(), detsTIB(), and finalize().

DetContainer TrackerGeometry::theTIDDets
private

Definition at line 95 of file TrackerGeometry.h.

Referenced by addDet(), detsTID(), and finalize().

DetContainer TrackerGeometry::theTOBDets
private

Definition at line 96 of file TrackerGeometry.h.

Referenced by addDet(), detsTOB(), and finalize().

GeometricDet const* TrackerGeometry::theTrackerDet
private

Definition at line 77 of file TrackerGeometry.h.

Referenced by trackerDet().