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>
49 template <
typename UserConfig,
typename UserKeysToIgnore =
void>
54 template <
typename PROD, BranchType B>
60 get_ProductDescription<PROD>(B, md.
moduleLabel(), instanceName);
61 return pd.productID();
66 operator<<(std::ostream& os, ProducerBase::Table<T>
const&
t)
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
Service to store calibration data products (CDP) in the SQLite3 metadatabase of a file...