1 #ifndef FWCore_Framework_global_EDProducerBase_h 2 #define FWCore_Framework_global_EDProducerBase_h 34 class ModuleCallingContext;
35 class PreallocationConfiguration;
39 class ProductRegistry;
40 class ThinnedAssociationsHelper;
42 class WaitingTaskWithArenaHolder;
45 template<
typename T>
class ModuleHolderT;
70 virtual bool wantsGlobalRuns()
const =0;
71 virtual bool wantsGlobalLuminosityBlocks()
const =0;
72 virtual bool wantsStreamRuns()
const =0;
73 virtual bool wantsStreamLuminosityBlocks()
const =0;
97 void doStreamBeginLuminosityBlock(
StreamID id,
101 void doStreamEndLuminosityBlock(
StreamID id,
117 void doRespondToOpenInputFile(
FileBlock const&
fb);
118 void doRespondToCloseInputFile(
FileBlock const& fb);
123 registerProducts(module, reg, moduleDescription_);
134 virtual void preallocStreams(
unsigned int);
136 virtual void doBeginStream_(
StreamID id);
137 virtual void doEndStream_(
StreamID id);
145 virtual void doBeginRun_(
Run const& rp,
EventSetup const& c);
146 virtual void doBeginRunSummary_(
Run const& rp,
EventSetup const& c);
147 virtual void doEndRunSummary_(
Run const& rp,
EventSetup const& c);
154 virtual void doBeginRunProduce_(
Run& rp,
EventSetup const& c);
164 moduleDescription_ = md;
ModuleDescription moduleDescription_
void setModuleDescription(ModuleDescription const &md)
void doRegisterThinnedAssociations(ProductRegistry const &, ThinnedAssociationsHelper &)
void preActionBeforeRunEventAsync(WaitingTask *iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const
std::unique_ptr< ParentageID[]> previousParentageIds_
void registerProductsAndCallbacks(EDProducerBase *module, ProductRegistry *reg)
EDProducerBase ModuleType
virtual bool hasAcquire() const
std::unique_ptr< std::vector< BranchID >[]> previousParentages_
std::unique_ptr< std::vector< BranchID >[]> gotBranchIDsFromAcquire_
ModuleDescription const & moduleDescription() const
std::string workerType() const