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;
66 virtual bool wantsGlobalRuns()
const = 0;
67 virtual bool wantsGlobalLuminosityBlocks()
const = 0;
68 virtual bool wantsStreamRuns()
const = 0;
69 virtual bool wantsStreamLuminosityBlocks()
const = 0;
72 callWhenNewProductsRegistered_ =
func;
94 void doStreamBeginLuminosityBlock(
StreamID id,
98 void doStreamEndLuminosityBlock(
StreamID id,
113 void doRespondToOpenInputFile(
FileBlock const&
fb);
114 void doRespondToCloseInputFile(
FileBlock const& fb);
124 virtual void preallocStreams(
unsigned int);
125 virtual void preallocLumis(
unsigned int);
127 virtual void doBeginStream_(
StreamID id);
128 virtual void doEndStream_(
StreamID id);
136 virtual void doBeginRun_(
Run const& rp,
EventSetup const& c);
137 virtual void doBeginRunSummary_(
Run const& rp,
EventSetup const& c);
138 virtual void doEndRunSummary_(
Run const& rp,
EventSetup const& c);
void registerProductsAndCallbacks(ProductRegistry *iReg) override
ModuleDescription moduleDescription_
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 &)
example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
bool hasAccumulator() const
EDAnalyzerBase ModuleType
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void callWhenNewProductsRegistered(std::function< void(BranchDescription const &)> const &func)
void setModuleDescription(ModuleDescription const &md)
std::function< void(BranchDescription const &)> callWhenNewProductsRegistered_
std::string workerType() const
LimitedTaskQueue & queue()
unsigned int concurrencyLimit() const