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