Go to the documentation of this file. 1 #ifndef RPCGeometry_RPCChamber_h
2 #define RPCGeometry_RPCChamber_h
39 std::vector<const GeomDet*>
components()
const override;
50 const std::vector<const RPCRoll*>&
rolls()
const;
int nrolls() const
Retunr numbers of rolls.
const GeomDet * component(DetId id) const override
Return the sub-component (roll) with a given id in this chamber.
~RPCChamber() override
Destructor.
RPCDetId id() const
Return the RPCChamberId of this chamber.
SubDetector subDetector() const override
Which subdetector.
const std::vector< const RPCRoll * > & rolls() const
Return the Rolls.
std::vector< const GeomDet * > components() const override
Return the rolls in the chamber.
bool operator==(const RPCChamber &ch) const
equal if the id is the same
RPCChamber(RPCDetId id, const ReferenceCountingPointer< BoundPlane > &plane)
Constructor.
std::vector< const RPCRoll * > theRolls
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.