54 mapIdToDet::const_iterator
i =
theMap.find(
id);
58 LogDebug(
"RPCGeometry")<<
"Invalid DetID: no GeomDet associated "<<
RPCDetId(
id);
89 theMap.insert(std::pair<DetId,GeomDetUnit*>
98 theMap.insert(std::pair<DetId,GeomDet*>
const GeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
~RPCGeometry() override
Destructor.
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
DetTypeContainer theRollTypes
const std::vector< const RPCRoll * > & rolls() const
Return a vector of all RPC rolls.
std::vector< const RPCRoll * > allRolls
const DetIdContainer & detUnitIds() const override
Returm a vector of all GeomDetUnit DetIds.
const DetIdContainer & detIds() const override
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
void add(RPCRoll *roll)
Add a RPC roll to the Geometry.
const DetTypeContainer & detTypes() const override
Return a vector of all det types.
const RPCChamber * chamber(RPCDetId id) const
RPCGeometry()
Default constructor.
DetIdContainer theRollIds
DetId geographicalId() const
The label of this GeomDet.
const std::vector< const RPCChamber * > & chambers() const
Return a vector of all RPC chambers.
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
std::vector< const RPCChamber * > allChambers
std::vector< DetId > DetIdContainer
const GeomDet * idToDet(DetId) const override
std::vector< const GeomDet * > DetContainer
std::vector< const GeomDetType * > DetTypeContainer
const RPCRoll * roll(RPCDetId id) const
Return a roll given its id.
const GeomDetType & type() const override