#include <DTGeometry.h>
Public Member Functions | |
const DTChamber * | chamber (const DTChamberId &id) const |
Return a DTChamber given its id. More... | |
const std::vector< const DTChamber * > & | chambers () const |
Return a vector of all Chamber. More... | |
void | clear () |
const DetIdContainer & | detIds () const override |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits) More... | |
const DetContainer & | dets () const override |
Returm a vector of all GeomDet (including all GeomDetUnits) More... | |
const DetTypeContainer & | detTypes () const override |
Return a vector of all det types. More... | |
const DetIdContainer & | detUnitIds () const override |
Returm a vector of all GeomDetUnit DetIds. More... | |
const DetContainer & | detUnits () const override |
Returm a vector of all GeomDet. More... | |
DTGeometry () | |
Default constructor. More... | |
const GeomDet * | idToDet (DetId) const override |
const GeomDet * | idToDetUnit (DetId) const override |
Return the pointer to the GeomDetUnit corresponding to a given DetId. More... | |
const DTLayer * | layer (const DTLayerId &id) const |
Return a layer given its id. More... | |
const std::vector< const DTLayer * > & | layers () const |
Return a vector of all SuperLayer. More... | |
const DTSuperLayer * | superLayer (const DTSuperLayerId &id) const |
Return a DTSuperLayer given its id. More... | |
const std::vector< const DTSuperLayer * > & | superLayers () const |
Return a vector of all SuperLayer. More... | |
~DTGeometry () override | |
Destructor. More... | |
Public Member Functions inherited from TrackingGeometry | |
virtual | ~TrackingGeometry () |
Destructor. More... | |
Private Types | |
typedef std::map< DetId, GeomDet * > | DTDetMap |
Private Member Functions | |
void | add (DTChamber *ch) |
Add a DTChamber to Geometry. More... | |
void | add (DTLayer *l) |
Add a DTLayer to Geometry. More... | |
void | add (DTSuperLayer *sl) |
Add a DTSuperLayer to Geometry. More... | |
void | deallocate () |
Private Attributes | |
std::vector< const DTChamber * > | theChambers |
DetIdContainer | theDetIds |
DetContainer | theDets |
DetTypeContainer | theDetTypes |
DetIdContainer | theDetUnitIds |
DetContainer | theDetUnits |
std::vector< const DTLayer * > | theLayers |
DTDetMap | theMap |
std::vector< const DTSuperLayer * > | theSuperLayers |
Friends | |
class | cms::DTGeometryBuilder |
class | DTGeometryBuilderFromCondDB |
class | DTGeometryBuilderFromDD4Hep |
class | DTGeometryBuilderFromDDD |
class | GeometryAligner |
Additional Inherited Members | |
Public Types inherited from TrackingGeometry | |
using | DetContainer = std::vector< const GeomDet * > |
using | DetIdContainer = std::vector< DetId > |
using | DetTypeContainer = std::vector< const GeomDetType * > |
using | mapIdToDet = std::unordered_map< unsigned int, const GeomDet * > |
using | mapIdToDetUnit = std::unordered_map< unsigned int, const GeomDet * > |
The model of the geometry of Muon Drift Tube detectors.
The geometry owns the DTChamber s; these own their DTSuperLayer s which in turn own their DTLayer s.
Definition at line 28 of file DTGeometry.h.
|
private |
Definition at line 29 of file DTGeometry.h.
DTGeometry::DTGeometry | ( | ) |
|
override |
|
private |
Definition at line 42 of file DTGeometry.cc.
References GeomDet::geographicalId(), theChambers, theDets, and theMap.
Referenced by DTGeometryBuilderFromDDD::buildGeometry(), and counter.Counter::register().
|
private |
Definition at line 54 of file DTGeometry.cc.
References cmsLHEtoEOSManager::l, theDets, theDetUnits, theLayers, and theMap.
Referenced by counter.Counter::register().
|
private |
Add a DTSuperLayer to Geometry.
Definition at line 48 of file DTGeometry.cc.
References GeomDet::geographicalId(), theDets, theMap, and theSuperLayers.
Referenced by counter.Counter::register().
const DTChamber * DTGeometry::chamber | ( | const DTChamberId & | id | ) | const |
Return a DTChamber given its id.
Definition at line 90 of file DTGeometry.cc.
References idToDet().
Referenced by DTVDriftSegmentCalibration::analyze(), DTTTrigOffsetCalibration::analyze(), DTResidualCalibration::analyze(), DTVDriftCalibration::analyze(), DTEfficiencyTask::analyze(), MuonPathAnalyzerPerSL::analyze(), MuonPathAnalyzerInChamber::analyze(), DTNoiseTask::bookHistos(), L1TMuon::GeometryTranslator::calcDTSpecificPoint(), DTRecHitSegmentResidual::compute(), DTCalibValidationFromMuons::compute(), DTCalibValidation::compute(), DTSegment2DSLPhiQuality::dqmAnalyze(), DTSegment4DQuality::dqmAnalyze(), DTTrigGeomUtils::DTTrigGeomUtils(), DTSegmentUpdator::fit(), AngleConverter::getGlobalEta(), geometryXMLparser.CSCAlignable::index(), HLTDTActivityFilter::matchChamber(), MuonSimHitProducer::produce(), DTResidualCalibration::segmentToWireDistance(), DTMeantimerPatternReco4D::setChamber(), DTCombinatorialPatternReco4D::setChamber(), DTRefitAndCombineReco4D::setChamber(), DTTrigGeomUtils::trigPos(), and DTTrig::updateES().
const std::vector< const DTChamber * > & DTGeometry::chambers | ( | ) | const |
Return a vector of all Chamber.
Definition at line 84 of file DTGeometry.cc.
References theChambers.
Referenced by FWRecoGeometryESProducer::addDTGeometry(), DTGeometryTest::analyze(), DTResidualCalibration::beginRun(), DTNoiseTask::bookHistograms(), DTSegmentAnalysisTask::bookHistograms(), DTLocalTriggerLutTask::bookHistograms(), DTLocalTriggerSynchTask::bookHistograms(), AlignableMuon::buildDTBarrel(), DTTrig::createTUs(), DTTrigPhase2Prod::produce(), DTGeometryValidate::validateDTChamberGeometry(), and ValidateGeometry::validateDTChamberGeometry().
void DTGeometry::clear | ( | void | ) |
Definition at line 23 of file DTGeometry.cc.
References deallocate(), theChambers, theDetIds, theDets, theDetTypes, theDetUnitIds, theDetUnits, theLayers, theMap, and theSuperLayers.
|
private |
Definition at line 16 of file DTGeometry.cc.
References theChambers.
Referenced by clear(), and ~DTGeometry().
|
overridevirtual |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
Implements TrackingGeometry.
Definition at line 70 of file DTGeometry.cc.
References theDetIds.
|
overridevirtual |
Returm a vector of all GeomDet (including all GeomDetUnits)
Implements TrackingGeometry.
Definition at line 63 of file DTGeometry.cc.
References theDets.
Referenced by DTGeometryTest::analyze().
|
overridevirtual |
Return a vector of all det types.
Implements TrackingGeometry.
Definition at line 37 of file DTGeometry.cc.
References theDetTypes.
Referenced by DTGeometryTest::analyze().
|
overridevirtual |
Returm a vector of all GeomDetUnit DetIds.
Implements TrackingGeometry.
Definition at line 65 of file DTGeometry.cc.
References theDetUnitIds.
|
overridevirtual |
Returm a vector of all GeomDet.
Implements TrackingGeometry.
Definition at line 61 of file DTGeometry.cc.
References theDetUnits.
Referenced by DTGeometryTest::analyze().
Return the pointer to the GeomDet corresponding to a given DetId (valid also for GeomDetUnits)
Implements TrackingGeometry.
Definition at line 77 of file DTGeometry.cc.
References mps_fire::i, and theMap.
Referenced by MuonGeometrySanityCheck::analyze(), MuonDTDetLayerGeometryBuilder::buildLayers(), DTSegmentUpdator::calculateT0corr(), chamber(), DTSegmentUpdator::fit(), idToDetUnit(), layer(), MuonSegmentProducer::produce(), TrackerToMuonPropagator::produce(), DTSurvey::ReadChambers(), DTSegmentUpdator::rejectBadHits(), superLayer(), DTSegtoRPC::thePoints(), TracktoRPC::thePoints(), and DTSegmentUpdator::update().
Return the pointer to the GeomDetUnit corresponding to a given DetId.
Implements TrackingGeometry.
Definition at line 75 of file DTGeometry.cc.
References idToDet().
Referenced by MuonSimHitsValidAnalyzer::fillDT(), and MuonSimHitProducer::produce().
Return a layer given its id.
Definition at line 96 of file DTGeometry.cc.
References idToDet().
Referenced by DTNoiseCalibration::analyze(), DTEfficiencyTask::analyze(), DTSegmentUpdator::calculateT0corr(), DTRecHitSegmentResidual::compute(), DTCalibValidationFromMuons::compute(), DTCalibValidation::compute(), DTRecHitQuality::compute(), GlobalRecHitsAnalyzer::compute(), GlobalRecHitsProducer::compute(), dtCalibration::DTT0WireInChamberReferenceCorrection::correction(), DTHitPairForFit::DTHitPairForFit(), DTTPAnalyzer::endJob(), DTNoiseCalibration::endJob(), MuonShowerDigiFiller::fill(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProdHist::fillMuon(), GlobalHitsProducer::fillMuon(), DTTimingExtractor::fillTiming(), DTSegmentUpdator::fit(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), DTTrigGeomUtils::phiRange(), DTRecHitProducer::produce(), DTDigitizer::produce(), DTSegmentUpdator::rejectBadHits(), DTResidualCalibration::segmentToWireDistance(), DTHitAssociator::SimHitOK(), DTTrigGeomUtils::thetaRange(), and DTSegmentUpdator::updateHits().
const std::vector< const DTLayer * > & DTGeometry::layers | ( | ) | const |
Return a vector of all SuperLayer.
Definition at line 88 of file DTGeometry.cc.
References theLayers.
Referenced by FWRecoGeometryESProducer::addDTGeometry(), DTGeometryTest::analyze(), DTDCSByLumiTask::dqmEndLuminosityBlock(), DTGeometryValidate::validateDTLayerGeometry(), and ValidateGeometry::validateDTLayerGeometry().
const DTSuperLayer * DTGeometry::superLayer | ( | const DTSuperLayerId & | id | ) | const |
Return a DTSuperLayer given its id.
Definition at line 92 of file DTGeometry.cc.
References idToDet().
Referenced by DTCombinatorialPatternReco4D::buildPhiSuperSegmentsCandidates(), DTMeantimerPatternReco4D::buildPhiSuperSegmentsCandidates(), DTSegment2DQuality::dqmAnalyze(), DTSegment4DQuality::dqmAnalyze(), DTCombinatorialExtendedPatternReco::extendCandidates(), DTSegmentUpdator::fit(), DTRecSegment2DProducer::produce(), DTRecSegment2DExtendedProducer::produce(), and DTClusterer::produce().
const std::vector< const DTSuperLayer * > & DTGeometry::superLayers | ( | ) | const |
Return a vector of all SuperLayer.
Definition at line 86 of file DTGeometry.cc.
References theSuperLayers.
Referenced by DTGeometryTest::analyze(), DTTTrigWriter::analyze(), DTT0Correction::endJob(), DTVDriftWriter::endJob(), DTTTrigCorrection::endJob(), DTT0Calibration::endJob(), and dtCalibration::DTTTrigFillWithAverage::getAverage().
|
friend |
Definition at line 84 of file DTGeometry.h.
|
friend |
Definition at line 87 of file DTGeometry.h.
|
friend |
Definition at line 86 of file DTGeometry.h.
|
friend |
Definition at line 85 of file DTGeometry.h.
|
friend |
Definition at line 89 of file DTGeometry.h.
|
private |
Definition at line 104 of file DTGeometry.h.
Referenced by add(), chambers(), clear(), and deallocate().
|
private |
Definition at line 124 of file DTGeometry.h.
|
private |
Definition at line 118 of file DTGeometry.h.
|
private |
Definition at line 122 of file DTGeometry.h.
Referenced by clear(), and detTypes().
|
private |
Definition at line 123 of file DTGeometry.h.
Referenced by clear(), and detUnitIds().
|
private |
Definition at line 117 of file DTGeometry.h.
Referenced by add(), clear(), and detUnits().
|
private |
Definition at line 110 of file DTGeometry.h.
|
private |
Definition at line 113 of file DTGeometry.h.
|
private |
Definition at line 109 of file DTGeometry.h.
Referenced by add(), clear(), and superLayers().