1 #ifndef FWCore_Framework_WorkerT_h 2 #define FWCore_Framework_WorkerT_h 23 class ModuleCallingContext;
24 class ModuleDescription;
25 class ProductResolverIndexAndSkipBit;
26 class ProductRegistry;
27 class ThinnedAssociationsHelper;
30 class WorkerT :
public Worker {
50 std::unordered_multimap<std::string, edm::ProductResolverIndex>
const& iIndicies)
override;
107 unsigned int iNumberOfChildren)
override;
115 std::map<std::string, ModuleDescription const*>
const& labelsToDesc)
const override {
116 module_->modulesWhoseProductsAreConsumed(modules, preg, labelsToDesc,
module_->moduleDescription().processName());
120 return module_->consumesInfo();
124 module_->itemsToGet(branchType, indexes);
128 module_->itemsMayGet(branchType, indexes);
136 module_->preActionBeforeRunEventAsync(iTask,iModuleCallingContext,iPrincipal);
virtual bool implDoStreamEnd(StreamID id, RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
virtual std::vector< ConsumesInfo > consumesInfo() const override
void resetModuleDescription(ModuleDescription const *)
roAction_t actions[nactions]
void callWorkerStreamEnd(D, StreamID id, RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc)
virtual void implEndJob() override
virtual std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom(BranchType iType) const override final
virtual void updateLookup(BranchType iBranchType, ProductResolverIndexHelper const &) override
void setModule(std::shared_ptr< T > iModule)
virtual bool implDoStreamBegin(StreamID id, RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
virtual bool implDo(EventPrincipal const &ep, EventSetup const &c, ModuleCallingContext const *mcc) override
virtual void itemsMayGet(BranchType branchType, std::vector< ProductResolverIndexAndSkipBit > &indexes) const override
edm::propagate_const< std::shared_ptr< T > > module_
virtual void implRespondToOpenInputFile(FileBlock const &fb) override
virtual bool implDoPrePrefetchSelection(StreamID id, EventPrincipal const &ep, ModuleCallingContext const *mcc) override
virtual SerialTaskQueueChain * serializeRunModule() override
void callWorkerEndStream(D, StreamID)
virtual void itemsToGet(BranchType branchType, std::vector< ProductResolverIndexAndSkipBit > &indexes) const override
virtual void preActionBeforeRunEventAsync(WaitingTask *iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const override
virtual void implBeginStream(StreamID) override
virtual void modulesWhoseProductsAreConsumed(std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc) const override
void callWorkerStreamBegin(D, StreamID id, RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc)
virtual bool implDoBegin(RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
virtual std::vector< ProductResolverIndex > const & itemsShouldPutInEvent() const override
DecomposeProduct< arg, typename Div::arg > D
virtual void implEndStream(StreamID) override
virtual void implBeginJob() override
virtual void implPreForkReleaseResources() override
virtual void implRespondToCloseInputFile(FileBlock const &fb) override
void callWorkerBeginStream(D, StreamID)
virtual void implRegisterThinnedAssociations(ProductRegistry const &, ThinnedAssociationsHelper &) override
virtual bool implDoEnd(RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
virtual std::string workerType() const override
virtual void resolvePutIndicies(BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies) override
WorkerT(std::shared_ptr< T >, ModuleDescription const &, ExceptionToActionTable const *actions)
def branchType(schema, name)
virtual void implPostForkReacquireResources(unsigned int iChildIndex, unsigned int iNumberOfChildren) override
virtual Types moduleType() const override