1 #ifndef Geometry_GEMGeometry_ME0Geometry_h 2 #define Geometry_GEMGeometry_ME0Geometry_h 56 const std::vector<ME0EtaPartition const*>&
etaPartitions()
const;
59 const std::vector<const ME0Layer*>&
layers()
const;
62 const std::vector<const ME0Chamber*>&
chambers()
const;
const GeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
std::vector< ME0Layer const * > allLayers
DetContainer theEtaPartitions
DetTypeContainer theEtaPartitionTypes
const ME0Layer * layer(ME0DetId id) const
Return a layer given its id.
~ME0Geometry() override
Destructor.
std::vector< ME0EtaPartition const * > allEtaPartitions
const ME0EtaPartition * etaPartition(ME0DetId id) const
Return a etaPartition given its id.
const DetIdContainer & detUnitIds() const override
Returm a vector of all GeomDetUnit DetIds.
const DetIdContainer & detIds() const override
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
const ME0Chamber * chamber(ME0DetId id) const
Return a chamber given its id.
const std::vector< const ME0Chamber * > & chambers() const
Return a vector of all ME0 chambers.
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
const DetTypeContainer & detTypes() const override
Return a vector of all det types.
const std::vector< ME0EtaPartition const * > & etaPartitions() const
Return a vector of all ME0 eta partitions.
DetIdContainer theEtaPartitionIds
std::vector< ME0Chamber const * > allChambers
const GeomDet * idToDet(DetId) const override
const std::vector< const ME0Layer * > & layers() const
Return a vector of all ME0 layers.
std::vector< DetId > DetIdContainer
void add(ME0EtaPartition *etaPartition)
Add a ME0 etaPartition to the Geometry.
std::vector< const GeomDet * > DetContainer
std::unordered_map< unsigned int, const GeomDet * > mapIdToDet
std::vector< const GeomDetType * > DetTypeContainer
ME0Geometry()
Default constructor.