1 #ifndef RPCGeometry_RPCGeometry_h
2 #define RPCGeometry_RPCGeometry_h
56 const std::vector<RPCChamber*>&
chambers()
const;
59 const std::vector<RPCRoll*>&
rolls()
const;
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
virtual ~RPCGeometry()
Destructor.
RPCGeometry()
Default constructor.
virtual const DetContainer & dets() const
Returm a vector of all GeomDet (including all GeomDetUnits)
DetIdContainer theRollIds
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.
__gnu_cxx::hash_map< unsigned int, GeomDet * > mapIdToDet
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