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*>
std::vector< GeomDetType const * > DetTypeContainer
virtual const DetTypeContainer & detTypes() const override
Return a vector of all det types.
DetTypeContainer theRollTypes
const std::vector< const RPCRoll * > & rolls() const
Return a vector of all RPC rolls.
virtual const DetIdContainer & detUnitIds() const override
Returm a vector of all GeomDetUnit DetIds.
std::vector< const RPCRoll * > allRolls
virtual 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 RPCChamber * chamber(RPCDetId id) const
const GeomDetType & type() const
virtual ~RPCGeometry()
Destructor.
RPCGeometry()
Default constructor.
virtual const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
DetIdContainer theRollIds
DetId geographicalId() const
The label of this GeomDet.
virtual const DetUnitContainer & detUnits() const override
Returm a vector of all GeomDetUnit.
const std::vector< const RPCChamber * > & chambers() const
Return a vector of all RPC chambers.
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
virtual const GeomDetUnit * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.