1 #ifndef GEMGeometry_GEMChamber_h 2 #define GEMGeometry_GEMChamber_h 40 std::vector<const GeomDet*>
components()
const override;
51 const std::vector<const GEMEtaPartition*>&
etaPartitions()
const;
bool operator==(const GEMChamber &ch) const
equal if the id is the same
std::vector< const GEMEtaPartition * > etaPartitions_
GEMDetId id() const
Return the GEMDetId of this chamber.
std::vector< const GeomDet * > components() const override
Return the rolls in the chamber.
GEMChamber(GEMDetId id, const ReferenceCountingPointer< BoundPlane > &plane)
Constructor.
SubDetector subDetector() const override
Which subdetector.
const GeomDet * component(DetId id) const override
Return the sub-component (roll) with a given id in this chamber.
void add(GEMEtaPartition *roll)
Add EtaPartition to the chamber which takes ownership.
const std::vector< const GEMEtaPartition * > & etaPartitions() const
Return the eta partitions.
~GEMChamber() override
Destructor.
const GEMEtaPartition * etaPartition(GEMDetId id) const
Return the eta partition corresponding to the given id.
int nEtaPartitions() const
Retunr numbers of eta partitions.