1 #ifndef art_Persistency_Provenance_ProductMetaData_h 2 #define art_Persistency_Provenance_ProductMetaData_h 18 #include "cetlib/exempt_ptr.h" 24 class MPRGlobalTestFixture;
35 friend class ::MPRGlobalTestFixture;
44 "called before the sole " 45 "instance was created.";
60 <<
"ProductMetaData::create_instance called more than once.";
79 return mpr_->productList();
94 return mpr_->productProduced(which);
100 for (
auto const& pr :
mpr_->productList()) {
101 auto const& pd = pr.second;
102 if (pd.productID() == pid) {
103 return pd.inputTag();
110 cet::exempt_ptr<MasterProductRegistry const>
mpr_;
std::ostream & operator<<(std::ostream &os, EDAnalyzer::Table< T > const &t)
std::map< BranchKey, BranchDescription > ProductList
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception