CMS 3D CMS Logo

RPCGeometryParsFromDD.h
Go to the documentation of this file.
1 #ifndef RPCGeometry_RPCGeometryParsFromDD_H
2 #define RPCGeometry_RPCGeometryParsFromDD_H
3 
4 /* \class RPCGeometryParsFromDD
5  * Build the RPCGeometry from the DDD and DD4hep description
6  *
7  * DD4hep part added to the original old file (DD version) made by M. Maggi (INFN Bari)
8  * Author: Sergio Lo Meo (sergio.lo.meo@cern.ch)
9  * Created: Mon, 09 Nov 2020
10  *
11  */
12 
13 #include <string>
14 #include <map>
15 #include <list>
16 
17 class DDCompactView;
18 class DDFilteredView;
19 namespace cms { // DD4hep
20  class DDFilteredView;
21  class DDCompactView;
22 } // namespace cms
23 class RPCDetId;
24 class RPCRoll;
26 class RecoIdealGeometry;
28 public:
30 
32 
33  // DD
34  void build(const DDCompactView* cview, const MuonGeometryConstants& muonConstants, RecoIdealGeometry& rgeo);
35  // DD4hep
36  void build(const cms::DDCompactView* cview, const MuonGeometryConstants& muonConstants, RecoIdealGeometry& rgeo);
37 
38 private:
39  // DD
40  void buildGeometry(DDFilteredView& fview, const MuonGeometryConstants& muonConstants, RecoIdealGeometry& rgeo);
41  // DD4hep
42  void buildGeometry(cms::DDFilteredView& fview, const MuonGeometryConstants& muonConstants, RecoIdealGeometry& rgeo);
43 };
44 
45 #endif
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
void build(const DDCompactView *cview, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rgeo)
void buildGeometry(DDFilteredView &fview, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rgeo)
Namespace of DDCMS conversion namespace.