LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ProducesCollector.h"
Public Member Functions | |
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={}) |
TypeLabelLookup_t const & | expectedProducts (BranchType) const |
void | fillDescriptions (ModuleDescription const &md) |
Private Member Functions | |
TypeLabel const & | insertOrThrow (BranchType const bt, TypeLabel const &tl) |
Private Attributes | |
std::array< TypeLabelLookup_t, NumBranchTypes > | typeLabelList_ {{}} |
Definition at line 55 of file ProducesCollector.h.
|
inline |
Definition at line 81 of file ProducesCollector.h.
Referenced by art::ProductRegistryHelper::registerProducts().
void art::ProducesCollector::fillDescriptions | ( | ModuleDescription const & | md | ) |
Definition at line 88 of file ProducesCollector.cc.
References art::for_each_branch_type(), art::ModuleDescription::moduleLabel(), art::ModuleDescription::parameterSetID(), and art::ModuleDescription::processConfiguration().
Referenced by art::ProductRegistryHelper::fillDescriptions().
|
private |
Definition at line 69 of file ProducesCollector.cc.
References art::TypeLabel::className(), art::TypeLabel::productInstanceName(), and art::errors::ProductRegistrationFailure.
|
inline |
Definition at line 88 of file ProducesCollector.h.
References art::No, art::detail::verifyFriendlyClassName(), and art::detail::verifyInstanceName().
Referenced by recob::HitAndAssociationsWriterBase::declare_products(), larg4::LArG4DetectorService::doCallArtProduces(), nnet::EmTrack< N >::EmTrack(), ShowerRecoTools::IShowerTool::InitialiseProduct(), artg4tk::DummyService::notifyArtOfProduction(), lar_cluster3d::SpacePointHit3DBuilder::produces(), lar_cluster3d::StandardHit3DBuilder::produces(), lar_cluster3d::SnippetHit3DBuilder::produces(), art::MixHelper::produces(), recob::ChargedSpacePointCollectionCreator::produces(), and anab::FVectorWriter< N >::produces_using().
TypeLabel const & art::ProducesCollector::reconstitutes | ( | std::string const & | modLabel, |
std::string const & | instanceName = {} |
||
) |
Definition at line 102 of file ProducesCollector.h.
References art::detail::verifyFriendlyClassName(), and art::detail::verifyInstanceName().
|
private |
Definition at line 77 of file ProducesCollector.h.