34 if (
id.chamberId() !=
detId_)
41 if (roll->id().roll() == isl)
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.
GEMChamber(GEMDetId id, const ReferenceCountingPointer< BoundPlane > &plane)
Constructor.
std::vector< const GeomDet * > components() const override
Return the rolls in the chamber.
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.
void add(const GEMEtaPartition *roll)
Add EtaPartition to the chamber which takes ownership.
const GeomDet * component(DetId id) const override
Return the sub-component (roll) with a given id in this chamber.