16 std::string
const& module_label,
17 std::string
const& instance_name)
22 ProductMetaData::instance().productList(),
32 std::string
const& module_label,
33 std::string
const& instance_name)
37 ProductMetaData::instance().productList(),
46 std::string
const& process_name,
49 std::string
const& module_label,
50 std::string
const& instance_name)
57 auto const it = product_list.find(bk);
58 if (it == product_list.end()) {
60 "art::get_ProductDescription"}
61 <<
"No product is registered for\n" 62 <<
" process name: '" << bk.processName_ <<
"'\n" 63 <<
" module label: '" << bk.moduleLabel_ <<
"'\n" 64 <<
" product friendly class name: '" << bk.friendlyClassName_ <<
"'\n" 65 <<
" product instance name: '" << bk.productInstanceName_ <<
"'\n" 66 <<
" branch type: '" << branch_type <<
"'\n";
BranchDescription const & get_ProductDescription(BranchType branch_type, std::string const &module_label, std::string const &instance_name)
std::string friendlyClassName() const
std::map< BranchKey, BranchDescription > ProductList
std::string const & processName() const
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
virtual BranchType branchType() const =0
ProcessConfiguration const & processConfiguration() const