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