1 #ifndef FWCore_Framework_limited_EDAnalyzerBase_h 2 #define FWCore_Framework_limited_EDAnalyzerBase_h 33 class ModuleCallingContext;
34 class PreallocationConfiguration;
37 class ProductRegistry;
38 class ThinnedAssociationsHelper;
42 template<
typename T>
class ModuleHolderT;
65 virtual bool wantsGlobalRuns()
const =0;
66 virtual bool wantsGlobalLuminosityBlocks()
const =0;
67 virtual bool wantsStreamRuns()
const =0;
68 virtual bool wantsStreamLuminosityBlocks()
const =0;
96 void doStreamBeginLuminosityBlock(
StreamID id,
100 void doStreamEndLuminosityBlock(
StreamID id,
116 void doRespondToOpenInputFile(
FileBlock const&
fb);
117 void doRespondToCloseInputFile(
FileBlock const& fb);
129 virtual void preallocStreams(
unsigned int);
131 virtual void doBeginStream_(
StreamID id);
132 virtual void doEndStream_(
StreamID id);
140 virtual void doBeginRun_(
Run const& rp,
EventSetup const& c);
141 virtual void doBeginRunSummary_(
Run const& rp,
EventSetup const& c);
142 virtual void doEndRunSummary_(
Run const& rp,
EventSetup const& c);
152 moduleDescription_ = md;
void registerProductsAndCallbacks(ProductRegistry *iReg) override
ModuleDescription moduleDescription_
def analyze(function, filename, filter=None)
ModuleDescription const & moduleDescription() const
void preActionBeforeRunEventAsync(WaitingTask *iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const
void preallocate(PreallocationConfiguration const &iPrealloc) override
void doRegisterThinnedAssociations(ProductRegistry const &, ThinnedAssociationsHelper &)
EDAnalyzerBase ModuleType
void setModuleDescription(ModuleDescription const &md)
std::function< void(BranchDescription const &)> callWhenNewProductsRegistered_
std::string workerType() const
LimitedTaskQueue & queue()
unsigned int concurrencyLimit() const