42 return this->
id()==ch.
id();
54 std::vector<const GeomDet*>
67 const std::vector<const RPCRoll*>&
82 if (
id.chamberId()!=
theId)
return nullptr;
91 if (theRoll->id().roll()==isl)
void add(RPCRoll *rl)
Add Roll to the chamber which takes ownership.
const RPCRoll * roll(RPCDetId id) const
Return the Roll corresponding to the given id.
RPCDetId id() const
Return the RPCChamberId of this chamber.
const std::vector< const RPCRoll * > & rolls() const
Return the Rolls.
~RPCChamber() override
Destructor.
const GeomDet * component(DetId id) const override
Return the sub-component (roll) with a given id in this chamber.
std::vector< const RPCRoll * > theRolls
std::vector< const GeomDet * > components() const override
Return the rolls in the chamber.
int nrolls() const
Retunr numbers of rolls.
RPCChamber(RPCDetId id, const ReferenceCountingPointer< BoundPlane > &plane)
Constructor.
bool operator==(const RPCChamber &ch) const
equal if the id is the same