Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef Geometry_ForwardGeometry_CastorHardcodeGeometryEP_H
0002 #define Geometry_ForwardGeometry_CastorHardcodeGeometryEP_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/CastorGeometryRecord.h"
0011 #include "Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h"
0012 #include "Geometry/ForwardGeometry/interface/CastorHardcodeGeometryLoader.h"
0013 
0014 //
0015 // class declaration
0016 //
0017 
0018 class CastorHardcodeGeometryEP : public edm::ESProducer {
0019 public:
0020   CastorHardcodeGeometryEP(const edm::ParameterSet&);
0021   ~CastorHardcodeGeometryEP() override;
0022 
0023   typedef std::unique_ptr<CaloSubdetectorGeometry> ReturnType;
0024 
0025   ReturnType produce(const CastorGeometryRecord&);
0026 
0027 private:
0028   // ----------member data ---------------------------
0029   CastorHardcodeGeometryLoader* loader_;
0030 };
0031 
0032 #endif