Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:15:20

0001 #ifndef RPCGeometry_RPCGeometryParsFromDD_H
0002 #define RPCGeometry_RPCGeometryParsFromDD_H
0003 
0004 /* \class  RPCGeometryParsFromDD
0005  *  Build the RPCGeometry from the DDD and DD4hep description
0006  *  
0007  *  DD4hep part added to the original old file (DD version) made by M. Maggi (INFN Bari)
0008  *  Author:  Sergio Lo Meo (sergio.lo.meo@cern.ch) 
0009  *  Created:  Mon, 09 Nov 2020 
0010  *
0011  */
0012 
0013 #include <string>
0014 #include <map>
0015 #include <list>
0016 
0017 class DDCompactView;
0018 class DDFilteredView;
0019 namespace cms {  // DD4hep
0020   class DDFilteredView;
0021   class DDCompactView;
0022 }  // namespace cms
0023 class RPCDetId;
0024 class RPCRoll;
0025 class MuonGeometryConstants;
0026 class RecoIdealGeometry;
0027 class RPCGeometryParsFromDD {
0028 public:
0029   RPCGeometryParsFromDD();
0030 
0031   ~RPCGeometryParsFromDD();
0032 
0033   // DD
0034   void build(const DDCompactView* cview, const MuonGeometryConstants& muonConstants, RecoIdealGeometry& rgeo);
0035   // DD4hep
0036   void build(const cms::DDCompactView* cview, const MuonGeometryConstants& muonConstants, RecoIdealGeometry& rgeo);
0037 
0038 private:
0039   // DD
0040   void buildGeometry(DDFilteredView& fview, const MuonGeometryConstants& muonConstants, RecoIdealGeometry& rgeo);
0041   // DD4hep
0042   void buildGeometry(cms::DDFilteredView& fview, const MuonGeometryConstants& muonConstants, RecoIdealGeometry& rgeo);
0043 };
0044 
0045 #endif