Go to the documentation of this file.
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 GEMRing * > rings_
void setName(std::string name)
Set the station name.
bool operator==(const GEMStation &st) const
equal if the id is the same
GEMStation(int region, int station)
constructor
int nRings() const
Return numbers of rings for this station.
std::vector< const GEMSuperChamber * > superChambers() const
Return the super chambers in the region.
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.
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.
std::vector< const GeomDet * > components() const
Return the super chambers in the station.
void add(GEMRing *ring)
Add ring to the station which takes ownership.
const std::string getName() const
Set the station name.
int region() const
Get the region.
const GEMRing * ring(int ring) const
Get a ring.
std::vector< GEMDetId > ids() const
Return the vector of GEMDetIds in this station.