ProductList.h
Go to the documentation of this file.
1 #ifndef canvas_Persistency_Provenance_ProductList_h
2 #define canvas_Persistency_Provenance_ProductList_h
3 ////////////////////////////////////////////////////////////////////////
4 // ProductList
5 //
6 // This is a very-badly-named typedef; please make it go away soon.
7 ////////////////////////////////////////////////////////////////////////
8 
12 #include <map>
13 
14 namespace art {
15  typedef std::map<BranchKey, BranchDescription> ProductList;
16 
17  // FIXME--TEMPORARY INLINE FUNCTION
18  inline auto
19  make_product_descriptions(ProductList const& productList)
20  {
22  cet::transform_all(productList, back_inserter(result), [](auto const& pr) {
23  return pr.second;
24  });
25  return result;
26  }
27 }
28 
29 #endif /* canvas_Persistency_Provenance_ProductList_h */
30 
31 // Local Variables:
32 // mode: c++
33 // End:
std::map< BranchKey, BranchDescription > ProductList
Definition: ProductList.h:15
std::vector< BranchDescription > ProductDescriptions
auto transform_all(Container &, OutputIt, UnaryOp)
Service to store calibration data products (CDP) in the SQLite3 metadatabase of a file...
Definition: FillParentInfo.h:8
auto make_product_descriptions(ProductList const &productList)
Definition: ProductList.h:19