15 produces<edm::RandomEngineStates, edm::InLumi>(
"beginLumi");
16 produces<edm::RandomEngineStates>();
26 auto states = std::make_unique<edm::RandomEngineStates>();
36 auto states = std::make_unique<edm::RandomEngineStates>();
45 descriptions.
add(
"randomEngineStateProducer", desc);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
LuminosityBlockIndex index() const
virtual std::vector< RandomEngineState > const & getLumiCache(LuminosityBlockIndex const &) const =0
virtual void produce(edm::StreamID iID, edm::Event &ev, edm::EventSetup const &es) const override
RandomEngineStateProducer(edm::ParameterSet const &pset)
void put(std::unique_ptr< PROD > product)
Put a new product.
~RandomEngineStateProducer()
virtual std::vector< RandomEngineState > const & getEventCache(StreamID const &) const =0
void add(std::string const &label, ParameterSetDescription const &psetDescription)
virtual void globalBeginLuminosityBlockProduce(edm::LuminosityBlock &, edm::EventSetup const &) const override
StreamID streamID() const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)