LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ResultsProducer.h"
Public Types | |
template<typename UserConfig , typename KeysToIgnore = void> | |
using | Table = ProducerTable< UserConfig, detail::PluginConfig, KeysToIgnore > |
Public Member Functions | |
virtual | ~ResultsProducer () noexcept=default |
ResultsProducer () noexcept(false) | |
void | doBeginJob () |
void | doEndJob () |
void | doBeginRun (RunPrincipal const &) |
void | doEndRun (RunPrincipal const &) |
void | doBeginSubRun (SubRunPrincipal const &) |
void | doEndSubRun (SubRunPrincipal const &) |
void | doEvent (EventPrincipal const &) |
void | doReadResults (ResultsPrincipal const &) |
void | doWriteResults (ResultsPrincipal &) |
void | doClear () |
void | registerProducts (ProductDescriptions &producedProducts, ModuleDescription const &md) |
ModuleDescription const & | moduleDescription () const |
void | setModuleDescription (ModuleDescription const &) |
std::array< std::vector< ProductInfo >, NumBranchTypes > const & | getConsumables () const |
void | sortConsumables (std::string const ¤t_process_name) |
std::unique_ptr< Worker > | makeWorker (WorkerParams const &wp) |
template<typename T , BranchType BT> | |
ViewToken< T > | consumesView (InputTag const &tag) |
template<typename T , BranchType BT> | |
ViewToken< T > | mayConsumeView (InputTag const &tag) |
Protected Member Functions | |
template<class P > | |
void | produces (std::string const &instanceName={}) |
ConsumesCollector & | consumesCollector () |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | consumes (InputTag const &) |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | consumesView (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | consumesMany () |
template<typename T , BranchType = InEvent> | |
ProductToken< T > | mayConsume (InputTag const &) |
template<typename Element , BranchType = InEvent> | |
ViewToken< Element > | mayConsumeView (InputTag const &) |
template<typename T , BranchType = InEvent> | |
void | mayConsumeMany () |
Private Member Functions | |
std::unique_ptr< Worker > | doMakeWorker (WorkerParams const &wp) final |
virtual void | readResults (Results const &) |
virtual void | writeResults (Results &)=0 |
virtual void | clear ()=0 |
virtual void | beginJob () |
virtual void | endJob () |
virtual void | beginRun (Run const &) |
virtual void | endRun (Run const &) |
virtual void | beginSubRun (SubRun const &) |
virtual void | endSubRun (SubRun const &) |
virtual void | event (Event const &) |
hep::concurrency::SerialTaskQueueChain * | serialTaskQueueChain () const |
std::set< std::string > const & | sharedResources () const |
void | createQueues (SharedResources const &resources) |
template<BranchType BT = InEvent, typename... T> | |
void | serialize (T const &...) |
template<BranchType , typename... T> | |
void | serialize (T const &...resources) |
template<BranchType BT = InEvent, typename... T> | |
void | serializeExternal (T const &...) |
template<BranchType , typename... T> | |
void | serializeExternal (T const &...resources) |
template<BranchType BT = InEvent> | |
void | async () |
void | productList (std::unique_ptr< ProductList > p) |
void | fillDescriptions (ModuleDescription const &md) |
template<typename P , BranchType B> | |
TypeLabel const & | reconstitutes (std::string const &modLabel, std::string const &instanceName={}) |
template<BranchType B> | |
TypeLabelLookup_t const & | expectedProducts () const |
template<typename P , BranchType B = InEvent> | |
void | produces (std::string const &instanceName={}, Persistable const persistable=Persistable::Yes) |
ProducesCollector & | producesCollector () noexcept |
Definition at line 93 of file ResultsProducer.h.
using art::ResultsProducer::Table = ProducerTable<UserConfig, detail::PluginConfig, KeysToIgnore> |
Definition at line 102 of file ResultsProducer.h.
|
virtualdefaultnoexcept |
|
noexcept |
Definition at line 33 of file ResultsProducer.cc.
References art::detail::LegacyResource.
|
inlineprotectedinherited |
Definition at line 38 of file SharedModule.h.
References art::detail::SharedModule::asyncDeclared_, art::detail::SharedModule::implicit_serialize(), art::InEvent, and art::detail::SharedModule::serialize_for().
|
privatevirtual |
Definition at line 124 of file ResultsProducer.cc.
|
privatevirtual |
Definition at line 132 of file ResultsProducer.cc.
|
privatevirtual |
Definition at line 140 of file ResultsProducer.cc.
|
privatepure virtual |
|
protectedinherited |
Definition at line 61 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::consumes().
|
protectedinherited |
|
protectedinherited |
Definition at line 75 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::consumesMany().
|
protectedinherited |
|
inherited |
Definition at line 68 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::consumesView().
|
inherited |
Definition at line 34 of file SharedModule.cc.
References art::detail::SharedModule::asyncDeclared_, util::cbegin(), util::cend(), art::detail::SharedModule::chain_, art::detail::SharedResources::createQueues(), e, util::empty(), art::errors::LogicError, and art::detail::SharedModule::resourceNames_.
Referenced by art::OutputModule::doBeginJob(), art::SharedFilter::setupQueues(), art::SharedProducer::setupQueues(), art::SharedAnalyzer::setupQueues(), art::EDFilter::setupQueues(), art::EDProducer::setupQueues(), and art::EDAnalyzer::setupQueues().
void art::ResultsProducer::doBeginJob | ( | ) |
void art::ResultsProducer::doBeginRun | ( | RunPrincipal const & | rp | ) |
Definition at line 62 of file ResultsProducer.cc.
References art::RunPrincipal::makeRun().
void art::ResultsProducer::doBeginSubRun | ( | SubRunPrincipal const & | srp | ) |
Definition at line 76 of file ResultsProducer.cc.
References art::SubRunPrincipal::makeSubRun().
void art::ResultsProducer::doClear | ( | ) |
Definition at line 113 of file ResultsProducer.cc.
References clear().
void art::ResultsProducer::doEndJob | ( | ) |
Definition at line 56 of file ResultsProducer.cc.
void art::ResultsProducer::doEndRun | ( | RunPrincipal const & | rp | ) |
Definition at line 69 of file ResultsProducer.cc.
References art::RunPrincipal::makeRun().
void art::ResultsProducer::doEndSubRun | ( | SubRunPrincipal const & | srp | ) |
Definition at line 83 of file ResultsProducer.cc.
References art::SubRunPrincipal::makeSubRun().
void art::ResultsProducer::doEvent | ( | EventPrincipal const & | ep | ) |
Definition at line 90 of file ResultsProducer.cc.
References art::EventPrincipal::makeEvent().
|
finalprivatevirtual |
Implements art::ModuleBase.
Definition at line 27 of file ResultsProducer.cc.
References art::errors::LogicError.
void art::ResultsProducer::doReadResults | ( | ResultsPrincipal const & | resp | ) |
Definition at line 97 of file ResultsProducer.cc.
References art::ResultsPrincipal::makeResults().
void art::ResultsProducer::doWriteResults | ( | ResultsPrincipal & | resp | ) |
Definition at line 104 of file ResultsProducer.cc.
References art::ResultsPrincipal::makeResults().
|
privatevirtual |
Definition at line 128 of file ResultsProducer.cc.
|
privatevirtual |
Definition at line 136 of file ResultsProducer.cc.
|
privatevirtual |
Definition at line 144 of file ResultsProducer.cc.
|
privatevirtual |
Definition at line 148 of file ResultsProducer.cc.
|
inlineinherited |
Definition at line 93 of file ProductRegistryHelper.h.
Referenced by art::ProductRegistryHelper::registerProducts().
|
inherited |
Definition at line 48 of file ProductRegistryHelper.cc.
References art::ProductRegistryHelper::collector_, and art::ProducesCollector::fillDescriptions().
Referenced by art::Modifier::fillProductDescriptions(), and art::ProductRegistryHelper::registerProducts().
|
inherited |
Definition at line 43 of file ModuleBase.cc.
References art::ModuleBase::collector_, and art::ConsumesCollector::getConsumables().
|
inherited |
Definition at line 37 of file ModuleBase.cc.
References art::ModuleBase::doMakeWorker(), and art::NumBranchTypes.
|
protectedinherited |
Definition at line 82 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::mayConsume().
|
protectedinherited |
Definition at line 96 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::mayConsumeMany().
|
protectedinherited |
|
inherited |
Definition at line 89 of file ModuleBase.h.
References art::ModuleBase::collector_, and art::ConsumesCollector::mayConsumeView().
|
inherited |
Definition at line 13 of file ModuleBase.cc.
References art::errors::LogicError.
Referenced by art::OutputModule::doRespondToOpenInputFile(), art::OutputModule::doWriteEvent(), art::Modifier::fillProductDescriptions(), art::OutputModule::makePlugins_(), art::OutputWorker::OutputWorker(), reco::shower::LArPandoraModularShowerCreation::produce(), art::Modifier::registerProducts(), and art::OutputModule::registerProducts().
|
inlineinherited |
Definition at line 100 of file ProductRegistryHelper.h.
References art::errors::ProductRegistrationFailure, and art::reconstitutes.
Referenced by larg4::LArG4::LArG4(), trkf::PMAlgTrackMaker::PMAlgTrackMaker(), trkf::PMAlgTrajFitter::PMAlgTrajFitter(), and trkf::Track3DKalmanHit::Track3DKalmanHit().
|
inlineprotected |
Definition at line 150 of file ResultsProducer.h.
|
inlinenoexceptinherited |
Definition at line 80 of file ProductRegistryHelper.h.
Referenced by apa::APAHitFinder::APAHitFinder(), artg4tk::artg4tkMain::artg4tkMain(), lar_cluster3d::Cluster3D::Cluster3D(), cluster::ClusterCrawler::ClusterCrawler(), CRHitRemoval::CRHitRemoval(), hit::DisambigCheater::DisambigCheater(), hit::DPRawHitFinder::DPRawHitFinder(), nnet::EmTrackClusterId::EmTrackClusterId(), nnet::EmTrackClusterId2out::EmTrackClusterId2out(), nnet::EmTrackClusterId2outTl::EmTrackClusterId2outTl(), nnet::EmTrackClusterId3outTl::EmTrackClusterId3outTl(), nnet::EmTrackMichelId::EmTrackMichelId(), nnet::EmTrackMichelIdTl::EmTrackMichelIdTl(), hit::FFTHitFinder::FFTHitFinder(), hit::GausHitFinder::GausHitFinder(), hit::HitCheater::HitCheater(), hit::HitFinder::HitFinder(), larg4::larg4Main::larg4Main(), reco::shower::LArPandoraModularShowerCreation::LArPandoraModularShowerCreation(), cluster::LineCluster::LineCluster(), art::MixFilter< T, IOPolicy >::MixFilter(), hit::RawHitFinder::RawHitFinder(), wcls::WireCellToolkit::reconfigure(), hit::RFFHitFinder::RFFHitFinder(), cluster::TrajCluster::TrajCluster(), and hit::TTHitFinder::TTHitFinder().
|
inlineinherited |
Definition at line 52 of file ProductRegistryHelper.h.
References art::produces, art::reconstitutes, and art::Yes.
|
privatevirtual |
Definition at line 120 of file ResultsProducer.cc.
|
inherited |
Definition at line 117 of file ProductRegistryHelper.h.
References art::produces, and art::errors::ProductRegistrationFailure.
Referenced by lris::LArRawInputDriver::LArRawInputDriver(), lris::LArRawInputDriverJP250L::LArRawInputDriverJP250L(), lris::LArRawInputDriverLongBo::LArRawInputDriverLongBo(), lris::LArRawInputDriverShortBo::LArRawInputDriverShortBo(), and fluxr::PPFXFluxReader::PPFXFluxReader().
void art::ResultsProducer::registerProducts | ( | ProductDescriptions & | producedProducts, |
ModuleDescription const & | md | ||
) |
Definition at line 40 of file ResultsProducer.cc.
|
protectedinherited |
|
inherited |
Definition at line 83 of file SharedModule.h.
References art::detail::SharedModule::serialize_for_resource().
|
protectedinherited |
Referenced by wcls::WireCellToolkit::WireCellToolkit().
|
inherited |
Definition at line 90 of file SharedModule.h.
References art::detail::SharedModule::serialize_for_external_resource().
|
inherited |
Definition at line 22 of file SharedModule.cc.
References art::detail::SharedModule::chain_.
|
inherited |
|
inherited |
Definition at line 28 of file SharedModule.cc.
References art::detail::SharedModule::resourceNames_.
|
inherited |
Definition at line 49 of file ModuleBase.cc.
References art::ModuleBase::collector_, and art::ConsumesCollector::sortConsumables().
|
privatepure virtual |