10 std::vector<GEMDetId>
result;
12 std::vector<GEMDetId> newIds(st->ids());
13 result.insert(result.end(), newIds.begin(), newIds.end());
23 std::vector<const GeomDet*>
result;
25 auto newSch(st->components());
26 result.insert(result.end(), newSch.begin(), newSch.end());
43 std::vector<const GEMSuperChamber*>
result;
45 std::vector<const GEMSuperChamber*> newSch(st->superChambers());
46 result.insert(result.end(), newSch.begin(), newSch.end());
53 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.