LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ProductRegistryHelper.h"
Public Member Functions | |
ProductRegistryHelper (product_creation_mode) | |
~ProductRegistryHelper () | |
ProductRegistryHelper (ProductRegistryHelper const &)=delete | |
ProductRegistryHelper (ProductRegistryHelper &&)=delete | |
ProductRegistryHelper & | operator= (ProductRegistryHelper const &)=delete |
ProductRegistryHelper & | operator= (ProductRegistryHelper &&)=delete |
void | productList (std::unique_ptr< ProductList > p) |
void | registerProducts (ProductDescriptions &productsToRegister, ModuleDescription const &md) |
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 |
Private Attributes | |
std::unique_ptr< ProductList const > | productList_ {nullptr} |
product_creation_mode | mode_ |
ProducesCollector | collector_ |
Definition at line 39 of file ProductRegistryHelper.h.
|
explicit |
Definition at line 19 of file ProductRegistryHelper.cc.
|
default |
|
delete |
|
delete |
|
inline |
Definition at line 93 of file ProductRegistryHelper.h.
Referenced by registerProducts().
void art::ProductRegistryHelper::fillDescriptions | ( | ModuleDescription const & | md | ) |
Definition at line 48 of file ProductRegistryHelper.cc.
References collector_, and art::ProducesCollector::fillDescriptions().
Referenced by art::Modifier::fillProductDescriptions(), and registerProducts().
|
delete |
|
delete |
|
inline |
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().
|
inlinenoexcept |
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().
|
inline |
Definition at line 52 of file ProductRegistryHelper.h.
References art::produces, art::reconstitutes, and art::Yes.
TypeLabel const & art::ProductRegistryHelper::reconstitutes | ( | std::string const & | modLabel, |
std::string const & | instanceName = {} |
||
) |
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::ProductRegistryHelper::registerProducts | ( | ProductDescriptions & | productsToRegister, |
ModuleDescription const & | md | ||
) |
Definition at line 24 of file ProductRegistryHelper.cc.
References collector_, expectedProducts(), art::ProducesCollector::expectedProducts(), fillDescriptions(), art::for_each_branch_type(), productList_, and util::values().
Referenced by art::Source< T >::finishProductRegistration_(), and art::Modifier::registerProducts().
|
private |
Definition at line 88 of file ProductRegistryHelper.h.
Referenced by fillDescriptions(), and registerProducts().
|
private |
Definition at line 87 of file ProductRegistryHelper.h.
|
private |
Definition at line 86 of file ProductRegistryHelper.h.
Referenced by registerProducts().