LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
(
ProductDescriptions
const
& descriptions)
6
{
7
// This version stores the list of products that support views.
8
ViewLookup_t
result;
9
for
(
auto
const
& pd : descriptions) {
10
if
(!pd.supportsView())
11
continue
;
12
13
auto
const
& procName = pd.processName();
14
auto
const
pid
= pd.productID();
15
16
result[procName].emplace_back(
pid
);
17
}
18
return
result;
19
}
art::ProductDescriptions
std::vector< BranchDescription > ProductDescriptions
Definition:
BranchDescription.h:293
createViewLookups.h
art::ViewLookup_t
ProcessLookup ViewLookup_t
Definition:
type_aliases.h:17
pid
Definition:
Chi2ParticleID_module.cc:41
art::detail::createViewLookups
ViewLookup_t createViewLookups(ProductDescriptions const &descriptions)
Definition:
createViewLookups.cc:5
canvas
Persistency
Provenance
detail
createViewLookups.cc
Generated on Thu Jul 26 2018 13:09:44 for LArSoft by
1.8.11