1 #ifndef FWCore_Framework_one_EDAnalyzerBase_h 2 #define FWCore_Framework_one_EDAnalyzerBase_h 34 class ModuleCallingContext;
35 class PreallocationConfiguration;
36 class ActivityRegistry;
37 class ThinnedAssociationsHelper;
void doBeginProcessBlock(ProcessBlockPrincipal const &, ModuleCallingContext const *)
virtual SerialTaskQueue * globalLuminosityBlocksQueue()
std::string workerType() const
void doEndProcessBlock(ProcessBlockPrincipal const &, ModuleCallingContext const *)
virtual void doAccessInputProcessBlock_(ProcessBlock const &)
static const std::string & baseType()
virtual void doEndProcessBlock_(ProcessBlock const &)
void doBeginLuminosityBlock(LumiTransitionInfo const &, ModuleCallingContext const *)
virtual void preallocLumis(unsigned int)
static void prevalidate(ConfigurationDescriptions &descriptions)
virtual bool wantsGlobalLuminosityBlocks() const noexcept=0
void doRespondToCloseOutputFile()
void doPreallocate(PreallocationConfiguration const &)
SharedResourcesAcquirer & sharedResourcesAcquirer()
static void fillDescriptions(ConfigurationDescriptions &descriptions)
virtual void doEndRun_(Run const &rp, EventSetup const &c)
virtual void doEndLuminosityBlock_(LuminosityBlock const &lbp, EventSetup const &c)
bool wantsStreamRuns() const noexcept
void doRespondToOpenInputFile(FileBlock const &)
virtual SharedResourcesAcquirer createAcquirer()
virtual bool wantsProcessBlocks() const noexcept=0
virtual void analyze(Event const &, EventSetup const &)=0
virtual bool wantsInputProcessBlocks() const noexcept=0
void registerProductsAndCallbacks(EDAnalyzerBase const *module, ProductRegistry *reg)
bool hasAcquire() const noexcept
std::function< void(BranchDescription const &)> callWhenNewProductsRegistered_
virtual void clearInputProcessBlockCaches()
void doRespondToCloseInputFile(FileBlock const &)
virtual void preallocRuns(unsigned int)
void callWhenNewProductsRegistered(std::function< void(BranchDescription const &)> const &func)
void doAccessInputProcessBlock(ProcessBlockPrincipal const &, ModuleCallingContext const *)
EDAnalyzerBase ModuleType
SharedResourcesAcquirer resourcesAcquirer_
virtual void doBeginProcessBlock_(ProcessBlock const &)
ModuleDescription moduleDescription_
virtual SerialTaskQueue * globalRunsQueue()
bool hasAccumulator() const noexcept
virtual void doBeginLuminosityBlock_(LuminosityBlock const &lbp, EventSetup const &c)
ModuleDescription const & moduleDescription() const
void setModuleDescription(ModuleDescription const &md)
~EDAnalyzerBase() override
void doEndLuminosityBlock(LumiTransitionInfo const &, ModuleCallingContext const *)
void doRegisterThinnedAssociations(ProductRegistry const &, ThinnedAssociationsHelper &)
bool doEvent(EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *)
void doBeginRun(RunTransitionInfo const &, ModuleCallingContext const *)
virtual bool wantsGlobalRuns() const noexcept=0
void doEndRun(RunTransitionInfo const &, ModuleCallingContext const *)
void preActionBeforeRunEventAsync(WaitingTaskHolder, ModuleCallingContext const &, Principal const &) const noexcept
virtual void doBeginRun_(Run const &rp, EventSetup const &c)
bool wantsStreamLuminosityBlocks() const noexcept