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