00001 //------------------------------------------------- 00002 // 00003 // \class L1MuGMTParametersProducer 00004 // 00005 // Description: A class to produce the L1 GMT emulator parameters in the event setup 00006 // 00007 // $Date$ 00008 // $Revision$ 00009 // 00010 // Author : 00011 // I. Mikulec 00012 // 00013 //-------------------------------------------------- 00014 #ifndef GMTConfigProducers_L1MuGMTParametersProducer_h 00015 #define GMTConfigProducers_L1MuGMTParametersProducer_h 00016 00017 // system include files 00018 #include <memory> 00019 #include <boost/shared_ptr.hpp> 00020 00021 // user include files 00022 #include "FWCore/Framework/interface/ModuleFactory.h" 00023 #include "FWCore/Framework/interface/ESProducer.h" 00024 00025 #include "FWCore/Framework/interface/ESHandle.h" 00026 00027 #include "CondFormats/L1TObjects/interface/L1MuGMTParameters.h" 00028 #include "CondFormats/DataRecord/interface/L1MuGMTParametersRcd.h" 00029 00030 00031 // 00032 // class declaration 00033 // 00034 00035 class L1MuGMTParametersProducer : public edm::ESProducer { 00036 public: 00037 L1MuGMTParametersProducer(const edm::ParameterSet&); 00038 ~L1MuGMTParametersProducer(); 00039 00040 std::auto_ptr<L1MuGMTParameters> produceL1MuGMTParameters(const L1MuGMTParametersRcd&); 00041 00042 private: 00043 // ----------member data --------------------------- 00044 edm::ParameterSet* m_ps; 00045 00046 }; 00047 00048 #endif