Go to the documentation of this file.
33 mapIdToDet::const_iterator
i =
theMap.find(
id);
37 LogDebug(
"RPCGeometry") <<
"Invalid DetID: no GeomDet associated " <<
RPCDetId(
id);
47 return dynamic_cast<const RPCChamber*>(
idToDet(
id.chamberId()));
~RPCGeometry() override
Destructor.
const GeomDetType & type() const override
DetTypeContainer theRollTypes
const DetTypeContainer & detTypes() const override
Return a vector of all det types.
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
const RPCRoll * roll(RPCDetId id) const
Return a roll given its id.
const DetIdContainer & detUnitIds() const override
Returm a vector of all GeomDetUnit DetIds.
std::vector< const RPCRoll * > allRolls
const std::vector< const RPCChamber * > & chambers() const
Return a vector of all RPC chambers.
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)
void add(RPCRoll *roll)
Add a RPC roll to the Geometry.
RPCGeometry()
Default constructor.
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
DetIdContainer theRollIds
std::vector< const GeomDetType * > DetTypeContainer
std::vector< DetId > DetIdContainer
DetId geographicalId() const
The label of this GeomDet.
std::vector< const GeomDet * > DetContainer
const RPCChamber * chamber(RPCDetId id) const
std::vector< const RPCChamber * > allChambers
const GeomDet * idToDet(DetId) const override
const std::vector< const RPCRoll * > & rolls() const
Return a vector of all RPC rolls.