00001 #ifndef EventFilter_ESRawToDigi_ESUnpackerWorkerESProducer_H 00002 #define EventFilter_ESRawToDigi_ESUnpackerWorkerESProducer_H 00003 // -*- C++ -*- 00004 // 00005 // Package: ESUnpackerWorkerESProducer 00006 // Class: ESUnpackerWorkerESProducer 00007 // 00015 // 00016 // Original Author: Jean-Roch Vlimant 00017 // 00018 // 00019 00020 00021 // system include files 00022 #include <memory> 00023 #include "boost/shared_ptr.hpp" 00024 00025 // user include files 00026 #include "FWCore/Framework/interface/ModuleFactory.h" 00027 #include "FWCore/Framework/interface/ESProducer.h" 00028 00029 #include "FWCore/Framework/interface/ESHandle.h" 00030 00031 class EcalUnpackerWorkerRecord; 00032 class EcalUnpackerWorkerBase; 00033 // 00034 // class decleration 00035 // 00036 00037 class ESUnpackerWorkerESProducer : public edm::ESProducer { 00038 public: 00039 ESUnpackerWorkerESProducer(const edm::ParameterSet&); 00040 ~ESUnpackerWorkerESProducer(); 00041 00042 typedef boost::shared_ptr<EcalUnpackerWorkerBase> ReturnType; 00043 00044 ReturnType produce(const EcalUnpackerWorkerRecord & ); 00045 private: 00046 edm::ParameterSet conf_; 00047 }; 00048 00049 #endif