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()) {
std::vector< const GEMSuperChamber * > superChambers() const
Return the super chambers in the region.
int region() const
Return the region.
const GEMRing * ring(int ring) const
Get a ring.
std::vector< GEMDetId > ids() const
Return the vector of GEMDetIds in this ring.
std::vector< const GEMStation * > stations_
const std::vector< const GEMStation * > & stations() const
Return all stations.
std::vector< const GeomDet * > components() const
Return the super chambers in the region.
GEMRegion(int region)
constructor
const GEMSuperChamber * superChamber(GEMDetId id) const
Return the chamber corresponding to the given id.
const GeomDet * component(DetId id) const
Return the sub-component (super chamber) with a given id in this region.
const GEMStation * station(int st) const
Return a station.
void add(GEMStation *st)
Add station to the region which takes ownership.
bool operator==(const GEMRegion ®) const
equal if the id is the same
int nStations() const
Return numbers of stations.
const GEMSuperChamber * superChamber(GEMDetId id) const
Return the super chamber corresponding to the given id.