Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:06

0001 #ifndef L1GeometryProducers_L1CaloGeometryProd_h
0002 #define L1GeometryProducers_L1CaloGeometryProd_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     L1GeometryProducers
0006 // Class  :     L1CaloGeometryProd
0007 //
0008 /**\class L1CaloGeometryProd L1CaloGeometryProd.h
0009  L1TriggerConfig/L1GeometryProducers/interface/L1CaloGeometryProd.h
0010 
0011  Description: <one line class summary>
0012 
0013  Usage:
0014     <usage>
0015 
0016 */
0017 //
0018 // Original Author:  Werner Sun
0019 //         Created:  Tue Oct 24 00:01:12 EDT 2006
0020 //
0021 
0022 // system include files
0023 
0024 // user include files
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 // forward declarations
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   // ----------member data ---------------------------
0045   L1CaloGeometry m_geom;
0046 };
0047 
0048 #endif