LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
ProductList.h
Go to the documentation of this file.
1 #ifndef canvas_Persistency_Provenance_ProductList_h
2 #define canvas_Persistency_Provenance_ProductList_h
3 // ProductList
5 //
6 // This is a very-badly-named typedef; please make it go away soon.
8 
11 #include "cetlib/container_algorithms.h"
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  {
21  ProductDescriptions result;
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
HLT enums.
auto make_product_descriptions(ProductList const &productList)
Definition: ProductList.h:19