Public Member Functions | Private Attributes | List of all members
art::ProductRegistryHelper Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v3_05_01/source/art/Framework/Core/ProductRegistryHelper.h"

Inheritance diagram for art::ProductRegistryHelper:
art::Modifier art::ProducingService art::ResultsProducer art::detail::Filter art::detail::Producer calib::AttenuationFit calib::MakeAttenuationProfiles calib::SumAttenuationProfiles cmf::CMFDecorrelator cmf::CombineResults cmf::ContourFromGrid cmf::ContourFromLibrary cmf::CovarianceMatrixFitter cmf::CovarianceMatrixMaker cmf::FitFeldmanCousinsPoint cmf::GridPointsBestFit cmf::PredictionLibraryMaker cmf::RandomUniverses cmf::SpectraFromPredictions skim::POTSummary

Public Member Functions

 ProductRegistryHelper ()
 
 ~ProductRegistryHelper ()
 
 ProductRegistryHelper (ProductRegistryHelper const &)=delete
 
 ProductRegistryHelper (ProductRegistryHelper &&)=delete
 
ProductRegistryHelperoperator= (ProductRegistryHelper const &)=delete
 
ProductRegistryHelperoperator= (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)
 
ProducesCollectorproducesCollector () noexcept
 

Private Attributes

std::unique_ptr< ProductList const > productList_ {nullptr}
 
ProducesCollector collector_
 

Detailed Description

Definition at line 44 of file ProductRegistryHelper.h.

Constructor & Destructor Documentation

art::ProductRegistryHelper::ProductRegistryHelper ( )
art::ProductRegistryHelper::~ProductRegistryHelper ( )
art::ProductRegistryHelper::ProductRegistryHelper ( ProductRegistryHelper const &  )
delete
art::ProductRegistryHelper::ProductRegistryHelper ( ProductRegistryHelper &&  )
delete

Member Function Documentation

template<BranchType B>
TypeLabelLookup_t const & art::ProductRegistryHelper::expectedProducts ( ) const
inline

Definition at line 97 of file ProductRegistryHelper.h.

References collector_, and art::ProducesCollector::expectedProducts().

Referenced by productList().

98  {
99  return collector_.expectedProducts(B);
100  }
TypeLabelLookup_t const & expectedProducts(BranchType) const
void art::ProductRegistryHelper::fillDescriptions ( ModuleDescription const &  md)

Referenced by productList().

ProductRegistryHelper& art::ProductRegistryHelper::operator= ( ProductRegistryHelper const &  )
delete
ProductRegistryHelper& art::ProductRegistryHelper::operator= ( ProductRegistryHelper &&  )
delete
template<typename P , art::BranchType B>
void art::ProductRegistryHelper::produces ( std::string const &  instanceName = {},
Persistable const  persistable = Persistable::Yes 
)
inline

Definition at line 104 of file ProductRegistryHelper.h.

References collector_, P, and art::ProducesCollector::produces().

Referenced by caf::CAFMaker::CAFMaker(), and productList().

106  {
107  collector_.produces<P, B>(instanceName, persistable);
108  }
#define P(a, b, c, d, e, x)
void produces(std::string const &instanceName={}, Persistable const persistable=Persistable::Yes)
ProducesCollector& art::ProductRegistryHelper::producesCollector ( )
inlinenoexcept

Definition at line 85 of file ProductRegistryHelper.h.

References collector_.

Referenced by art::MixFilter< T, IOPolicy >::MixFilter().

86  {
87  return collector_;
88  }
void art::ProductRegistryHelper::productList ( std::unique_ptr< ProductList p)
inline

Definition at line 57 of file ProductRegistryHelper.h.

References expectedProducts(), fillDescriptions(), fetch_tb_beamline_files::md, produces(), productList_, reconstitutes(), registerProducts(), string, and art::Yes.

58  {
59  productList_ = move(p);
60  }
const char * p
Definition: xmltok.h:285
std::unique_ptr< ProductList const > productList_
template<typename P , BranchType B>
TypeLabel const & art::ProductRegistryHelper::reconstitutes ( std::string const &  modLabel,
std::string const &  instanceName = {} 
)
void art::ProductRegistryHelper::registerProducts ( ProductDescriptions productsToRegister,
ModuleDescription const &  md 
)

Member Data Documentation

ProducesCollector art::ProductRegistryHelper::collector_
private
std::unique_ptr<ProductList const> art::ProductRegistryHelper::productList_ {nullptr}
private

Definition at line 91 of file ProductRegistryHelper.h.

Referenced by productList().


The documentation for this class was generated from the following file: