00001 #ifndef EventFilter_EcalRawToDigi_EcalRegionCablingESProducer_H 00002 #define EventFilter_EcalRawToDigi_EcalRegionCablingESProducer_H 00003 // -*- C++ -*- 00004 // 00005 // Package: EcalRegionCablingESProducer 00006 // Class: EcalRegionCablingESProducer 00007 // 00015 // 00016 // Original Author: Jean-Roch Vlimant 00017 // Created: Sun Oct 7 00:37:06 CEST 2007 00018 // $Id: EcalRegionCablingESProducer.h,v 1.1 2007/12/06 20:01:11 vlimant Exp $ 00019 // 00020 // 00021 00022 00023 // system include files 00024 #include <memory> 00025 #include "boost/shared_ptr.hpp" 00026 00027 // user include files 00028 #include "FWCore/Framework/interface/ESProducer.h" 00029 #include "FWCore/Framework/interface/ESHandle.h" 00030 00031 #include "EventFilter/EcalRawToDigi/interface/EcalRegionCablingRecord.h" 00032 #include "EventFilter/EcalRawToDigi/interface/EcalRegionCabling.h" 00033 00034 class EcalRegionCablingESProducer : public edm::ESProducer { 00035 public: 00036 EcalRegionCablingESProducer(const edm::ParameterSet&); 00037 ~EcalRegionCablingESProducer(); 00038 00039 typedef boost::shared_ptr<EcalRegionCabling> ReturnType; 00040 00041 ReturnType produce(const EcalRegionCablingRecord&); 00042 private: 00043 edm::ParameterSet conf_; 00044 }; 00045 #endif