#include <TrackingGeometry.h>
Public Types | |
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 |
Public Member Functions | |
virtual const DetIdContainer & | detIds () const =0 |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits) | |
virtual const DetContainer & | dets () const =0 |
Returm a vector of all GeomDet (including all GeomDetUnits) | |
virtual const DetTypeContainer & | detTypes () const =0 |
Return a vector of all det types. | |
virtual const DetIdContainer & | detUnitIds () const =0 |
Returm a vector of all GeomDetUnit DetIds. | |
virtual const DetUnitContainer & | detUnits () const =0 |
Returm a vector of all GeomDetUnit. | |
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. | |
virtual | ~TrackingGeometry () |
Destructor. |
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 32 of file TrackingGeometry.h.
typedef std::vector<GeomDet*> TrackingGeometry::DetContainer |
Definition at line 36 of file TrackingGeometry.h.
typedef std::vector<DetId> TrackingGeometry::DetIdContainer |
Definition at line 38 of file TrackingGeometry.h.
typedef std::vector<GeomDetType*> TrackingGeometry::DetTypeContainer |
Definition at line 35 of file TrackingGeometry.h.
typedef std::vector<GeomDetUnit*> TrackingGeometry::DetUnitContainer |
Definition at line 37 of file TrackingGeometry.h.
typedef __gnu_cxx::hash_map< unsigned int, GeomDet*> TrackingGeometry::mapIdToDet |
Definition at line 42 of file TrackingGeometry.h.
typedef __gnu_cxx::hash_map< unsigned int, GeomDetUnit*> TrackingGeometry::mapIdToDetUnit |
Definition at line 41 of file TrackingGeometry.h.
virtual TrackingGeometry::~TrackingGeometry | ( | ) | [inline, virtual] |
virtual const DetIdContainer& TrackingGeometry::detIds | ( | ) | const [pure virtual] |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
Implemented in GlobalTrackingGeometry, CSCGeometry, DTGeometry, RPCGeometry, and TrackerGeometry.
virtual const DetContainer& TrackingGeometry::dets | ( | ) | const [pure virtual] |
Returm a vector of all GeomDet (including all GeomDetUnits)
Implemented in GlobalTrackingGeometry, CSCGeometry, DTGeometry, RPCGeometry, and TrackerGeometry.
Referenced by MuonDetIdAssociator::getValidDetIds().
virtual const DetTypeContainer& TrackingGeometry::detTypes | ( | ) | const [pure virtual] |
Return a vector of all det types.
Implemented in GlobalTrackingGeometry, CSCGeometry, DTGeometry, RPCGeometry, and TrackerGeometry.
virtual const DetIdContainer& TrackingGeometry::detUnitIds | ( | ) | const [pure virtual] |
Returm a vector of all GeomDetUnit DetIds.
Implemented in GlobalTrackingGeometry, CSCGeometry, DTGeometry, RPCGeometry, and TrackerGeometry.
virtual const DetUnitContainer& TrackingGeometry::detUnits | ( | ) | const [pure virtual] |
Returm a vector of all GeomDetUnit.
Implemented in GlobalTrackingGeometry, CSCGeometry, DTGeometry, RPCGeometry, and TrackerGeometry.
Return the pointer to the GeomDet corresponding to a given DetId (valid also for GeomDetUnits)
Implemented in GlobalTrackingGeometry, CSCGeometry, DTGeometry, RPCGeometry, and TrackerGeometry.
Referenced by TrackingRecHitLessFromGlobalPosition::barrelForwardLess(), SortHitPointersByGlobalPosition::barrelForwardLess(), SortHitsByGlobalPosition::barrelForwardLess(), TkTransientTrackingRecHitBuilder::build(), InOutConversionSeedFinder::fillClusterSeeds(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), BaseCkfTrajectoryBuilder::findStateAndLayers(), GlobalTrackingGeometry::idToDet(), MultiTrajectoryStateTransform::innerStateOnSurface(), TrajectoryStateTransform::innerStateOnSurface(), TrackingRecHitLessFromGlobalPosition::insideOutLess(), SortHitPointersByGlobalPosition::insideOutLess(), SortHitsByGlobalPosition::insideOutLess(), MuonRoadTrajectoryBuilder::makeTrajectories_0(), TkTransientTrackingRecHitBuilder::oldbuild(), TrackingRecHitLess::operator()(), TrajectoryStateTransform::outerStateOnSurface(), MultiTrajectoryStateTransform::outerStateOnSurface(), recHitDet(), BaseCkfTrajectoryBuilder::seedMeasurements(), and OutInConversionTrackFinder::tracks().
virtual const GeomDetUnit* TrackingGeometry::idToDetUnit | ( | DetId | ) | const [pure virtual] |
Return the pointer to the GeomDetUnit corresponding to a given DetId.
Implemented in GlobalTrackingGeometry, CSCGeometry, DTGeometry, RPCGeometry, and TrackerGeometry.
Referenced by GlobalTrackingGeometry::idToDetUnit().