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