1 #ifndef Geometry_GEMGeometry_GEMStation_h 2 #define Geometry_GEMGeometry_GEMStation_h 29 std::vector<GEMDetId>
ids()
const;
38 std::vector<const GeomDet*>
components()
const;
53 const std::vector<const GEMRing*>&
rings()
const;
std::vector< const GeomDet * > components() const
Return the super chambers in the station.
bool operator==(const GEMStation &st) const
equal if the id is the same
int region() const
Get the region.
int station() const
Get the station.
void add(GEMRing *ring)
Add ring to the station which takes ownership.
std::vector< const GEMSuperChamber * > superChambers() const
Return the super chambers in the region.
const GEMRing * ring(int ring) const
Get a ring.
const GEMSuperChamber * superChamber(GEMDetId id) const
Return the chamber corresponding to the given id.
const std::string getName() const
Set the station name.
const GeomDet * component(DetId id) const
Return the sub-component (super chamber) with a given id in this station.
void setName(std::string name)
Set the station name.
std::vector< const GEMRing * > rings_
std::vector< GEMDetId > ids() const
Return the vector of GEMDetIds in this station.
GEMStation(int region, int station)
constructor
int nRings() const
Return numbers of rings for this station.
const std::vector< const GEMRing * > & rings() const
Return the rings in the station.