00001 #ifndef L1GtConfigProducers_L1GtTriggerMenuXmlProducer_h 00002 #define L1GtConfigProducers_L1GtTriggerMenuXmlProducer_h 00003 00020 // system include files 00021 #include <memory> 00022 #include <string> 00023 00024 #include "boost/shared_ptr.hpp" 00025 #include <boost/cstdint.hpp> 00026 00027 // user include files 00028 // base class 00029 #include "FWCore/Framework/interface/ESProducer.h" 00030 00031 #include "FWCore/Framework/interface/ModuleFactory.h" 00032 #include "FWCore/Framework/interface/ESHandle.h" 00033 00034 #include "CondFormats/L1TObjects/interface/L1GtTriggerMenu.h" 00035 #include "CondFormats/DataRecord/interface/L1GtTriggerMenuRcd.h" 00036 00037 // forward declarations 00038 00039 // class declaration 00040 class L1GtTriggerMenuXmlProducer : public edm::ESProducer 00041 { 00042 00043 public: 00044 00046 L1GtTriggerMenuXmlProducer(const edm::ParameterSet&); 00047 00049 ~L1GtTriggerMenuXmlProducer(); 00050 00051 00053 00055 boost::shared_ptr<L1GtTriggerMenu> produceGtTriggerMenu( 00056 const L1GtTriggerMenuRcd&); 00057 00058 private: 00059 00061 std::string m_defXmlFile; 00062 00064 std::string m_vmeXmlFile; 00065 00066 00067 }; 00068 00069 #endif