27 std::vector<const GeomDet*>
result;
29 auto newSch(sch->components());
30 result.insert(result.end(), newSch.begin(), newSch.end());
46 if (sch->id().chamber() == isch) {
int region() const
Return the region number.
int station() const
Return the station number.
int nSuperChambers() const
Return numbers of chambers.
GEMRing(int region, int station, int ring)
constructor
virtual std::vector< const GeomDet * > components() const
Return the super chambers in the ring.
void add(GEMSuperChamber *ch)
Add super chamber to the ring which takes ownership.
int ring() const
Return the ring number.
std::vector< const GEMSuperChamber * > superChambers_
std::vector< GEMDetId > detIds_
static const char ring_[]
std::vector< GEMDetId > ids() const
Return the vector of GEMDetIds in this ring.
virtual const GeomDet * component(DetId id) const
Return the sub-component (super chamber) with a given id in this ring.
const GEMSuperChamber * superChamber(GEMDetId id) const
Return the chamber corresponding to the given id.
bool operator==(const GEMRing &sch) const
equal if the id is the same
const std::vector< const GEMSuperChamber * > & superChambers() const
Return the chambers in the ring.