12 std::vector<GEMDetId>
result;
14 std::vector<GEMDetId> newIds(ri->ids());
15 result.insert(
result.end(), newIds.begin(), newIds.end());
25 std::vector<const GeomDet*>
result;
27 auto newSch(ri->components());
28 result.insert(
result.end(), newSch.begin(), newSch.end());
45 std::vector<const GEMSuperChamber*>
result;
47 std::vector<const GEMSuperChamber*> newSch(ri->superChambers());
48 result.insert(
result.end(), newSch.begin(), newSch.end());
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.
const GEMSuperChamber * superChamber(GEMDetId id) const
Return the chamber corresponding to the given id.
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.
int ring() const
Return the ring number.
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.