#include <MTDGeometry.h>
Public Types | |
enum | ModuleType { ModuleType::UNKNOWN, ModuleType::BTL, ModuleType::ETL } |
using | SubDetector = GeomDetEnumerators::SubDetector |
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 * > |
Public Member Functions | |
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 DetContainer & | detsBTL () const |
const DetContainer & | detsETL () const |
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... | |
unsigned int | endsetDU (unsigned sid) const |
void | fillTestMap (const GeometricTimingDet *gd) |
const GeomDetEnumerators::SubDetector | geomDetSubDetector (int subdet) const |
float | getDetectorThickness (DetId) const |
ModuleType | getDetectorType (DetId) const |
const MTDGeomDet * | idToDet (DetId) const override |
const MTDGeomDet * | idToDetUnit (DetId) const override |
Return the pointer to the GeomDetUnit corresponding to a given DetId. More... | |
bool | isThere (GeomDetEnumerators::SubDetector subdet) const |
ModuleType | moduleType (const std::string &name) const |
unsigned int | numberOfLayers (int subdet) const |
unsigned int | offsetDU (unsigned sid) const |
void | setEndsetDU (unsigned sid) |
void | setOffsetDU (unsigned sid) |
GeometricTimingDet const * | trackerDet () const |
~MTDGeometry () override | |
Public Member Functions inherited from TrackingGeometry | |
virtual | ~TrackingGeometry () |
Destructor. More... | |
Private Member Functions | |
void | addDet (GeomDet const *p) |
void | addDetId (DetId p) |
void | addDetUnit (GeomDet const *p) |
void | addDetUnitId (DetId p) |
void | addType (GeomDetType const *p) |
void | finalize () |
MTDGeometry (GeometricTimingDet const *gd=0) | |
Private Attributes | |
DetContainer | theBTLDets |
DetIdContainer | theDetIds |
DetContainer | theDets |
DetTypeContainer | theDetTypes |
std::vector< std::tuple< DetId, MTDGeometry::ModuleType, float > > | theDetTypetList |
DetIdContainer | theDetUnitIds |
DetContainer | theDetUnits |
unsigned int | theEndsetDU [2] |
DetContainer | theETLDets |
mapIdToDet | theMap |
mapIdToDetUnit | theMapUnit |
unsigned int | theNumberOfLayers [2] |
unsigned int | theOffsetDU [2] |
GeomDetEnumerators::SubDetector | theSubDetTypeMap [2] |
GeometricTimingDet const * | theTrackerDet |
Friends | |
class | GeometryAligner |
Aligner has access to map. More... | |
class | MTDGeomBuilderFromGeometricTimingDet |
A specific MTD Builder which builds MTD from a list of DetUnits. Pattern recognition is used to discover layers, rings etc.
Definition at line 14 of file MTDGeometry.h.
Definition at line 17 of file MTDGeometry.h.
|
strong |
|
override |
Definition at line 107 of file MTDGeometry.cc.
References edmIntegrityCheck::d, theDets, and theDetTypes.
|
explicitprivate |
Definition at line 39 of file MTDGeometry.cc.
References GeometricTimingDet::components(), TauDecayModes::dec, GeometricTimingDet::deepComponents(), fillTestMap(), geomDetSubDetector(), mps_fire::i, GeomDetEnumerators::invalidDet, LogDebug, LogTrace, MTDDetId::mtdSubDetector(), numberOfLayers(), jetUpdater_cfi::sort, theDetTypetList, theNumberOfLayers, and theSubDetTypeMap.
Referenced by trackerDet().
|
private |
Definition at line 138 of file MTDGeometry.cc.
References MTDDetId::BTL, MTDDetId::ETL, GeomDet::geographicalId(), triggerObjects_cff::id, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), theBTLDets, theDets, theETLDets, and theMap.
Referenced by MTDGeomBuilderFromGeometricTimingDet::buildGeomDet().
|
private |
Definition at line 156 of file MTDGeometry.cc.
References theDetIds.
Referenced by MTDGeomBuilderFromGeometricTimingDet::buildGeomDet().
|
private |
Definition at line 127 of file MTDGeometry.cc.
References GeomDet::geographicalId(), AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), theDetUnits, and theMapUnit.
Referenced by MTDGeomBuilderFromGeometricTimingDet::buildPixel().
|
private |
Definition at line 134 of file MTDGeometry.cc.
References theDetUnitIds.
Referenced by MTDGeomBuilderFromGeometricTimingDet::buildPixel().
|
private |
Definition at line 123 of file MTDGeometry.cc.
References theDetTypes.
Referenced by MTDGeomBuilderFromGeometricTimingDet::buildPixel().
|
inlineoverridevirtual |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
Implements TrackingGeometry.
Definition at line 31 of file MTDGeometry.h.
References geomDetSubDetector(), idToDet(), idToDetUnit(), isThere(), numberOfLayers(), and theDetIds.
|
inlineoverridevirtual |
Returm a vector of all GeomDet (including all GeomDetUnits)
Implements TrackingGeometry.
Definition at line 29 of file MTDGeometry.h.
References theDets.
const MTDGeometry::DetContainer & MTDGeometry::detsBTL | ( | ) | const |
const MTDGeometry::DetContainer & MTDGeometry::detsETL | ( | ) | const |
|
inlineoverridevirtual |
Return a vector of all det types.
Implements TrackingGeometry.
Definition at line 27 of file MTDGeometry.h.
References theDetTypes.
|
inlineoverridevirtual |
Returm a vector of all GeomDetUnit DetIds.
Implements TrackingGeometry.
Definition at line 30 of file MTDGeometry.h.
References theDetUnitIds.
Referenced by MTDGeomBuilderFromGeometricTimingDet::buildGeomDet().
|
inlineoverridevirtual |
Returm a vector of all GeomDet.
Implements TrackingGeometry.
Definition at line 28 of file MTDGeometry.h.
References theDetUnits.
Referenced by MTDGeomBuilderFromGeometricTimingDet::buildGeomDet(), MTDCPEBase::fillDetParams(), setEndsetDU(), and setOffsetDU().
|
inline |
void MTDGeometry::fillTestMap | ( | const GeometricTimingDet * | gd | ) |
Definition at line 219 of file MTDGeometry.cc.
References GeometricTimingDet::bounds(), DDName::fullname(), GeometricTimingDet::geographicalId(), moduleType(), dataset::name, GeometricTimingDet::name(), AlCaHLTBitMon_QueryRunRegistry::string, protons_cff::t, groupFilesInBlocks::temp, and theDetTypetList.
Referenced by MTDGeometry(), and setEndsetDU().
|
private |
Definition at line 112 of file MTDGeometry.cc.
References theBTLDets, theDetIds, theDets, theDetTypes, theDetUnitIds, theDetUnits, and theETLDets.
const GeomDetEnumerators::SubDetector MTDGeometry::geomDetSubDetector | ( | int | subdet | ) | const |
Definition at line 194 of file MTDGeometry.cc.
References Exception, and theSubDetTypeMap.
Referenced by detIds(), isThere(), and MTDGeometry().
float MTDGeometry::getDetectorThickness | ( | DetId | detid | ) | const |
Definition at line 247 of file MTDGeometry.cc.
References DetId::rawId(), and theDetTypetList.
Referenced by trackerDet().
MTDGeometry::ModuleType MTDGeometry::getDetectorType | ( | DetId | detid | ) | const |
Definition at line 238 of file MTDGeometry.cc.
References DetId::rawId(), theDetTypetList, and UNKNOWN.
Referenced by trackerDet().
|
overridevirtual |
Return the pointer to the GeomDet corresponding to a given DetId (valid also for GeomDetUnits)
Implements TrackingGeometry.
Definition at line 184 of file MTDGeometry.cc.
References AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), and theMap.
Referenced by EtlDigiHitsValidation::analyze(), EtlRecHitsValidation::analyze(), BtlRecHitsValidation::analyze(), BtlDigiHitsValidation::analyze(), EtlSimHitsValidation::analyze(), BtlSimHitsValidation::analyze(), ETLDetLayerGeometryBuilder::buildLayer(), BTLDetLayerGeometryBuilder::buildLayers(), detIds(), ETLDeviceSim::getHitsResponse(), BTLTileDeviceSim::getHitsResponse(), BTLBarDeviceSim::getHitsResponse(), MTDTimeCalib::getTimeCalib(), and MTDThresholdClusterizer::setup().
|
overridevirtual |
Return the pointer to the GeomDetUnit corresponding to a given DetId.
Implements TrackingGeometry.
Definition at line 174 of file MTDGeometry.cc.
References AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), and theMapUnit.
Referenced by detIds(), and MTDTrackingRecHitProducer::run().
bool MTDGeometry::isThere | ( | GeomDetEnumerators::SubDetector | subdet | ) | const |
Definition at line 212 of file MTDGeometry.cc.
References geomDetSubDetector(), and mps_fire::i.
Referenced by detIds().
MTDGeometry::ModuleType MTDGeometry::moduleType | ( | const std::string & | name | ) | const |
Definition at line 256 of file MTDGeometry.cc.
References BTL, ETL, and UNKNOWN.
Referenced by fillTestMap(), and setEndsetDU().
unsigned int MTDGeometry::numberOfLayers | ( | int | subdet | ) | const |
Definition at line 203 of file MTDGeometry.cc.
References Exception, and theNumberOfLayers.
Referenced by detIds(), and MTDGeometry().
|
inline |
|
inline |
Definition at line 43 of file MTDGeometry.h.
References detUnits(), fillTestMap(), moduleType(), dataset::name, AlCaHLTBitMon_QueryRunRegistry::string, and theEndsetDU.
Referenced by MTDGeomBuilderFromGeometricTimingDet::buildPixel().
|
inline |
Definition at line 42 of file MTDGeometry.h.
References detUnits(), and theOffsetDU.
Referenced by MTDGeomBuilderFromGeometricTimingDet::buildPixel().
|
inline |
Definition at line 48 of file MTDGeometry.h.
References detsBTL(), detsETL(), getDetectorThickness(), getDetectorType(), MTDGeometry(), and theTrackerDet.
|
friend |
Aligner has access to map.
Definition at line 73 of file MTDGeometry.h.
|
friend |
Definition at line 61 of file MTDGeometry.h.
|
private |
Definition at line 85 of file MTDGeometry.h.
Referenced by addDet(), detsBTL(), and finalize().
|
private |
Definition at line 81 of file MTDGeometry.h.
Referenced by addDetId(), detIds(), and finalize().
|
private |
Definition at line 79 of file MTDGeometry.h.
Referenced by addDet(), dets(), finalize(), and ~MTDGeometry().
|
private |
Definition at line 75 of file MTDGeometry.h.
Referenced by addType(), detTypes(), finalize(), and ~MTDGeometry().
|
private |
Definition at line 90 of file MTDGeometry.h.
Referenced by fillTestMap(), getDetectorThickness(), getDetectorType(), and MTDGeometry().
|
private |
Definition at line 80 of file MTDGeometry.h.
Referenced by addDetUnitId(), detUnitIds(), and finalize().
|
private |
Definition at line 76 of file MTDGeometry.h.
Referenced by addDetUnit(), detUnits(), and finalize().
|
private |
Definition at line 78 of file MTDGeometry.h.
Referenced by endsetDU(), and setEndsetDU().
|
private |
Definition at line 86 of file MTDGeometry.h.
Referenced by addDet(), detsETL(), and finalize().
|
private |
Definition at line 83 of file MTDGeometry.h.
|
private |
Definition at line 82 of file MTDGeometry.h.
Referenced by addDetUnit(), and idToDetUnit().
|
private |
Definition at line 89 of file MTDGeometry.h.
Referenced by MTDGeometry(), and numberOfLayers().
|
private |
Definition at line 77 of file MTDGeometry.h.
Referenced by offsetDU(), and setOffsetDU().
|
private |
Definition at line 88 of file MTDGeometry.h.
Referenced by geomDetSubDetector(), and MTDGeometry().
|
private |
Definition at line 70 of file MTDGeometry.h.
Referenced by trackerDet().