Go to the documentation of this file. 1 #ifndef FWCore_Framework_stream_EDAnalyzerAdaptorBase_h
2 #define FWCore_Framework_stream_EDAnalyzerAdaptorBase_h
44 class ModuleCallingContext;
45 class ModuleProcessName;
46 class ProductResolverIndexHelper;
48 class PreallocationConfiguration;
49 class ProductResolverIndexAndSkipBit;
51 class ThinnedAssociationsHelper;
58 namespace eventsetup {
97 unsigned int iStreamModule = 0;
99 m = iFunc(iStreamModule);
120 std::vector<ModuleProcessName>& modulesInPreviousProcesses,
122 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
virtual void doBeginLuminosityBlock(LumiTransitionInfo const &, ModuleCallingContext const *)=0
virtual void doBeginJob()=0
virtual void doEndProcessBlock(ProcessBlockPrincipal const &, ModuleCallingContext const *)=0
uint32_t const T *__restrict__ const uint32_t *__restrict__ int32_t int Histo::index_type cudaStream_t stream
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
virtual void selectInputProcessBlocks(ProductRegistry const &, ProcessBlockHelperBase 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 &)
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
void doRespondToCloseInputFile(FileBlock const &)
virtual bool wantsInputProcessBlocks() const =0
virtual void preallocLumis(unsigned int)
void preActionBeforeRunEventAsync(WaitingTaskHolder, ModuleCallingContext const &, Principal const &) const
virtual void doRespondToCloseOutputFile()=0
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