15 produces<edm::RandomEngineStates, edm::Transition::BeginLuminosityBlock>(
"beginLumi");
16 produces<edm::RandomEngineStates>();
24 auto states = std::make_unique<edm::RandomEngineStates>();
34 auto states = std::make_unique<edm::RandomEngineStates>();
42 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
RandomEngineStateProducer(edm::ParameterSet const &pset)
void put(std::unique_ptr< PROD > product)
Put a new product.
virtual std::vector< RandomEngineState > const & getEventCache(StreamID const &) const =0
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void globalBeginLuminosityBlockProduce(edm::LuminosityBlock &, edm::EventSetup const &) const override
~RandomEngineStateProducer() override
StreamID streamID() const
void produce(edm::StreamID iID, edm::Event &ev, edm::EventSetup const &es) const override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)