15 produces<edm::RandomEngineStates, edm::Transition::BeginLuminosityBlock>(
"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
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.
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
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)