File indexing completed on 2024-04-06 12:15:20
0001 #ifndef RPCGeometry_RPCGeometryBuilder_H
0002 #define RPCGeometry_RPCGeometryBuilder_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #include <string>
0014 #include <map>
0015 #include <list>
0016 #include <memory>
0017 #include "DataFormats/MuonDetId/interface/RPCDetId.h"
0018
0019 class DDCompactView;
0020 class DDFilteredView;
0021 namespace cms {
0022 class DDFilteredView;
0023 class DDCompactView;
0024 }
0025 class RPCGeometry;
0026 class RPCRoll;
0027 class MuonGeometryConstants;
0028
0029 class RPCGeometryBuilder {
0030 public:
0031 RPCGeometryBuilder();
0032
0033
0034 std::unique_ptr<RPCGeometry> build(const DDCompactView* cview, const MuonGeometryConstants& muonConstants);
0035
0036 std::unique_ptr<RPCGeometry> build(const cms::DDCompactView* cview, const MuonGeometryConstants& muonConstants);
0037
0038 private:
0039
0040 std::unique_ptr<RPCGeometry> buildGeometry(DDFilteredView& fview, const MuonGeometryConstants& muonConstants);
0041
0042 std::unique_ptr<RPCGeometry> buildGeometry(cms::DDFilteredView& fview, const MuonGeometryConstants& muonConstants);
0043 std::map<RPCDetId, std::list<RPCRoll*> > chids;
0044 };
0045
0046 #endif