LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
createViewLookups.cc
Go to the documentation of this file.
2 // vim: set sw=2:
3 
6 {
7  // This version stores the list of products that support views.
8  ViewLookup_t result;
9  for (auto const& [pid, pd] : descriptions) {
10  if (!pd.supportsView())
11  continue;
12 
13  auto const& procName = pd.processName();
14  result[procName].emplace_back(pid);
15  }
16  return result;
17 }
ViewLookup_t createViewLookups(ProductDescriptionsByID const &descriptions)
ProcessLookup ViewLookup_t
Definition: type_aliases.h:18
std::map< ProductID, BranchDescription > ProductDescriptionsByID