24 return this->
id()==ch.
id();
48 if (
id.chamberId()!=
detId_)
return 0;
54 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.
virtual ~GEMChamber()
Destructor.
void add(GEMEtaPartition *roll)
Add EtaPartition to the chamber which takes ownership.
const std::vector< const GEMEtaPartition * > & etaPartitions() const
Return the eta partitions.
virtual const GeomDet * component(DetId id) const
Return the sub-component (roll) with a given id in this chamber.
virtual std::vector< const GeomDet * > components() const
Return the rolls in the chamber.
const GEMEtaPartition * etaPartition(GEMDetId id) const
Return the eta partition corresponding to the given id.
int nEtaPartitions() const
Retunr numbers of eta partitions.