File indexing completed on 2024-04-06 12:14:38
0001 #ifndef Geometry_ForwardGeometry_CastorHardcodeGeometryEP_H
0002 #define Geometry_ForwardGeometry_CastorHardcodeGeometryEP_H 1
0003
0004
0005 #include <memory>
0006
0007
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
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
0029 CastorHardcodeGeometryLoader* loader_;
0030 };
0031
0032 #endif