#include <TrackerGeometry.h>
Public Types | |
typedef GeomDetEnumerators::SubDetector | SubDetector |
Public Types inherited from TrackingGeometry | |
typedef std::vector< GeomDet const * > | DetContainer |
typedef std::vector< DetId > | DetIdContainer |
typedef std::vector < GeomDetType const * > | DetTypeContainer |
typedef std::vector < GeomDetUnit const * > | DetUnitContainer |
typedef __gnu_cxx::hash_map < unsigned int, GeomDet const * > | mapIdToDet |
typedef __gnu_cxx::hash_map < unsigned int, GeomDetUnit const * > | mapIdToDetUnit |
Public 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) |
virtual const DetIdContainer & | detIds () const |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits) More... | |
virtual const DetContainer & | dets () const |
Returm a vector of all GeomDet (including all GeomDetUnits) More... | |
const DetContainer & | detsPXB () const |
const DetContainer & | detsPXF () const |
const DetContainer & | detsTEC () const |
const DetContainer & | detsTIB () const |
const DetContainer & | detsTID () const |
const DetContainer & | detsTOB () const |
virtual const DetTypeContainer & | detTypes () const |
Return a vector of all det types. More... | |
virtual const DetIdContainer & | detUnitIds () const |
Returm a vector of all GeomDetUnit DetIds. More... | |
virtual const DetUnitContainer & | detUnits () const |
Returm a vector of all GeomDetUnit. More... | |
unsigned int | endsetDU (SubDetector sid) const |
virtual const GeomDet * | idToDet (DetId) const |
virtual const GeomDetUnit * | idToDetUnit (DetId) const |
Return the pointer to the GeomDetUnit corresponding to a given DetId. More... | |
unsigned int | offsetDU (SubDetector sid) const |
void | setEndsetDU (SubDetector sid) |
void | setOffsetDU (SubDetector sid) |
GeometricDet const * | trackerDet () const |
TrackerGeometry (GeometricDet const *gd=0) | |
virtual | ~TrackerGeometry () |
Public Member Functions inherited from TrackingGeometry | |
virtual | ~TrackingGeometry () |
Destructor. More... | |
Private Attributes | |
DetIdContainer | theDetIds |
DetContainer | theDets |
DetTypeContainer | theDetTypes |
DetIdContainer | theDetUnitIds |
DetUnitContainer | theDetUnits |
unsigned int | theEndsetDU [6] |
mapIdToDet | theMap |
mapIdToDetUnit | theMapUnit |
unsigned int | theOffsetDU [6] |
DetContainer | thePXBDets |
DetContainer | thePXFDets |
DetContainer | theTECDets |
DetContainer | theTIBDets |
DetContainer | theTIDDets |
DetContainer | theTOBDets |
GeometricDet const * | theTrackerDet |
Friends | |
class | GeometryAligner |
Aligner has access to map. More... | |
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 27 of file TrackerGeometry.h.
Definition at line 29 of file TrackerGeometry.h.
|
explicit |
Definition at line 16 of file TrackerGeometry.cc.
|
virtual |
Definition at line 18 of file TrackerGeometry.cc.
References theDets, and theDetTypes.
void TrackerGeometry::addDet | ( | GeomDet const * | p | ) |
Definition at line 43 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().
void TrackerGeometry::addDetId | ( | DetId | p | ) |
Definition at line 73 of file TrackerGeometry.cc.
References theDetIds.
Referenced by TrackerGeomBuilderFromGeometricDet::buildGeomDet().
void TrackerGeometry::addDetUnit | ( | GeomDetUnit const * | p | ) |
Definition at line 32 of file TrackerGeometry.cc.
References GeomDet::geographicalId(), AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), theDetUnits, and theMapUnit.
Referenced by TrackerGeomBuilderFromGeometricDet::buildPixel(), and TrackerGeomBuilderFromGeometricDet::buildSilicon().
void TrackerGeometry::addDetUnitId | ( | DetId | p | ) |
Definition at line 39 of file TrackerGeometry.cc.
References theDetUnitIds.
Referenced by TrackerGeomBuilderFromGeometricDet::buildPixel(), and TrackerGeomBuilderFromGeometricDet::buildSilicon().
void TrackerGeometry::addType | ( | GeomDetType const * | p | ) |
Definition at line 28 of file TrackerGeometry.cc.
References theDetTypes.
Referenced by TrackerGeomBuilderFromGeometricDet::buildPixel(), and TrackerGeomBuilderFromGeometricDet::buildSilicon().
|
virtual |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
Implements TrackingGeometry.
Definition at line 161 of file TrackerGeometry.cc.
References theDetIds.
Referenced by TrackerOfflineValidationSummary::analyze(), and TrackerOfflineValidation::checkBookHists().
|
virtual |
Returm a vector of all GeomDet (including all GeomDetUnits)
Implements TrackingGeometry.
Definition at line 84 of file TrackerGeometry.cc.
References theDets.
const TrackerGeometry::DetContainer & TrackerGeometry::detsPXB | ( | ) | const |
Definition at line 90 of file TrackerGeometry.cc.
References thePXBDets.
Referenced by FWRecoGeometryESProducer::addPixelBarrelGeometry(), FWTGeoRecoGeometryESProducer::addPixelBarrelGeometry(), AlignableTracker::AlignableTracker(), and MeasurementTrackerImpl::initialize().
const TrackerGeometry::DetContainer & TrackerGeometry::detsPXF | ( | ) | const |
Definition at line 96 of file TrackerGeometry.cc.
References thePXFDets.
Referenced by FWRecoGeometryESProducer::addPixelForwardGeometry(), FWTGeoRecoGeometryESProducer::addPixelForwardGeometry(), AlignableTracker::AlignableTracker(), and MeasurementTrackerImpl::initialize().
const TrackerGeometry::DetContainer & TrackerGeometry::detsTEC | ( | ) | const |
Definition at line 120 of file TrackerGeometry.cc.
References theTECDets.
Referenced by FWRecoGeometryESProducer::addTECGeometry(), FWTGeoRecoGeometryESProducer::addTECGeometry(), AlignableTracker::AlignableTracker(), and MeasurementTrackerImpl::initialize().
const TrackerGeometry::DetContainer & TrackerGeometry::detsTIB | ( | ) | const |
Definition at line 102 of file TrackerGeometry.cc.
References theTIBDets.
Referenced by FWRecoGeometryESProducer::addTIBGeometry(), FWTGeoRecoGeometryESProducer::addTIBGeometry(), AlignableTracker::AlignableTracker(), and MeasurementTrackerImpl::initialize().
const TrackerGeometry::DetContainer & TrackerGeometry::detsTID | ( | ) | const |
Definition at line 108 of file TrackerGeometry.cc.
References theTIDDets.
Referenced by FWRecoGeometryESProducer::addTIDGeometry(), FWTGeoRecoGeometryESProducer::addTIDGeometry(), AlignableTracker::AlignableTracker(), and MeasurementTrackerImpl::initialize().
const TrackerGeometry::DetContainer & TrackerGeometry::detsTOB | ( | ) | const |
Definition at line 114 of file TrackerGeometry.cc.
References theTOBDets.
Referenced by FWRecoGeometryESProducer::addTOBGeometry(), FWTGeoRecoGeometryESProducer::addTOBGeometry(), AlignableTracker::AlignableTracker(), and MeasurementTrackerImpl::initialize().
|
virtual |
Return a vector of all det types.
Implements TrackingGeometry.
Definition at line 148 of file TrackerGeometry.cc.
References theDetTypes.
|
virtual |
Returm a vector of all GeomDetUnit DetIds.
Implements TrackingGeometry.
Definition at line 155 of file TrackerGeometry.cc.
References theDetUnitIds.
Referenced by TrackerGeomBuilderFromGeometricDet::buildGeomDet(), TrackerOfflineValidation::checkBookHists(), SiStripMonitorMuonHLT::createMEs(), and TkAlCaRecoMonitor::fillRawIdMap().
|
virtual |
Returm a vector of all GeomDetUnit.
Implements TrackingGeometry.
Definition at line 78 of file TrackerGeometry.cc.
References theDetUnits.
Referenced by TrackerGeometryIntoNtuples::analyze(), GeometricSearchTrackerBuilder::build(), TrackerGeomBuilderFromGeometricDet::buildGeomDet(), PixelCPEBase::fillDetParams(), StripCPE::fillParams(), setEndsetDU(), and setOffsetDU().
|
inline |
Return the pointer to the GeomDet corresponding to a given DetId (valid also for GeomDetUnits)
Implements TrackingGeometry.
Definition at line 137 of file TrackerGeometry.cc.
References relativeConstraints::geom, 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(), SiPixelMuonHLT::analyze(), analyzer::SiPixelLorentzAngle::analyze(), SiStripMonitorMuonHLT::analyze(), SiStripRecHitsValid::analyze(), SiStripTrackingRecHitsValid::analyze(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::AnalyzeOccupancy(), SiStripMonitorMuonHLT::analyzeOnTrackClusters(), SiStripLAProfileBooker::beginRun(), SiPixelErrorsDigisToCalibDigis::bookDQMHistoPlaquetteSummary2D(), SiPixelOfflineCalibAnalysisBase::bookDQMHistoPlaquetteSummary2D(), PixelBladeBuilder::build(), PixelRodBuilder::build(), TECWedgeBuilder::build(), TIBRingBuilder::build(), TIDRingBuilder::build(), TOBRodBuilder::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(), reco::CentralityProducer::filter(), SiStripElectronAlgo::findElectron(), SiStripFineDelayTLA::findtrackangle(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), SiPixelQuality::getBadRocPositions(), NuclearTester::HitPositions(), HLTPixelClusterShapeFilter::hltFilter(), TrackerRecHit::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(), TrajectorySeedProducer::produce(), ConvBremSeedProducer::produce(), SiStripElectronAlgo::projectPhiBand(), TrackInfoProducerAlgorithm::run(), SeedFromGenericPairOrTriplet::seedFromPair(), SeedFromGenericPairOrTriplet::seedFromTriplet(), SeedFromNuclearInteraction::setMeasurements(), SiTrackerGaussianSmearingRecHitConverter::smearHits(), LaserAlignment::testRoutine(), FastTSGFromPropagation::trackerSeeds(), LaserDQM::trackerStatistics(), and TrajectoryAtInvalidHit::TrajectoryAtInvalidHit().
|
virtual |
Return the pointer to the GeomDetUnit corresponding to a given DetId.
Implements TrackingGeometry.
Definition at line 126 of file TrackerGeometry.cc.
References relativeConstraints::geom, 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(), DeDxDiscriminatorLearner::Learn(), CkfDebugger::nextCorrectHits(), SiStripMonitorMuonHLT::Normalizer(), CkfDebugger::position(), CkfDebugger::printSimHits(), SiClusterTranslator::produce(), SiStripElectronAlgo::projectPhiBand(), SiTrackerGaussianSmearingRecHitConverter::smearHits(), and ShallowGainCalibration::thickness().
|
inline |
Definition at line 50 of file TrackerGeometry.h.
References theOffsetDU.
Referenced by PixelCPEBase::fillDetParams(), and StripCPE::fillParams().
|
inline |
Definition at line 54 of file TrackerGeometry.h.
References detUnits(), and theEndsetDU.
Referenced by TrackerGeomBuilderFromGeometricDet::buildPixel(), and TrackerGeomBuilderFromGeometricDet::buildSilicon().
|
inline |
Definition at line 53 of file TrackerGeometry.h.
References detUnits(), and theOffsetDU.
Referenced by TrackerGeomBuilderFromGeometricDet::buildPixel(), and TrackerGeomBuilderFromGeometricDet::buildSilicon().
GeometricDet const * TrackerGeometry::trackerDet | ( | ) | const |
|
friend |
Aligner has access to map.
Definition at line 70 of file TrackerGeometry.h.
|
private |
Definition at line 78 of file TrackerGeometry.h.
Referenced by addDetId(), and detIds().
|
private |
Definition at line 76 of file TrackerGeometry.h.
Referenced by addDet(), dets(), and ~TrackerGeometry().
|
private |
Definition at line 72 of file TrackerGeometry.h.
Referenced by addType(), detTypes(), and ~TrackerGeometry().
|
private |
Definition at line 77 of file TrackerGeometry.h.
Referenced by addDetUnitId(), and detUnitIds().
|
private |
Definition at line 73 of file TrackerGeometry.h.
Referenced by addDetUnit(), and detUnits().
|
private |
Definition at line 75 of file TrackerGeometry.h.
Referenced by endsetDU(), and setEndsetDU().
|
private |
Definition at line 80 of file TrackerGeometry.h.
|
private |
Definition at line 79 of file TrackerGeometry.h.
Referenced by addDetUnit(), and idToDetUnit().
|
private |
Definition at line 74 of file TrackerGeometry.h.
Referenced by offsetDU(), and setOffsetDU().
|
private |
Definition at line 82 of file TrackerGeometry.h.
|
private |
Definition at line 83 of file TrackerGeometry.h.
|
private |
Definition at line 87 of file TrackerGeometry.h.
|
private |
Definition at line 84 of file TrackerGeometry.h.
|
private |
Definition at line 85 of file TrackerGeometry.h.
|
private |
Definition at line 86 of file TrackerGeometry.h.
|
private |
Definition at line 67 of file TrackerGeometry.h.
Referenced by trackerDet().