27 return (
i !=
theMap.end()) ?
i->second :
nullptr;
~GEMGeometry() override
Destructor.
const GEMEtaPartition * etaPartition(GEMDetId id) const
Return a GEMEtaPartition given its id.
std::vector< const GEMRegion * > allRegions
std::vector< const GEMEtaPartition * > allEtaPartitions
const GeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
const std::vector< const GEMRing * > & rings() const
Return a vector of all GEM rings.
int region() const
Return the region number.
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
DetContainer theEtaPartitions
DetIdContainer theEtaPartitionIds
const GeomDet * idToDet(DetId) const override
std::vector< const GEMSuperChamber * > allSuperChambers
const DetTypeContainer & detTypes() const override
Return a vector of all det types.
const std::vector< const GEMStation * > & stations() const
Return a vector of all GEM stations.
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
int region() const
Get the region.
const DetIdContainer & detUnitIds() const override
Returm a vector of all GeomDetUnit DetIds.
GEMGeometry()
Default constructor.
const GEMRing * ring(int region, int station, int ring) const
Return a GEMRing.
int region() const
Return the region.
std::vector< const GEMRing * > allRings
int station() const
Return the station number.
std::vector< const GeomDet * > DetContainer
const std::vector< const GEMChamber * > & chambers() const
Return a vector of all GEM chambers.
std::vector< const GEMStation * > allStations
const GEMStation * station(int region, int station) const
DetId geographicalId() const
The label of this GeomDet.
const DetIdContainer & detIds() const override
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
std::vector< DetId > DetIdContainer
int ring() const
Return the ring number.
const std::vector< const GEMRegion * > & regions() const
Return a vector of all GEM regions.
std::vector< const GeomDetType * > DetTypeContainer
DetTypeContainer theEtaPartitionTypes
const GEMRegion * region(int region) const
std::vector< const GEMChamber * > allChambers
const GEMSuperChamber * superChamber(GEMDetId id) const
const std::vector< const GEMSuperChamber * > & superChambers() const
Return a vector of all GEM super chambers.
const GEMChamber * chamber(GEMDetId id) const
int station() const
Get the station.
void add(const GEMRegion *region)
Add a GEMRegion to the Geometry.
const std::vector< const GEMEtaPartition * > & etaPartitions() const
Return a vector of all GEM eta partitions.