#include <GlobalTrackingGeometry.h>
Public Member Functions | |
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... | |
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... | |
GlobalTrackingGeometry (std::vector< const TrackingGeometry * > &geos) | |
Constructor. More... | |
virtual const GeomDet * | idToDet (DetId) const |
virtual const GeomDetUnit * | idToDetUnit (DetId) const |
Return the pointer to the GeomDetUnit corresponding to a given DetId. More... | |
const TrackingGeometry * | slaveGeometry (DetId id) const |
Return the pointer to the actual geometry for a given DetId. More... | |
virtual | ~GlobalTrackingGeometry () |
Destructor. More... | |
Public Member Functions inherited from TrackingGeometry | |
virtual | ~TrackingGeometry () |
Destructor. More... | |
Private Attributes | |
DetIdContainer | theDetIds |
DetContainer | theDets |
DetTypeContainer | theDetTypes |
DetIdContainer | theDetUnitIds |
DetUnitContainer | theDetUnits |
std::vector< const TrackingGeometry * > | theGeometries |
Additional Inherited Members | |
Public Types inherited from TrackingGeometry | |
typedef std::vector< GeomDet * > | DetContainer |
typedef std::vector< DetId > | DetIdContainer |
typedef std::vector < GeomDetType * > | DetTypeContainer |
typedef std::vector < GeomDetUnit * > | DetUnitContainer |
typedef __gnu_cxx::hash_map < unsigned int, GeomDet * > | mapIdToDet |
typedef __gnu_cxx::hash_map < unsigned int, GeomDetUnit * > | mapIdToDetUnit |
Single entry point to the tracker and muon geometries. The main purpose is to provide the methods idToDetUnit(DetId) and idToDet(DetId) that allow to get an element of the geometry given its DetId, regardless of wich subdetector it belongs.
The slave geometries (TrackerGeometry, DTGeometry, CSCGeometry, RPCGeometry) are accessible with the method slaveGeometry(DetId).
ESProducer for GlobalTrackingGeometry in MuonGeometryRecord
Definition at line 21 of file GlobalTrackingGeometry.h.
GlobalTrackingGeometry::GlobalTrackingGeometry | ( | std::vector< const TrackingGeometry * > & | geos | ) |
Constructor.
Definition at line 11 of file GlobalTrackingGeometry.cc.
|
virtual |
|
virtual |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
Implements TrackingGeometry.
Definition at line 119 of file GlobalTrackingGeometry.cc.
References relativeConstraints::geom, theDetIds, and theGeometries.
|
virtual |
Returm a vector of all GeomDet (including all GeomDetUnits)
Implements TrackingGeometry.
Definition at line 87 of file GlobalTrackingGeometry.cc.
References relativeConstraints::geom, theDets, and theGeometries.
|
virtual |
Return a vector of all det types.
Implements TrackingGeometry.
Definition at line 55 of file GlobalTrackingGeometry.cc.
References relativeConstraints::geom, theDetTypes, and theGeometries.
|
virtual |
Returm a vector of all GeomDetUnit DetIds.
Implements TrackingGeometry.
Definition at line 103 of file GlobalTrackingGeometry.cc.
References relativeConstraints::geom, theDetUnitIds, and theGeometries.
|
virtual |
Returm a vector of all GeomDetUnit.
Implements TrackingGeometry.
Definition at line 71 of file GlobalTrackingGeometry.cc.
References relativeConstraints::geom, theDetUnits, and theGeometries.
Return the pointer to the GeomDet corresponding to a given DetId (valid also for GeomDetUnits)
Implements TrackingGeometry.
Definition at line 30 of file GlobalTrackingGeometry.cc.
References TrackingGeometry::idToDet(), and slaveGeometry().
Referenced by CSCTimingExtractor::fillTiming(), DTTimingExtractor::fillTiming(), MuonDetIdAssociator::getDetIdPoints(), MuonDetIdAssociator::getGeomDet(), and MuonDetIdAssociator::insideElement().
|
virtual |
Return the pointer to the GeomDetUnit corresponding to a given DetId.
Implements TrackingGeometry.
Definition at line 18 of file GlobalTrackingGeometry.cc.
References TrackingGeometry::idToDetUnit(), and slaveGeometry().
const TrackingGeometry * GlobalTrackingGeometry::slaveGeometry | ( | DetId | id | ) | const |
Return the pointer to the actual geometry for a given DetId.
Definition at line 41 of file GlobalTrackingGeometry.cc.
References edm::hlt::Exception, customizeTrackingMonitorSeedNumber::idx, DetId::Muon, and theGeometries.
Referenced by MuonDetIdAssociator::getValidDetIds(), idToDet(), and idToDetUnit().
|
mutableprivate |
Definition at line 66 of file GlobalTrackingGeometry.h.
Referenced by detIds().
|
mutableprivate |
Definition at line 64 of file GlobalTrackingGeometry.h.
Referenced by dets().
|
mutableprivate |
Definition at line 62 of file GlobalTrackingGeometry.h.
Referenced by detTypes().
|
mutableprivate |
Definition at line 65 of file GlobalTrackingGeometry.h.
Referenced by detUnitIds().
|
mutableprivate |
Definition at line 63 of file GlobalTrackingGeometry.h.
Referenced by detUnits().
|
private |
Definition at line 57 of file GlobalTrackingGeometry.h.
Referenced by detIds(), dets(), detTypes(), detUnitIds(), detUnits(), and slaveGeometry().