1 #ifndef art_Framework_Core_ProducerBase_h 2 #define art_Framework_Core_ProducerBase_h 30 class BranchDescription;
31 class ModuleDescription;
45 template <
typename PROD, BranchType B>
47 std::string
const& instanceName)
const;
49 template <
typename UserConfig,
typename UserKeysToIgnore =
void>
54 template <
typename PROD, BranchType B>
57 std::string
const& instanceName)
const 60 get_ProductDescription<PROD>(
B, md.
moduleLabel(), instanceName);
61 return pd.productID();
66 operator<<(std::ostream& os, ProducerBase::Table<T>
const& t)
68 std::ostringstream config;
69 t.print_allowed_configuration(config, std::string(3,
' '));
70 return os << config.str();
void registerProducts(MasterProductRegistry &mpr, ProductDescriptions &productsToRegister, ModuleDescription const &md)
void produces(std::string const &instanceName={}, Persistable const persistable=Persistable::Yes)
ProductID getProductID(ModuleDescription const &moduleDescription, std::string const &instanceName) const
std::string const & moduleLabel() const
bool modifiesEvent() const
std::set< TypeLabel > const & expectedProducts() const