15 produces<edm::RandomEngineStates, edm::InLumi>(
"beginLumi");
16 produces<edm::RandomEngineStates>();
27 states->setRandomEngineStates(randomService->
getEventCache());
37 states->setRandomEngineStates(randomService->
getLumiCache());
38 lb.
put(states,
"beginLumi");
45 descriptions.
add(
"randomEngineStateProducer", desc);
virtual std::vector< RandomEngineState > const & getLumiCache() const =0
virtual void produce(edm::Event &ev, edm::EventSetup const &es) override
virtual void beginLuminosityBlockProduce(edm::LuminosityBlock &lb, edm::EventSetup const &es) override
RandomEngineStateProducer(edm::ParameterSet const &pset)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
~RandomEngineStateProducer()
void add(std::string const &label, ParameterSetDescription const &psetDescription)
virtual std::vector< RandomEngineState > const & getEventCache() const =0
void put(std::auto_ptr< PROD > product)
Put a new product.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)