#include <TrackingGeometry.h>
Public Types | |
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 | |
virtual const DetIdContainer & | detIds () const =0 |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits) More... | |
virtual const DetContainer & | dets () const =0 |
Returm a vector of all GeomDet (including all GeomDetUnits) More... | |
virtual const DetTypeContainer & | detTypes () const =0 |
Return a vector of all det types. More... | |
virtual const DetIdContainer & | detUnitIds () const =0 |
Returm a vector of all GeomDetUnit DetIds. More... | |
virtual const DetContainer & | detUnits () const =0 |
Returm a vector of all GeomDet. More... | |
virtual const GeomDet * | idToDet (DetId) const =0 |
virtual const GeomDet * | idToDetUnit (DetId) const =0 |
Return the pointer to the GeomDetUnit corresponding to a given DetId. More... | |
virtual | ~TrackingGeometry () |
Destructor. More... | |
Base class for the geometry of tracking detectors. A geometry contains both the GeomDetUnit s and bigger composite structures, which are concrete GeomDet s.
There are therefore 2 kind of methods in the interface:
Definition at line 26 of file TrackingGeometry.h.
using TrackingGeometry::DetContainer = std::vector<const GeomDet*> |
Definition at line 29 of file TrackingGeometry.h.
using TrackingGeometry::DetIdContainer = std::vector<DetId> |
Definition at line 30 of file TrackingGeometry.h.
using TrackingGeometry::DetTypeContainer = std::vector<const GeomDetType*> |
Definition at line 28 of file TrackingGeometry.h.
using TrackingGeometry::mapIdToDet = std::unordered_map<unsigned int, const GeomDet*> |
Definition at line 32 of file TrackingGeometry.h.
using TrackingGeometry::mapIdToDetUnit = std::unordered_map<unsigned int, const GeomDet*> |
Definition at line 31 of file TrackingGeometry.h.
|
inlinevirtual |
|
pure virtual |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
Implemented in TrackerGeometry, CSCGeometry, DTGeometry, GEMGeometry, RPCGeometry, GlobalTrackingGeometry, ME0Geometry, and MTDGeometry.
|
pure virtual |
Returm a vector of all GeomDet (including all GeomDetUnits)
Implemented in TrackerGeometry, CSCGeometry, DTGeometry, GEMGeometry, RPCGeometry, GlobalTrackingGeometry, MTDGeometry, and ME0Geometry.
Referenced by FWTGeoRecoGeometryESProducer::addCSCGeometry(), FWTGeoRecoGeometryESProducer::addDTGeometry(), and MuonDetIdAssociator::getValidDetIds().
|
pure virtual |
Return a vector of all det types.
Implemented in TrackerGeometry, CSCGeometry, DTGeometry, GEMGeometry, RPCGeometry, GlobalTrackingGeometry, MTDGeometry, and ME0Geometry.
|
pure virtual |
Returm a vector of all GeomDetUnit DetIds.
Implemented in TrackerGeometry, CSCGeometry, DTGeometry, GEMGeometry, RPCGeometry, GlobalTrackingGeometry, ME0Geometry, and MTDGeometry.
|
pure virtual |
Returm a vector of all GeomDet.
Implemented in TrackerGeometry, CSCGeometry, DTGeometry, GEMGeometry, RPCGeometry, GlobalTrackingGeometry, MTDGeometry, and ME0Geometry.
Return the pointer to the GeomDet corresponding to a given DetId (valid also for GeomDetUnits)
Implemented in TrackerGeometry, CSCGeometry, DTGeometry, GEMGeometry, RPCGeometry, GlobalTrackingGeometry, ME0Geometry, and MTDGeometry.
Referenced by InOutConversionSeedFinder::fillClusterSeeds(), GlobalTrackingGeometry::idToDet(), and GEMSimHitMatcher::simHitsGEMCentralPosition().
Return the pointer to the GeomDetUnit corresponding to a given DetId.
Implemented in TrackerGeometry, CSCGeometry, DTGeometry, GEMGeometry, RPCGeometry, GlobalTrackingGeometry, ME0Geometry, and MTDGeometry.
Referenced by GlobalTrackingGeometry::idToDetUnit().