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