Go to the documentation of this file. 1 #ifndef FWCore_Framework_stream_EDAnalyzerAdaptorBase_h
2 #define FWCore_Framework_stream_EDAnalyzerAdaptorBase_h
43 class ModuleCallingContext;
44 class ModuleProcessName;
45 class ProductResolverIndexHelper;
47 class PreallocationConfiguration;
48 class ProductResolverIndexAndSkipBit;
50 class ThinnedAssociationsHelper;
57 namespace eventsetup {
116 std::vector<ModuleProcessName>& modulesInPreviousProcesses,
118 std::map<std::string, ModuleDescription const*>
const& labelsToDesc,
virtual void setupRun(EDAnalyzerBase *, RunIndex)=0
virtual void doEndLuminosityBlock(LumiTransitionInfo const &, ModuleCallingContext const *)=0
void setModuleDescriptionPtr(EDAnalyzerBase *m)
void itemsToGet(BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
void doBeginStream(StreamID id)
std::vector< ConsumesInfo > consumesInfo() const
void doRespondToCloseInputFile(FileBlock const &fb)
virtual void doBeginLuminosityBlock(LumiTransitionInfo const &, ModuleCallingContext const *)=0
virtual void doBeginJob()=0
virtual void doEndProcessBlock(ProcessBlockPrincipal const &, ModuleCallingContext const *)=0
void doEndStream(StreamID id)
virtual ~EDAnalyzerAdaptorBase()
virtual void streamEndLuminosityBlockSummary(EDAnalyzerBase *, edm::LuminosityBlock const &, edm::EventSetup const &)=0
const EDAnalyzerAdaptorBase & operator=(const EDAnalyzerAdaptorBase &)=delete
void doStreamEndLuminosityBlock(StreamID, LumiTransitionInfo const &, ModuleCallingContext const *)
virtual void doBeginRun(RunTransitionInfo const &, ModuleCallingContext const *)=0
void modulesWhoseProductsAreConsumed(std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modules, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
void doStreamBeginLuminosityBlock(StreamID, LumiTransitionInfo const &, ModuleCallingContext const *)
void createStreamModules(T iFunc)
virtual void setupStreamModules()=0
void doRegisterThinnedAssociations(ProductRegistry const &, ThinnedAssociationsHelper &)
virtual void doBeginProcessBlock(ProcessBlockPrincipal const &, ModuleCallingContext const *)=0
void doStreamEndRun(StreamID, RunTransitionInfo const &, ModuleCallingContext const *)
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 updateLookup(BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
bool hasAccumulator() const
void setModuleDescription(ModuleDescription const &md)
virtual void doEndJob()=0
void doPreallocate(PreallocationConfiguration const &)
virtual bool wantsProcessBlocks() const =0
void doStreamBeginRun(StreamID, RunTransitionInfo const &, ModuleCallingContext const *)
std::vector< EDAnalyzerBase * > m_streamModules
virtual bool wantsInputProcessBlocks() const =0
virtual void preallocLumis(unsigned int)
void preActionBeforeRunEventAsync(WaitingTaskHolder, ModuleCallingContext const &, Principal const &) const
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector(edm::Transition iTrans) const
void itemsMayGet(BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
virtual void doEndRun(RunTransitionInfo const &, ModuleCallingContext const *)=0
virtual void doAccessInputProcessBlock(ProcessBlockPrincipal const &, ModuleCallingContext const *)=0
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom(BranchType) const
bool doEvent(EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *)
virtual void setupLuminosityBlock(EDAnalyzerBase *, LuminosityBlockIndex)=0
void convertCurrentProcessAlias(std::string const &processName)
const EDConsumerBase * consumer() const
const ModuleDescription & moduleDescription() const
ModuleDescription moduleDescription_
std::vector< ESProxyIndex > const & esGetTokenIndicesVector(edm::Transition iTrans) const
virtual bool wantsGlobalRuns() const =0
bool wantsStreamLuminosityBlocks() const