00001 #ifndef RPCGeometry_RPCGeometryBuilderFromDDD_H 00002 #define RPCGeometry_RPCGeometryBuilderFromDDD_H 00003 00012 #include <string> 00013 #include <map> 00014 #include <list> 00015 00016 class DDCompactView; 00017 class DDFilteredView; 00018 class RPCGeometry; 00019 class RPCDetId; 00020 class RPCRoll; 00021 class MuonDDDConstants; 00022 00023 class RPCGeometryBuilderFromDDD 00024 { 00025 public: 00026 00027 RPCGeometryBuilderFromDDD(bool comp11); 00028 00029 ~RPCGeometryBuilderFromDDD(); 00030 00031 RPCGeometry* build(const DDCompactView* cview, const MuonDDDConstants& muonConstants); 00032 00033 00034 private: 00035 RPCGeometry* buildGeometry(DDFilteredView& fview, const MuonDDDConstants& muonConstants); 00036 std::map<RPCDetId,std::list<RPCRoll *> > chids; 00037 00038 bool theComp11Flag; 00039 00040 }; 00041 00042 #endif