Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
canvas
canvas
Persistency
Provenance
detail
createViewLookups.cc
Go to the documentation of this file.
1
#include "
canvas/Persistency/Provenance/detail/createViewLookups.h
"
2
// vim: set sw=2:
3
4
art::ViewLookup_t
5
art::detail::createViewLookups
(
ProductDescriptionsByID
const
& descriptions)
6
{
7
// This version stores the list of products that support views.
8
ViewLookup_t
result
;
9
for
(
auto
const
& pr : descriptions) {
10
auto
const
& pd = pr.second;
11
if
(!pd.supportsView())
12
continue
;
13
14
auto
const
& procName = pd.processName();
15
auto
const
pid
= pr.first;
16
17
result[procName].emplace_back(
pid
);
18
}
19
return
result
;
20
}
result
static QCString result
Definition:
fortranscanner.cpp:56614
art::detail::createViewLookups
ViewLookup_t createViewLookups(ProductDescriptionsByID const &descriptions)
Definition:
createViewLookups.cc:5
createViewLookups.h
art::ViewLookup_t
ProcessLookup ViewLookup_t
Definition:
type_aliases.h:18
art::ProductDescriptionsByID
std::map< ProductID, BranchDescription > ProductDescriptionsByID
Definition:
BranchDescription.h:285
pid
Definition:
Chi2ParticleID_module.cc:24
Generated by
1.8.11