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
86 std::vector<const char*>& oModuleLabels)
const;
90 std::map<std::string, ModuleDescription const*>
const& labelsToDesc,
109 template<
typename L,
typename I>
ModuleDescription moduleDescription_
virtual void streamEndRunSummary(T *, edm::Run const &, edm::EventSetup const &)=0
void commit(Event &iEvent, L *iList, I *iID)
void doRegisterThinnedAssociations(ProductRegistry const &, ThinnedAssociationsHelper &)
void doStreamEndRun(StreamID id, RunPrincipal &ep, EventSetup const &c, ModuleCallingContext const *)
const ModuleDescription & moduleDescription()
void doRespondToOpenInputFile(FileBlock const &fb)
void doPreallocate(PreallocationConfiguration const &)
void doPreForkReleaseResources()
virtual void doEndLuminosityBlock(LuminosityBlockPrincipal &lbp, EventSetup const &c, ModuleCallingContext const *)=0
void doStreamBeginLuminosityBlock(StreamID id, LuminosityBlockPrincipal &ep, EventSetup const &c, ModuleCallingContext const *)
std::vector< ConsumesInfo > consumesInfo() const
virtual void doBeginRun(RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *)=0
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
void createStreamModules(F iFunc)
const std::complex< double > I
void doStreamEndLuminosityBlock(StreamID id, LuminosityBlockPrincipal &ep, EventSetup const &c, ModuleCallingContext const *)
ProducingModuleAdaptorBase()
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 doStreamBeginRun(StreamID id, RunPrincipal &ep, EventSetup const &c, ModuleCallingContext const *)
virtual void doEndRun(RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *)=0
virtual void doBeginLuminosityBlock(LuminosityBlockPrincipal &lbp, EventSetup const &c, ModuleCallingContext const *)=0
void modulesDependentUpon(const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const
void doPostForkReacquireResources(unsigned int iChildIndex, unsigned int iNumberOfChildren)
virtual void doEndJob()=0