00001 #ifndef RPCGeometry_RPCGeometryBuilderFromCondDB_H 00002 #define RPCGeometry_RPCGeometryBuilderFromCondDB_H 00003 00011 #include <CondFormats/GeometryObjects/interface/RecoIdealGeometry.h> 00012 #include <string> 00013 #include <map> 00014 #include <list> 00015 00016 00017 class RPCGeometry; 00018 class RPCDetId; 00019 class RPCRoll; 00020 00021 class RPCGeometryBuilderFromCondDB 00022 { 00023 public: 00024 00025 RPCGeometryBuilderFromCondDB(bool comp11); 00026 00027 ~RPCGeometryBuilderFromCondDB(); 00028 00029 RPCGeometry* build(const RecoIdealGeometry& rgeo); 00030 00031 00032 private: 00033 std::map<RPCDetId,std::list<RPCRoll *> > chids; 00034 bool theComp11Flag; 00035 00036 }; 00037 00038 #endif