00001 #ifndef L1GtConfigProducers_L1GtPrescaleFactorsAlgoTrigTrivialProducer_h 00002 #define L1GtConfigProducers_L1GtPrescaleFactorsAlgoTrigTrivialProducer_h 00003 00020 // system include files 00021 #include <memory> 00022 #include "boost/shared_ptr.hpp" 00023 00024 #include <vector> 00025 00026 // user include files 00027 // base class 00028 #include "FWCore/Framework/interface/ESProducer.h" 00029 00030 #include "FWCore/Framework/interface/ModuleFactory.h" 00031 #include "FWCore/Framework/interface/ESHandle.h" 00032 00033 #include "CondFormats/L1TObjects/interface/L1GtPrescaleFactors.h" 00034 00035 // forward declarations 00036 class L1GtPrescaleFactorsAlgoTrigRcd; 00037 00038 // class declaration 00039 class L1GtPrescaleFactorsAlgoTrigTrivialProducer : public edm::ESProducer 00040 { 00041 00042 public: 00043 00045 L1GtPrescaleFactorsAlgoTrigTrivialProducer(const edm::ParameterSet&); 00046 00048 ~L1GtPrescaleFactorsAlgoTrigTrivialProducer(); 00049 00051 00052 boost::shared_ptr<L1GtPrescaleFactors> producePrescaleFactors( 00053 const L1GtPrescaleFactorsAlgoTrigRcd&); 00054 00055 private: 00056 00058 std::vector<std::vector<int> > m_prescaleFactors; 00059 00060 }; 00061 00062 #endif