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,
void itemsToGet(BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
void registerProductsAndCallbacks(EDAnalyzerAdaptorBase const *, ProductRegistry *reg)
void doBeginStream(StreamID id)
virtual void setupStreamModules()=0
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom(BranchType) const
virtual void doBeginJob()=0
virtual void doEndProcessBlock(ProcessBlockPrincipal const &, ModuleCallingContext const *)=0
std::vector< EDAnalyzerBase * > m_streamModules
std::string workerType() const
void deleteModulesEarly()
virtual void doEndJob()=0
void doEndStream(StreamID id)
const EDConsumerBase * consumer() const
bool wantsStreamLuminosityBlocks() const
void doPreallocate(PreallocationConfiguration const &)
void updateLookup(BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
void doStreamEndLuminosityBlock(StreamID, LumiTransitionInfo const &, ModuleCallingContext const *)
bool wantsStreamRuns() const
virtual void doEndRun(RunTransitionInfo const &, ModuleCallingContext const *)=0
std::vector< ConsumesInfo > consumesInfo() const
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
const EDAnalyzerAdaptorBase & operator=(const EDAnalyzerAdaptorBase &)=delete
virtual bool wantsInputProcessBlocks() const =0
bool hasAccumulator() const
virtual void setupLuminosityBlock(EDAnalyzerBase *, LuminosityBlockIndex)=0
void doStreamBeginLuminosityBlock(StreamID, LumiTransitionInfo const &, ModuleCallingContext const *)
virtual void doAccessInputProcessBlock(ProcessBlockPrincipal const &, ModuleCallingContext const *)=0
void preActionBeforeRunEventAsync(WaitingTaskHolder, ModuleCallingContext const &, Principal const &) const
void doRegisterThinnedAssociations(ProductRegistry const &, ThinnedAssociationsHelper &)
void convertCurrentProcessAlias(std::string const &processName)
void createStreamModules(T iFunc)
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
virtual void doBeginProcessBlock(ProcessBlockPrincipal const &, ModuleCallingContext const *)=0
virtual bool wantsGlobalLuminosityBlocks() const =0
virtual void streamEndLuminosityBlockSummary(EDAnalyzerBase *, edm::LuminosityBlock const &, edm::EventSetup const &)=0
const ModuleDescription & moduleDescription() const
void setModuleDescription(ModuleDescription const &md)
virtual void setupRun(EDAnalyzerBase *, RunIndex)=0
virtual void doEndLuminosityBlock(LumiTransitionInfo const &, ModuleCallingContext const *)=0
void doRespondToOpenInputFile(FileBlock const &)
virtual void doBeginLuminosityBlock(LumiTransitionInfo const &, ModuleCallingContext const *)=0
virtual bool wantsProcessBlocks() const =0
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector(edm::Transition iTrans) const
std::vector< ESProxyIndex > const & esGetTokenIndicesVector(edm::Transition iTrans) const
void doRespondToCloseInputFile(FileBlock const &)
void doStreamBeginRun(StreamID, RunTransitionInfo const &, ModuleCallingContext const *)
virtual void doBeginRun(RunTransitionInfo const &, ModuleCallingContext const *)=0
virtual void preallocLumis(unsigned int)
virtual void doRespondToCloseOutputFile()=0
virtual void selectInputProcessBlocks(ProductRegistry const &, ProcessBlockHelperBase const &)=0
virtual ~EDAnalyzerAdaptorBase()
bool doEvent(EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *)
virtual void streamEndRunSummary(EDAnalyzerBase *, edm::Run const &, edm::EventSetup const &)=0
ModuleDescription moduleDescription_
void doStreamEndRun(StreamID, RunTransitionInfo const &, ModuleCallingContext const *)
virtual bool wantsGlobalRuns() const =0
void setModuleDescriptionPtr(EDAnalyzerBase *m)
void itemsMayGet(BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const