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
RPCRoll
Definition: RPCRoll.h:12
MuonGeometryConstants
Definition: MuonGeometryConstants.h:20
RPCGeometryParsFromDD::build
void build(const DDCompactView *cview, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rgeo)
Definition: RPCGeometryParsFromDD.cc:32
RPCDetId
Definition: RPCDetId.h:16
cms::DDFilteredView
Definition: DDFilteredView.h:70
RPCGeometryParsFromDD::buildGeometry
void buildGeometry(DDFilteredView &fview, const MuonGeometryConstants &muonConstants, RecoIdealGeometry &rgeo)
Definition: RPCGeometryParsFromDD.cc:59
DDCompactView
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:81
RPCGeometryParsFromDD::~RPCGeometryParsFromDD
~RPCGeometryParsFromDD()
Definition: RPCGeometryParsFromDD.cc:29
RPCGeometryParsFromDD
Definition: RPCGeometryParsFromDD.h:27
RPCGeometryParsFromDD::RPCGeometryParsFromDD
RPCGeometryParsFromDD()
Definition: RPCGeometryParsFromDD.cc:27
cms::DDCompactView
Definition: DDCompactView.h:31
DDFilteredView
Definition: DDFilteredView.h:20
RecoIdealGeometry
Definition: RecoIdealGeometry.h:28
cms
Namespace of DDCMS conversion namespace.
Definition: ProducerAnalyzer.cc:21