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