1 #ifndef Geometry_GEMGeometry_GEMSuperChamber_h 2 #define Geometry_GEMGeometry_GEMSuperChamber_h 32 const std::vector<GEMDetId>&
ids()
const;
44 std::vector<const GeomDet*>
components()
const override;
55 const std::vector<const GEMChamber*>&
chambers()
const;
std::vector< const GeomDet * > components() const override
Return the chambers in the super chamber.
const GEMChamber * chamber(GEMDetId id) const
Return the chamber corresponding to the given id.
bool operator==(const GEMSuperChamber &sch) const
equal if the id is the same
const GeomDet * component(DetId id) const override
Return the sub-component (chamber) with a given id in this super chamber.
~GEMSuperChamber() override
destructor
SubDetector subDetector() const override
Which subdetector.
void add(const GEMChamber *ch)
Add chamber to the super chamber which takes ownership.
const std::vector< GEMDetId > & ids() const
Return the vector of GEMDetIds in this super chamber.
int nChambers() const
Return numbers of chambers.
GEMDetId id() const
Return the GEMDetId of this super chamber.
const std::vector< const GEMChamber * > & chambers() const
Return the chambers in the super chamber.
GEMSuperChamber(GEMDetId id, const ReferenceCountingPointer< BoundPlane > &plane)
constructor
std::vector< const GEMChamber * > chambers_