Go to the documentation of this file. 1 #ifndef Geometry_GEMGeometry_GEMRing_h
2 #define Geometry_GEMGeometry_GEMRing_h
27 std::vector<GEMDetId>
ids()
const;
36 std::vector<const GeomDet*>
components()
const;
48 const std::vector<const GEMSuperChamber*>&
superChambers()
const;
int region() const
Return the region number.
int station() const
Return the station number.
std::vector< GEMDetId > ids() const
Return the vector of GEMDetIds in this ring.
const GEMSuperChamber * superChamber(GEMDetId id) const
Return the chamber corresponding to the given id.
int ring() const
Return the ring number.
std::vector< GEMDetId > detIds_
bool operator==(const GEMRing &sch) const
equal if the id is the same
std::vector< const GeomDet * > components() const
Return the super chambers in the ring.
const std::vector< const GEMSuperChamber * > & superChambers() const
Return the chambers in the ring.
int nSuperChambers() const
Return numbers of chambers.
GEMRing(int region, int station, int ring)
constructor
std::vector< const GEMSuperChamber * > superChambers_
const GeomDet * component(DetId id) const
Return the sub-component (super chamber) with a given id in this ring.
void add(GEMSuperChamber *ch)
Add super chamber to the ring which takes ownership.