00001 // -*- C++ -*- 00002 // 00003 // Package: RandomEngine 00004 // Class: RandomEngineStateProducer 00005 // 00021 #include "FWCore/Framework/interface/EDProducer.h" 00022 #include "FWCore/Framework/interface/Frameworkfwd.h" 00023 00024 namespace edm { 00025 class ConfigurationDescriptions; 00026 } 00027 00028 class RandomEngineStateProducer : public edm::EDProducer { 00029 public: 00030 explicit RandomEngineStateProducer(edm::ParameterSet const& pset); 00031 ~RandomEngineStateProducer(); 00032 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions); 00033 00034 private: 00035 virtual void beginLuminosityBlock(edm::LuminosityBlock& lb, edm::EventSetup const& es); 00036 virtual void produce(edm::Event& ev, edm::EventSetup const& es); 00037 };