1 #ifndef RPCGeometry_RPCGeometry_h 2 #define RPCGeometry_RPCGeometry_h 52 const std::vector<const RPCChamber*>&
chambers()
const;
55 const std::vector<const RPCRoll*>&
rolls()
const;
~RPCGeometry() override
Destructor.
const DetTypeContainer & detTypes() const override
Return a vector of all det types.
DetTypeContainer theRollTypes
const DetIdContainer & detUnitIds() const override
Returm a vector of all GeomDetUnit DetIds.
std::vector< const RPCRoll * > allRolls
const GeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
const DetIdContainer & detIds() const override
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
const RPCRoll * roll(RPCDetId id) const
Return a roll given its id.
void add(RPCRoll *roll)
Add a RPC roll to the Geometry.
const std::vector< const RPCChamber * > & chambers() const
Return a vector of all RPC chambers.
std::vector< const GeomDet * > DetContainer
RPCGeometry()
Default constructor.
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
DetIdContainer theRollIds
std::unordered_map< unsigned int, const GeomDet * > mapIdToDet
const RPCChamber * chamber(RPCDetId id) const
std::vector< const RPCChamber * > allChambers
std::vector< DetId > DetIdContainer
const std::vector< const RPCRoll * > & rolls() const
Return a vector of all RPC rolls.
std::vector< const GeomDetType * > DetTypeContainer
const GeomDet * idToDet(DetId) const override