CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/CondTools/L1Trigger/interface/L1ObjectKeysOnlineProdBase.h

Go to the documentation of this file.
00001 #ifndef CondTools_L1Trigger_L1ObjectKeysOnlineProdBase_h
00002 #define CondTools_L1Trigger_L1ObjectKeysOnlineProdBase_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     L1Trigger
00006 // Class  :     L1ObjectKeysOnlineProdBase
00007 // 
00018 //
00019 // Original Author:  Werner Sun
00020 //         Created:  Fri Aug 22 19:47:58 CEST 2008
00021 // $Id: L1ObjectKeysOnlineProdBase.h,v 1.1 2008/09/19 19:22:58 wsun Exp $
00022 //
00023 
00024 // system include files
00025 #include <memory>
00026 #include "boost/shared_ptr.hpp"
00027 
00028 // user include files
00029 #include "FWCore/Framework/interface/ModuleFactory.h"
00030 #include "FWCore/Framework/interface/ESProducer.h"
00031 #include "FWCore/Framework/interface/ESHandle.h"
00032 
00033 #include "CondFormats/L1TObjects/interface/L1TriggerKey.h"
00034 #include "CondFormats/DataRecord/interface/L1TriggerKeyRcd.h"
00035 
00036 #include "CondTools/L1Trigger/interface/OMDSReader.h"
00037 
00038 // forward declarations
00039 
00040 class L1ObjectKeysOnlineProdBase : public edm::ESProducer {
00041    public:
00042       L1ObjectKeysOnlineProdBase(const edm::ParameterSet&);
00043       ~L1ObjectKeysOnlineProdBase();
00044 
00045       typedef boost::shared_ptr<L1TriggerKey> ReturnType;
00046 
00047       ReturnType produce(const L1TriggerKeyRcd&);
00048 
00049       virtual void fillObjectKeys( ReturnType pL1TriggerKey ) = 0 ;
00050    private:
00051       // ----------member data ---------------------------
00052  protected:
00053       l1t::OMDSReader m_omdsReader ;
00054 };
00055 
00056 #endif