1 #ifndef FWCore_Framework_EDProducer_h
2 #define FWCore_Framework_EDProducer_h
25 class ModuleCallingContext;
26 class PreallocationConfiguration;
30 template<
typename T>
class ModuleHolderT;
36 template <
typename T>
friend class WorkerT;
virtual void postForkReacquireResources(unsigned int, unsigned int)
void doPreallocate(PreallocationConfiguration const &)
static boost::mutex mutex
virtual void endRun(Run const &iR, EventSetup const &iE)
static const std::string & baseType()
void registerProducts(ProducerBase *, ProductRegistry *, ModuleDescription const &)
void doPostForkReacquireResources(unsigned int iChildIndex, unsigned int iNumberOfChildren)
virtual void respondToCloseInputFile(FileBlock const &)
ParentageID previousParentageId_
ModuleDescription const & moduleDescription() const
void doBeginRun(RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc)
void doEndRun(RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc)
std::vector< BranchID > previousParentage_
void setModuleDescription(ModuleDescription const &md)
virtual void beginRun(Run const &iR, EventSetup const &iE)
virtual void preForkReleaseResources()
void registerProductsAndCallbacks(EDProducer *module, ProductRegistry *reg)
void doPreForkReleaseResources()
static void prevalidate(ConfigurationDescriptions &descriptions)
ModuleDescription moduleDescription_
std::string workerType() const
bool doEvent(EventPrincipal &ep, EventSetup const &c, ActivityRegistry *act, ModuleCallingContext const *mcc)
static void fillDescriptions(ConfigurationDescriptions &descriptions)
void doRespondToOpenInputFile(FileBlock const &fb)
SharedResourcesAcquirer resourceAcquirer_
void doEndLuminosityBlock(LuminosityBlockPrincipal &lbp, EventSetup const &c, ModuleCallingContext const *mcc)
void doBeginLuminosityBlock(LuminosityBlockPrincipal &lbp, EventSetup const &c, ModuleCallingContext const *mcc)
virtual void respondToOpenInputFile(FileBlock const &)
virtual void beginLuminosityBlock(LuminosityBlock const &iL, EventSetup const &iE)
virtual void endLuminosityBlock(LuminosityBlock const &iL, EventSetup const &iE)
void doRespondToCloseInputFile(FileBlock const &fb)
virtual void produce(Event &, EventSetup const &)=0