Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-09 23:31:54

0001 #ifndef CSCGeometryBuilder_CSCGeometryParsFromDD_h
0002 #define CSCGeometryBuilder_CSCGeometryParsFromDD_h
0003 /*
0004 // \class CSCGeometryParsFromDDD
0005 //
0006 //  Description: CSC Geometry Pars for DD4hep
0007 //              
0008 //
0009 // \author Sergio Lo Meo (sergio.lo.meo@cern.ch) following what Ianna Osburne made for DTs (DD4hep migration)
0010 //         Created:  Thu, 05 March 2020 
0011 //         Modified: Thu, 04 June 2020, following what made in PR #30047               
0012 //   
0013 //         Original author: Tim Cox
0014 */
0015 #include <DataFormats/MuonDetId/interface/CSCDetId.h>
0016 #include <string>
0017 
0018 class CSCGeometry;
0019 class DDCompactView;
0020 class MuonGeometryConstants;
0021 class RecoIdealGeometry;
0022 class CSCRecoDigiParameters;
0023 
0024 namespace cms {
0025   class DDFilteredView;
0026   class DDCompactView;
0027 }  // namespace cms
0028 
0029 class CSCGeometryParsFromDD {
0030 public:
0031   /// Constructor
0032   CSCGeometryParsFromDD();
0033 
0034   /// Destructor
0035   virtual ~CSCGeometryParsFromDD();
0036 
0037   /// Build the geometry returning the RecoIdealGeometry and the CSCRecoDigiParameters objects
0038   // as built from the DDD.
0039   bool build(const DDCompactView* cview,
0040              const MuonGeometryConstants& muonConstants,
0041              RecoIdealGeometry& rig,
0042              CSCRecoDigiParameters& rdp);
0043   //dd4hep
0044   bool build(const cms::DDCompactView* cview,
0045              const MuonGeometryConstants& muonConstants,
0046              RecoIdealGeometry& rig,
0047              CSCRecoDigiParameters& rdp);
0048 
0049 private:
0050   std::string myName;
0051 };
0052 #endif