25 return this->
id()==ch.
id();
49 if (
id.chamberId()!=
detId_)
return 0;
55 if (roll->id().roll()==isl)
const std::vector< const ME0EtaPartition * > & etaPartitions() const
Return the eta partitions.
int nEtaPartitions() const
Retunr numbers of eta partitions.
virtual std::vector< const GeomDet * > components() const
Return the rolls in the chamber.
std::vector< const ME0EtaPartition * > etaPartitions_
virtual ~ME0Chamber()
Destructor.
void add(ME0EtaPartition *roll)
Add EtaPartition to the chamber which takes ownership.
ME0DetId id() const
Return the ME0DetId of this chamber.
ME0Chamber(ME0DetId id, const ReferenceCountingPointer< BoundPlane > &plane)
Constructor.
const ME0EtaPartition * etaPartition(ME0DetId id) const
Return the eta partition corresponding to the given id.
bool operator==(const ME0Chamber &ch) const
equal if the id is the same
virtual const GeomDet * component(DetId id) const
Return the sub-component (roll) with a given id in this chamber.