1 #ifndef TrackingGeometry_h
2 #define TrackingGeometry_h
24 #include <ext/hash_map>
40 typedef __gnu_cxx::hash_map< unsigned int, GeomDet*>
mapIdToDet;
std::vector< GeomDet * > DetContainer
virtual const DetIdContainer & detUnitIds() const =0
Returm a vector of all GeomDetUnit DetIds.
virtual ~TrackingGeometry()
Destructor.
virtual const DetTypeContainer & detTypes() const =0
Return a vector of all det types.
virtual const GeomDetUnit * idToDetUnit(DetId) const =0
Return the pointer to the GeomDetUnit corresponding to a given DetId.
std::vector< GeomDetUnit * > DetUnitContainer
std::vector< GeomDetType * > DetTypeContainer
virtual const DetContainer & dets() const =0
Returm a vector of all GeomDet (including all GeomDetUnits)
virtual const GeomDet * idToDet(DetId) const =0
virtual const DetUnitContainer & detUnits() const =0
Returm a vector of all GeomDetUnit.
__gnu_cxx::hash_map< unsigned int, GeomDetUnit * > mapIdToDetUnit
__gnu_cxx::hash_map< unsigned int, GeomDet * > mapIdToDet
virtual const DetIdContainer & detIds() const =0
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
std::vector< DetId > DetIdContainer