1 #ifndef GEMGeometry_GEMGeometry_h 2 #define GEMGeometry_GEMGeometry_h 58 const std::vector<const GEMRegion*>&
regions()
const;
61 const std::vector<const GEMStation*>&
stations()
const;
64 const std::vector<const GEMRing*>&
rings()
const;
67 const std::vector<const GEMSuperChamber*>&
superChambers()
const;
70 const std::vector<const GEMChamber*>&
chambers()
const;
73 const std::vector<const GEMEtaPartition*>&
etaPartitions()
const;
virtual const DetIdContainer & detIds() const override
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
std::vector< GeomDetType const * > DetTypeContainer
std::vector< const GEMRegion * > allRegions
std::vector< const GEMEtaPartition * > allEtaPartitions
DetIdContainer theEtaPartitionIds
std::vector< const GEMSuperChamber * > allSuperChambers
virtual const DetUnitContainer & detUnits() const override
Returm a vector of all GeomDetUnit.
const GEMRing * ring(int region, int station, int ring) const
Return a GEMRing.
const GEMRegion * region(int region) const
GEMGeometry()
Default constructor.
virtual const DetTypeContainer & detTypes() const override
Return a vector of all det types.
const GEMEtaPartition * etaPartition(GEMDetId id) const
Return a GEMEtaPartition given its id.
std::vector< const GEMRing * > allRings
virtual ~GEMGeometry()
Destructor.
virtual const GeomDetUnit * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
std::vector< const GEMStation * > allStations
virtual const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
const std::vector< const GEMRegion * > & regions() const
Return a vector of all GEM regions.
const std::vector< const GEMEtaPartition * > & etaPartitions() const
Return a vector of all GEM eta partitions.
const GEMSuperChamber * superChamber(GEMDetId id) const
const GEMStation * station(int region, int station) const
std::unordered_map< unsigned int, GeomDet const * > mapIdToDet
const std::vector< const GEMSuperChamber * > & superChambers() const
Return a vector of all GEM super chambers.
void add(GEMRegion *region)
Add a GEMRegion to the Geometry.
const std::vector< const GEMRing * > & rings() const
Return a vector of all GEM rings.
virtual const DetIdContainer & detUnitIds() const override
Returm a vector of all GeomDetUnit DetIds.
virtual const GeomDet * idToDet(DetId) const override
DetUnitContainer theEtaPartitions
const GEMChamber * chamber(GEMDetId id) const
const std::vector< const GEMChamber * > & chambers() const
Return a vector of all GEM chambers.
const std::vector< const GEMStation * > & stations() const
Return a vector of all GEM stations.
DetTypeContainer theEtaPartitionTypes
std::vector< const GEMChamber * > allChambers
std::vector< GeomDet const * > DetContainer
std::vector< GeomDetUnit const * > DetUnitContainer
std::vector< DetId > DetIdContainer