CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/CondTools/L1Trigger/plugins/L1TriggerKeyDummyProd.h

Go to the documentation of this file.
00001 #ifndef CondTools_L1Trigger_L1TriggerKeyDummyProd_h
00002 #define CondTools_L1Trigger_L1TriggerKeyDummyProd_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     L1Trigger
00006 // Class  :     L1TriggerKeyDummyProd
00007 // 
00016 //
00017 // Original Author:  Werner Sun
00018 //         Created:  Sat Mar  1 01:12:16 CET 2008
00019 // $Id: L1TriggerKeyDummyProd.h,v 1.1 2008/03/03 21:52:18 wsun Exp $
00020 //
00021 
00022 // system include files
00023 #include <memory>
00024 #include "boost/shared_ptr.hpp"
00025 
00026 // user include files
00027 #include "FWCore/Framework/interface/ModuleFactory.h"
00028 #include "FWCore/Framework/interface/ESProducer.h"
00029 
00030 #include "FWCore/Framework/interface/ESHandle.h"
00031 
00032 #include "CondFormats/L1TObjects/interface/L1TriggerKey.h"
00033 #include "CondFormats/DataRecord/interface/L1TriggerKeyRcd.h"
00034 
00035 // forward declarations
00036 
00037 class L1TriggerKeyDummyProd : public edm::ESProducer {
00038    public:
00039       L1TriggerKeyDummyProd(const edm::ParameterSet&);
00040       ~L1TriggerKeyDummyProd();
00041 
00042       typedef boost::shared_ptr<L1TriggerKey> ReturnType;
00043 
00044       ReturnType produce(const L1TriggerKeyRcd&);
00045    private:
00046       // ----------member data ---------------------------
00047       L1TriggerKey m_key ;
00048 };
00049 
00050 
00051 #endif