1 #ifndef art_Framework_Core_ResultsProducer_h 2 #define art_Framework_Core_ResultsProducer_h 101 template <
typename UserConfig,
typename KeysToIgnore =
void>
130 virtual void clear() = 0;
150 ProductRegistryHelper::produces<P, InResults>(instanceName);
160 #define DEFINE_ART_RESULTS_PLUGIN(klass) \ 161 EXTERN_C_FUNC_DECLARE_START \ 162 CET_PROVIDE_FILE_PATH() \ 163 FHICL_PROVIDE_ALLOWED_CONFIGURATION(klass) \ 164 DEFINE_BASIC_PLUGINTYPE_FUNC(art::ResultsProducer) \ 165 std::unique_ptr<art::RPWorker> makeRP(art::RPParams const& rpParams, \ 166 fhicl::ParameterSet const& ps) \ 168 return std::make_unique<art::RPWorkerT<klass>>(rpParams, ps); \ 170 EXTERN_C_FUNC_DECLARE_END virtual void beginSubRun(SubRun const &)
void registerProducts(ProductDescriptions &producedProducts, ModuleDescription const &md)
static std::string const value
void doEvent(EventPrincipal const &)
void doBeginSubRun(SubRunPrincipal const &)
void doWriteResults(ResultsPrincipal &)
void doReadResults(ResultsPrincipal const &)
ResultsProducer() noexcept(false)
std::vector< BranchDescription > ProductDescriptions
void doEndRun(RunPrincipal const &)
virtual void writeResults(Results &)=0
virtual void endSubRun(SubRun const &)
void doBeginRun(RunPrincipal const &)
virtual void event(Event const &)
void doEndSubRun(SubRunPrincipal const &)
virtual ~ResultsProducer() noexcept=default
virtual void readResults(Results const &)
void produces(std::string const &instanceName={})
virtual void beginRun(Run const &)
virtual void endRun(Run const &)