Go to the documentation of this file. 1 #ifndef FWCore_Framework_one_EDProducerBase_h
2 #define FWCore_Framework_one_EDProducerBase_h
34 class ModuleCallingContext;
35 class PreallocationConfiguration;
37 class ProductRegistry;
38 class ThinnedAssociationsHelper;
~EDProducerBase() override
void doPreallocate(PreallocationConfiguration const &)
virtual bool wantsGlobalRuns() const =0
void setModuleDescription(ModuleDescription const &md)
virtual void preallocThreads(unsigned int)
void doBeginLuminosityBlock(LuminosityBlockPrincipal const &lbp, EventSetupImpl const &c, ModuleCallingContext const *)
virtual SharedResourcesAcquirer createAcquirer()
void doRespondToOpenInputFile(FileBlock const &fb)
ModuleDescription moduleDescription_
virtual void produce(Event &, EventSetup const &)=0
std::vector< BranchID > previousParentage_
EDProducerBase ModuleType
virtual void doEndLuminosityBlock_(LuminosityBlock const &lbp, EventSetup const &c)
std::string workerType() const
virtual bool hasAccumulator() const
virtual bool wantsGlobalLuminosityBlocks() const =0
virtual void doEndRunProduce_(Run &rp, EventSetup const &c)
ModuleDescription const & moduleDescription() const
virtual void doBeginRun_(Run const &rp, EventSetup const &c)
virtual SerialTaskQueue * globalRunsQueue()
static void prevalidate(ConfigurationDescriptions &descriptions)
void doEndLuminosityBlock(LuminosityBlockPrincipal const &lbp, EventSetupImpl const &c, ModuleCallingContext const *)
virtual SerialTaskQueue * globalLuminosityBlocksQueue()
virtual void preallocLumis(unsigned int)
void doRespondToCloseInputFile(FileBlock const &fb)
static void fillDescriptions(ConfigurationDescriptions &descriptions)
bool wantsStreamLuminosityBlocks() const
static const std::string & baseType()
virtual void doEndRun_(Run const &rp, EventSetup const &c)
bool doEvent(EventPrincipal const &ep, EventSetupImpl const &c, ActivityRegistry *, ModuleCallingContext const *)
SharedResourcesAcquirer & sharedResourcesAcquirer()
void preActionBeforeRunEventAsync(WaitingTask *iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const
virtual void doEndLuminosityBlockProduce_(LuminosityBlock &lbp, EventSetup const &c)
void registerProductsAndCallbacks(EDProducerBase *module, ProductRegistry *reg)
void doRegisterThinnedAssociations(ProductRegistry const &, ThinnedAssociationsHelper &)
virtual void doBeginLuminosityBlock_(LuminosityBlock const &lbp, EventSetup const &c)
bool wantsStreamRuns() const
void doBeginRun(RunPrincipal const &rp, EventSetupImpl const &c, ModuleCallingContext const *)
virtual void doBeginRunProduce_(Run &rp, EventSetup const &c)
void registerProducts(ProducerBase *, ProductRegistry *, ModuleDescription const &)
void doEndRun(RunPrincipal const &rp, EventSetupImpl const &c, ModuleCallingContext const *)
SharedResourcesAcquirer resourcesAcquirer_
virtual void doBeginLuminosityBlockProduce_(LuminosityBlock &lbp, EventSetup const &c)
ParentageID previousParentageId_