13 std::vector<GEMDetId>
result;
15 std::vector<GEMDetId> newIds(st->ids());
16 result.insert(result.end(), newIds.begin(), newIds.end());
30 std::vector<const GeomDet*>
result;
32 auto newSch(st->components());
33 result.insert(result.end(), newSch.begin(), newSch.end());
49 std::vector<const GEMSuperChamber*>
result;
51 std::vector<const GEMSuperChamber*> newSch(st->superChambers());
52 result.insert(result.end(), newSch.begin(), newSch.end());
59 if (st ==
stat->station()) {
const GEMSuperChamber * superChamber(GEMDetId id) const
Return the super chamber corresponding to the given id.
std::vector< const GeomDet * > components() const
Return the super chambers in the region.
const GEMStation * station(int st) const
Return a station.
std::vector< const GEMSuperChamber * > superChambers() const
Return the super chambers in the region.
int region() const
Return the region.
const std::vector< const GEMStation * > & stations() const
Return all stations.
const GEMRing * ring(int ring) const
Get a ring.
std::vector< const GEMStation * > stations_
const GEMSuperChamber * superChamber(GEMDetId id) const
Return the chamber corresponding to the given id.
GEMRegion(int region)
constructor
bool operator==(const GEMRegion ®) const
equal if the id is the same
int nStations() const
Return numbers of stations.
const GeomDet * component(DetId id) const
Return the sub-component (super chamber) with a given id in this region.
void add(GEMStation *st)
Add station to the region which takes ownership.
std::vector< GEMDetId > ids() const
Return the vector of GEMDetIds in this ring.