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);
135 virtual void preallocLumis(
unsigned int);
137 virtual void doBeginStream_(
StreamID id);
138 virtual void doEndStream_(
StreamID id);
146 virtual void doBeginRun_(
Run const& rp,
EventSetup const& c);
147 virtual void doBeginRunSummary_(
Run const& rp,
EventSetup const& c);
148 virtual void doEndRunSummary_(
Run const& rp,
EventSetup const& c);
155 virtual void doBeginRunProduce_(
Run& rp,
EventSetup const& c);
167 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_
virtual bool hasAccumulator() const
std::unique_ptr< std::vector< BranchID >[]> gotBranchIDsFromAcquire_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ModuleDescription const & moduleDescription() const
std::string workerType() const