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