#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 | |
std::atomic< DetIdContainer * > | theDetIds |
std::atomic< DetContainer * > | theDets |
std::atomic< DetTypeContainer * > | theDetTypes |
std::atomic< DetIdContainer * > | theDetUnitIds |
std::atomic< DetUnitContainer * > | theDetUnits |
std::vector< const TrackingGeometry * > | theGeometries |
Additional Inherited Members | |
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 |
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 20 of file GlobalTrackingGeometry.h.
GlobalTrackingGeometry::GlobalTrackingGeometry | ( | std::vector< const TrackingGeometry * > & | geos | ) |
Constructor.
Definition at line 10 of file GlobalTrackingGeometry.cc.
|
virtual |
Destructor.
Definition at line 15 of file GlobalTrackingGeometry.cc.
References theDetIds, theDets, theDetTypes, theDetUnitIds, and theDetUnits.
|
virtual |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
Implements TrackingGeometry.
Definition at line 150 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 108 of file GlobalTrackingGeometry.cc.
References relativeConstraints::geom, theDets, and theGeometries.
|
virtual |
Return a vector of all det types.
Implements TrackingGeometry.
Definition at line 66 of file GlobalTrackingGeometry.cc.
References relativeConstraints::geom, theDetTypes, and theGeometries.
|
virtual |
Returm a vector of all GeomDetUnit DetIds.
Implements TrackingGeometry.
Definition at line 129 of file GlobalTrackingGeometry.cc.
References relativeConstraints::geom, theDetUnitIds, and theGeometries.
|
virtual |
Returm a vector of all GeomDetUnit.
Implements TrackingGeometry.
Definition at line 87 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 41 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 29 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 52 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 65 of file GlobalTrackingGeometry.h.
Referenced by detIds(), and ~GlobalTrackingGeometry().
|
mutableprivate |
Definition at line 63 of file GlobalTrackingGeometry.h.
Referenced by dets(), and ~GlobalTrackingGeometry().
|
mutableprivate |
Definition at line 61 of file GlobalTrackingGeometry.h.
Referenced by detTypes(), and ~GlobalTrackingGeometry().
|
mutableprivate |
Definition at line 64 of file GlobalTrackingGeometry.h.
Referenced by detUnitIds(), and ~GlobalTrackingGeometry().
|
mutableprivate |
Definition at line 62 of file GlobalTrackingGeometry.h.
Referenced by detUnits(), and ~GlobalTrackingGeometry().
|
private |
Definition at line 56 of file GlobalTrackingGeometry.h.
Referenced by detIds(), dets(), detTypes(), detUnitIds(), detUnits(), and slaveGeometry().