#include <TrackingGeometry.h>
Public Types | |
typedef std::vector< GeomDet const * > | DetContainer |
typedef std::vector< DetId > | DetIdContainer |
typedef std::vector < GeomDetType const * > | DetTypeContainer |
typedef std::vector < GeomDetUnit const * > | DetUnitContainer |
typedef std::unordered_map < unsigned int, GeomDet const * > | mapIdToDet |
typedef std::unordered_map < unsigned int, GeomDetUnit const * > | mapIdToDetUnit |
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 DetUnitContainer & | detUnits () const =0 |
Returm a vector of all GeomDetUnit. More... | |
virtual const GeomDet * | idToDet (DetId) const =0 |
virtual const GeomDetUnit * | 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.
typedef std::vector<GeomDet const*> TrackingGeometry::DetContainer |
Definition at line 30 of file TrackingGeometry.h.
typedef std::vector<DetId> TrackingGeometry::DetIdContainer |
Definition at line 32 of file TrackingGeometry.h.
typedef std::vector<GeomDetType const*> TrackingGeometry::DetTypeContainer |
Definition at line 29 of file TrackingGeometry.h.
typedef std::vector<GeomDetUnit const*> TrackingGeometry::DetUnitContainer |
Definition at line 31 of file TrackingGeometry.h.
typedef std::unordered_map< unsigned int, GeomDet const*> TrackingGeometry::mapIdToDet |
Definition at line 34 of file TrackingGeometry.h.
typedef std::unordered_map< unsigned int, GeomDetUnit const*> TrackingGeometry::mapIdToDetUnit |
Definition at line 33 of file TrackingGeometry.h.
|
inlinevirtual |
|
pure virtual |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
Implemented in CSCGeometry, TrackerGeometry, DTGeometry, GEMGeometry, RPCGeometry, GlobalTrackingGeometry, and ME0Geometry.
|
pure virtual |
Returm a vector of all GeomDet (including all GeomDetUnits)
Implemented in CSCGeometry, TrackerGeometry, DTGeometry, GEMGeometry, RPCGeometry, GlobalTrackingGeometry, and ME0Geometry.
Referenced by MuonDetIdAssociator::getValidDetIds().
|
pure virtual |
Return a vector of all det types.
Implemented in CSCGeometry, TrackerGeometry, DTGeometry, GEMGeometry, RPCGeometry, GlobalTrackingGeometry, and ME0Geometry.
|
pure virtual |
Returm a vector of all GeomDetUnit DetIds.
Implemented in CSCGeometry, TrackerGeometry, DTGeometry, GEMGeometry, RPCGeometry, GlobalTrackingGeometry, and ME0Geometry.
|
pure virtual |
Returm a vector of all GeomDetUnit.
Implemented in CSCGeometry, TrackerGeometry, DTGeometry, GEMGeometry, RPCGeometry, GlobalTrackingGeometry, and ME0Geometry.
Return the pointer to the GeomDet corresponding to a given DetId (valid also for GeomDetUnits)
Implemented in CSCGeometry, DTGeometry, TrackerGeometry, GEMGeometry, RPCGeometry, GlobalTrackingGeometry, and ME0Geometry.
Referenced by TrackingRecHitLessFromGlobalPosition::barrelForwardLess(), InOutConversionSeedFinder::fillClusterSeeds(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), BaseCkfTrajectoryBuilder::findStateAndLayers(), GlobalTrackingGeometry::idToDet(), trajectoryStateTransform::innerStateOnSurface(), MultiTrajectoryStateTransform::innerStateOnSurface(), TrackingRecHitLessFromGlobalPosition::insideOutLess(), trajectoryStateTransform::outerStateOnSurface(), MultiTrajectoryStateTransform::outerStateOnSurface(), recHitDet(), BaseCkfTrajectoryBuilder::seedMeasurements(), and OutInConversionTrackFinder::tracks().
|
pure virtual |
Return the pointer to the GeomDetUnit corresponding to a given DetId.
Implemented in CSCGeometry, DTGeometry, TrackerGeometry, GEMGeometry, RPCGeometry, GlobalTrackingGeometry, and ME0Geometry.
Referenced by GlobalTrackingGeometry::idToDetUnit().