Go to the documentation of this file.00001 #ifndef CondTools_L1Trigger_L1ObjectKeysOnlineProdBase_h
00002 #define CondTools_L1Trigger_L1ObjectKeysOnlineProdBase_h
00003
00004
00005
00006
00007
00018
00019
00020
00021
00022
00023
00024
00025 #include <memory>
00026 #include "boost/shared_ptr.hpp"
00027
00028
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
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
00052 protected:
00053 l1t::OMDSReader m_omdsReader ;
00054 };
00055
00056 #endif