1 #ifndef FWCore_Framework_stream_ProducingModuleAdaptorBase_h
2 #define FWCore_Framework_stream_ProducingModuleAdaptorBase_h
44 class ModuleCallingContext;
45 class ProductHolderIndexHelper;
47 class PreallocationConfiguration;
48 class ProductHolderIndexAndSkipBit;
49 class ProductRegistry;
50 class ThinnedAssociationsHelper;
53 template<
typename T>
class ModuleHolderT;
58 class ProducingModuleAdaptorBase
88 std::vector<char const*>& oModuleLabels)
const;
92 std::map<std::string, ModuleDescription const*>
const& labelsToDesc,
111 template<
typename L,
typename I>
ModuleDescription moduleDescription_
virtual void streamEndRunSummary(T *, edm::Run const &, edm::EventSetup const &)=0
void doStreamBeginRun(StreamID id, RunPrincipal const &ep, EventSetup const &c, ModuleCallingContext const *)
void commit(Event &iEvent, L *iList, I *iID)
void doRegisterThinnedAssociations(ProductRegistry const &, ThinnedAssociationsHelper &)
void doRespondToOpenInputFile(FileBlock const &fb)
void modulesDependentUpon(std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
void doPreallocate(PreallocationConfiguration const &)
void doPreForkReleaseResources()
virtual void doBeginRun(RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *)=0
std::vector< ConsumesInfo > consumesInfo() const
void doStreamEndLuminosityBlock(StreamID id, LuminosityBlockPrincipal const &ep, EventSetup const &c, ModuleCallingContext const *)
const EDConsumerBase * consumer()
virtual ~ProducingModuleAdaptorBase()
virtual void setupRun(T *, RunIndex)=0
void itemsToGet(BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
void registerProductsAndCallbacks(ProducingModuleAdaptorBase const *, ProductRegistry *reg)
void setModuleDescription(ModuleDescription const &md)
virtual void streamEndLuminosityBlockSummary(T *, edm::LuminosityBlock const &, edm::EventSetup const &)=0
void doEndStream(StreamID id)
const ProducingModuleAdaptorBase & operator=(const ProducingModuleAdaptorBase &)=delete
virtual void doEndRun(RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *)=0
void createStreamModules(F iFunc)
const std::complex< double > I
ProducingModuleAdaptorBase()
virtual void doBeginLuminosityBlock(LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *)=0
void doStreamEndRun(StreamID id, RunPrincipal const &ep, EventSetup const &c, ModuleCallingContext const *)
const ModuleDescription & moduleDescription() const
void doBeginStream(StreamID id)
void itemsMayGet(BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
virtual void setupLuminosityBlock(T *, LuminosityBlockIndex)=0
void updateLookup(BranchType iBranchType, ProductHolderIndexHelper const &)
void modulesWhoseProductsAreConsumed(std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
void commit_(std::vector< BranchID > *previousParentage=0, ParentageID *previousParentageId=0)
virtual void setupStreamModules()=0
void commit(LuminosityBlock &iLumi)
std::vector< ProductHolderIndexAndSkipBit > const & itemsToGetFromEvent() const
void doRespondToCloseInputFile(FileBlock const &fb)
std::vector< T * > m_streamModules
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
void doStreamBeginLuminosityBlock(StreamID id, LuminosityBlockPrincipal const &ep, EventSetup const &c, ModuleCallingContext const *)
virtual void doEndLuminosityBlock(LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *)=0
void doPostForkReacquireResources(unsigned int iChildIndex, unsigned int iNumberOfChildren)
virtual void doEndJob()=0