Go to the documentation of this file. 1 #ifndef FWCore_Framework_stream_EDAnalyzerAdaptorBase_h
2 #define FWCore_Framework_stream_EDAnalyzerAdaptorBase_h
40 class ModuleCallingContext;
41 class ProductResolverIndexHelper;
43 class PreallocationConfiguration;
44 class ProductResolverIndexAndSkipBit;
46 class ProductRegistry;
47 class ThinnedAssociationsHelper;
55 namespace eventsetup {
108 std::map<std::string, ModuleDescription const*>
const& labelsToDesc,
virtual void setupRun(EDAnalyzerBase *, RunIndex)=0
void setModuleDescriptionPtr(EDAnalyzerBase *m)
void itemsToGet(BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
void preActionBeforeRunEventAsync(WaitingTask *iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const
void doBeginStream(StreamID id)
std::vector< ConsumesInfo > consumesInfo() const
void doRespondToCloseInputFile(FileBlock const &fb)
virtual void doBeginJob()=0
void doStreamEndRun(StreamID id, RunPrincipal const &ep, EventSetupImpl const &c, ModuleCallingContext const *)
bool doEvent(EventPrincipal const &ep, EventSetupImpl const &c, ActivityRegistry *, ModuleCallingContext const *)
virtual void doBeginRun(RunPrincipal const &rp, EventSetupImpl const &c, ModuleCallingContext const *)=0
void doEndStream(StreamID id)
virtual ~EDAnalyzerAdaptorBase()
virtual void streamEndLuminosityBlockSummary(EDAnalyzerBase *, edm::LuminosityBlock const &, edm::EventSetup const &)=0
virtual void doEndLuminosityBlock(LuminosityBlockPrincipal const &lbp, EventSetupImpl const &c, ModuleCallingContext const *)=0
const EDAnalyzerAdaptorBase & operator=(const EDAnalyzerAdaptorBase &)=delete
void modulesWhoseProductsAreConsumed(std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
void createStreamModules(T iFunc)
virtual void setupStreamModules()=0
void doRegisterThinnedAssociations(ProductRegistry const &, ThinnedAssociationsHelper &)
std::string workerType() const
virtual bool wantsGlobalLuminosityBlocks() const =0
virtual void streamEndRunSummary(EDAnalyzerBase *, edm::Run const &, edm::EventSetup const &)=0
void registerProductsAndCallbacks(EDAnalyzerAdaptorBase const *, ProductRegistry *reg)
void doRespondToOpenInputFile(FileBlock const &fb)
bool wantsStreamRuns() const
void doStreamBeginLuminosityBlock(StreamID id, LuminosityBlockPrincipal const &ep, EventSetupImpl const &c, ModuleCallingContext const *)
void updateLookup(BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
bool hasAccumulator() const
void setModuleDescription(ModuleDescription const &md)
virtual void doEndJob()=0
void doStreamBeginRun(StreamID id, RunPrincipal const &ep, EventSetupImpl const &c, ModuleCallingContext const *)
void doPreallocate(PreallocationConfiguration const &)
std::vector< EDAnalyzerBase * > m_streamModules
virtual void doBeginLuminosityBlock(LuminosityBlockPrincipal const &lbp, EventSetupImpl const &c, ModuleCallingContext const *)=0
void doStreamEndLuminosityBlock(StreamID id, LuminosityBlockPrincipal const &ep, EventSetupImpl const &c, ModuleCallingContext const *)
virtual void preallocLumis(unsigned int)
void itemsMayGet(BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom(BranchType) const
virtual void setupLuminosityBlock(EDAnalyzerBase *, LuminosityBlockIndex)=0
void convertCurrentProcessAlias(std::string const &processName)
const EDConsumerBase * consumer() const
virtual void doEndRun(RunPrincipal const &rp, EventSetupImpl const &c, ModuleCallingContext const *)=0
const ModuleDescription & moduleDescription() const
ModuleDescription moduleDescription_
virtual bool wantsGlobalRuns() const =0
bool wantsStreamLuminosityBlocks() const