Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-07-07 22:33:14

0001 #ifndef Geometry_ForwardGeometry_ZdcHardcodeGeometryEP_H
0002 #define Geometry_ForwardGeometry_ZdcHardcodeGeometryEP_H 1
0003 
0004 // system include files
0005 #include <memory>
0006 
0007 // user include files
0008 #include "FWCore/Framework/interface/ModuleFactory.h"
0009 #include "FWCore/Framework/interface/ESProducer.h"
0010 #include "Geometry/Records/interface/ZDCGeometryRecord.h"
0011 #include "Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h"
0012 #include "Geometry/ForwardGeometry/interface/ZdcHardcodeGeometryLoader.h"
0013 
0014 //
0015 // class decleration
0016 //
0017 
0018 class ZdcHardcodeGeometryEP : public edm::ESProducer {
0019 public:
0020   ZdcHardcodeGeometryEP(const edm::ParameterSet&);
0021   ~ZdcHardcodeGeometryEP() override;
0022 
0023   using ReturnType = std::unique_ptr<CaloSubdetectorGeometry>;
0024 
0025   ReturnType produce(const ZDCGeometryRecord&);
0026 
0027 private:
0028   // ----------member data ---------------------------
0029 
0030   ZdcHardcodeGeometryLoader* m_loader;
0031 
0032   ZdcTopology m_topology;
0033 
0034   bool m_applyAlignment;
0035 };
0036 
0037 #endif