44 return this->
id()==ch.
id();
56 std::vector<const GeomDet*>
69 const std::vector<const RPCRoll*>&
84 if (
id.chamberId()!=
theId)
return 0;
92 for (std::vector<const RPCRoll*>::const_iterator
i =
theRolls.begin();
94 if ((*i)->id().roll()==isl)
void add(RPCRoll *rl)
Add Roll to the chamber which takes ownership.
virtual std::vector< const GeomDet * > components() const
Return the rolls in the chamber.
const RPCRoll * roll(RPCDetId id) const
Return the Roll corresponding to the given id.
virtual const GeomDet * component(DetId id) const
Return the sub-component (roll) with a given id in this chamber.
RPCDetId id() const
Return the RPCChamberId of this chamber.
const std::vector< const RPCRoll * > & rolls() const
Return the Rolls.
virtual ~RPCChamber()
Destructor.
std::vector< const RPCRoll * > theRolls
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