Go to the documentation of this file. 1 #ifndef GEMGeometry_GEMGeometry_h
2 #define GEMGeometry_GEMGeometry_h
59 const std::vector<const GEMRegion*>&
regions()
const;
62 const std::vector<const GEMStation*>&
stations()
const;
65 const std::vector<const GEMRing*>&
rings()
const;
68 const std::vector<const GEMSuperChamber*>&
superChambers()
const;
71 const std::vector<const GEMChamber*>&
chambers()
const;
74 const std::vector<const GEMEtaPartition*>&
etaPartitions()
const;
DetTypeContainer theEtaPartitionTypes
std::vector< const GEMEtaPartition * > allEtaPartitions
const GEMRegion * region(int region) const
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
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
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::unordered_map< unsigned int, const GeomDet * > mapIdToDet
std::vector< const GEMChamber * > allChambers
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.
Class to update a given geometry with a set of alignments.
const GEMEtaPartition * etaPartition(GEMDetId id) const
Return a GEMEtaPartition given its id.