Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:17

0001 #ifndef CondTools_L1Trigger_L1TriggerKeyDummyProd_h
0002 #define CondTools_L1Trigger_L1TriggerKeyDummyProd_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     L1Trigger
0006 // Class  :     L1TriggerKeyDummyProd
0007 //
0008 /**\class L1TriggerKeyDummyProd L1TriggerKeyDummyProd.h CondTools/L1Trigger/interface/L1TriggerKeyDummyProd.h
0009 
0010  Description: <one line class summary>
0011 
0012  Usage:
0013     <usage>
0014 
0015 */
0016 //
0017 // Original Author:  Werner Sun
0018 //         Created:  Sat Mar  1 01:12:16 CET 2008
0019 // $Id$
0020 //
0021 
0022 // system include files
0023 #include <memory>
0024 
0025 // user include files
0026 #include "FWCore/Framework/interface/ModuleFactory.h"
0027 #include "FWCore/Framework/interface/ESProducer.h"
0028 
0029 #include "FWCore/Framework/interface/ESHandle.h"
0030 
0031 #include "CondFormats/L1TObjects/interface/L1TriggerKey.h"
0032 #include "CondFormats/DataRecord/interface/L1TriggerKeyRcd.h"
0033 
0034 // forward declarations
0035 
0036 class L1TriggerKeyDummyProd : public edm::ESProducer {
0037 public:
0038   L1TriggerKeyDummyProd(const edm::ParameterSet&);
0039   ~L1TriggerKeyDummyProd() override;
0040 
0041   typedef std::unique_ptr<L1TriggerKey> ReturnType;
0042 
0043   ReturnType produce(const L1TriggerKeyRcd&);
0044 
0045 private:
0046   // ----------member data ---------------------------
0047   L1TriggerKey m_key;
0048 };
0049 
0050 #endif