#include <RandomEngineStateProducer.h>
Public Member Functions | |
RandomEngineStateProducer (edm::ParameterSet const &pset) | |
~RandomEngineStateProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
virtual void | beginLuminosityBlock (edm::LuminosityBlock &lb, edm::EventSetup const &es) |
virtual void | produce (edm::Event &ev, edm::EventSetup const &es) |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Description: Gets the state of the random number engines from the related service and stores it in the event.
Implementation: This simply copies from the cache in the service and puts the product in the Event and LuminosityBlock. The cache is filled at the beginning of processing for eac event or lumi by a call from the InputSource to the service. This module gets called later.
Definition at line 28 of file RandomEngineStateProducer.h.
|
explicit |
Definition at line 13 of file RandomEngineStateProducer.cc.
RandomEngineStateProducer::~RandomEngineStateProducer | ( | ) |
Definition at line 18 of file RandomEngineStateProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 32 of file RandomEngineStateProducer.cc.
References edm::RandomNumberGenerator::getLumiCache(), edm::Service< T >::isAvailable(), and edm::LuminosityBlock::put().
|
static |
Definition at line 42 of file RandomEngineStateProducer.cc.
References edm::ConfigurationDescriptions::add().
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 22 of file RandomEngineStateProducer.cc.
References edm::RandomNumberGenerator::getEventCache(), edm::Service< T >::isAvailable(), and edm::Event::put().