LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "ProductRegistryHelper.h"
Public Member Functions | |
void | productList (ProductList *p) |
void | registerProducts (MasterProductRegistry &mpr, ProductDescriptions &productsToRegister, ModuleDescription const &md) |
template<typename P , BranchType B = InEvent> | |
void | produces (std::string const &instanceName={}, Persistable const persistable=Persistable::Yes) |
template<typename P , BranchType B> | |
TypeLabel const & | reconstitutes (std::string const &modLabel, std::string const &instanceName={}) |
template<BranchType B> | |
std::set< TypeLabel > const & | expectedProducts () const |
template<typename P , art::BranchType B> | |
art::TypeLabel const & | reconstitutes (std::string const &emulatedModule, std::string const &instanceName) |
Private Member Functions | |
TypeLabel const & | insertOrThrow (BranchType const bt, TypeLabel const &tl) |
Private Attributes | |
std::array< std::set< TypeLabel >, NumBranchTypes > | typeLabelList_ |
std::unique_ptr< ProductList > | productList_ |
Definition at line 81 of file ProductRegistryHelper.h.
|
inline |
Definition at line 111 of file ProductRegistryHelper.h.
References B, and typeLabelList_.
|
inlineprivate |
Definition at line 118 of file ProductRegistryHelper.h.
References art::TypeLabel::friendlyClassName(), art::errors::LogicError, art::TypeLabel::productInstanceName(), and typeLabelList_.
Referenced by produces(), and reconstitutes().
|
inline |
Definition at line 141 of file ProductRegistryHelper.h.
References B, insertOrThrow(), art::No, art::detail::verifyFriendlyClassName(), and art::detail::verifyInstanceName().
Referenced by larg4::LArG4::LArG4(), art::MixHelper::produces(), recob::ChargedSpacePointCollectionCreator::produces(), and productList().
|
inline |
Definition at line 86 of file ProductRegistryHelper.h.
References produces(), productList_, reconstitutes(), registerProducts(), and art::Yes.
TypeLabel const& art::ProductRegistryHelper::reconstitutes | ( | std::string const & | modLabel, |
std::string const & | instanceName = {} |
||
) |
art::TypeLabel const& art::ProductRegistryHelper::reconstitutes | ( | std::string const & | emulatedModule, |
std::string const & | instanceName | ||
) |
Definition at line 155 of file ProductRegistryHelper.h.
References B, insertOrThrow(), art::detail::verifyFriendlyClassName(), and art::detail::verifyInstanceName().
void art::ProductRegistryHelper::registerProducts | ( | MasterProductRegistry & | mpr, |
ProductDescriptions & | productsToRegister, | ||
ModuleDescription const & | md | ||
) |
Definition at line 59 of file ProductRegistryHelper.cc.
References art::MasterProductRegistry::addProductsFromModule(), art::InEvent, art::NumBranchTypes, productList_, typeLabelList_, and art::MasterProductRegistry::updateFromModule().
Referenced by art::Source< T >::finishProductRegistration_(), productList(), and art::ResultsProducer::registerProducts().
|
private |
Definition at line 136 of file ProductRegistryHelper.h.
Referenced by productList(), and registerProducts().
|
private |
Definition at line 131 of file ProductRegistryHelper.h.
Referenced by expectedProducts(), insertOrThrow(), and registerProducts().