File indexing completed on 2024-04-06 12:22:17
0001 #ifndef L1GeometryProducers_L1CaloGeometryProd_h
0002 #define L1GeometryProducers_L1CaloGeometryProd_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025 #include "FWCore/Framework/interface/ESHandle.h"
0026 #include "FWCore/Framework/interface/ESProducer.h"
0027 #include "FWCore/Framework/interface/ModuleFactory.h"
0028
0029 #include "CondFormats/DataRecord/interface/L1CaloGeometryRecord.h"
0030 #include "CondFormats/L1TObjects/interface/L1CaloGeometry.h"
0031
0032
0033
0034 class L1CaloGeometryProd : public edm::ESProducer {
0035 public:
0036 L1CaloGeometryProd(const edm::ParameterSet &);
0037 ~L1CaloGeometryProd() override;
0038
0039 typedef std::unique_ptr<L1CaloGeometry> ReturnType;
0040
0041 ReturnType produce(const L1CaloGeometryRecord &);
0042
0043 private:
0044
0045 L1CaloGeometry m_geom;
0046 };
0047
0048 #endif