33 #include <unordered_set>
58 auto const&
ignore = iPSet.getUntrackedParameter<std::vector<std::string>>(
"excludeModules");
59 const std::unordered_set<std::string> excludedModules(
ignore.begin(),
ignore.end());
61 auto const& includeM = iPSet.getUntrackedParameter<std::vector<std::string>>(
"includeModules");
62 const std::unordered_set<std::string>
includeModules(includeM.begin(), includeM.end());
65 callWhenNewProductsRegistered(
66 [
this, endPathStatusType, pathStatusType, triggerResultsType, excludedModules,
includeModules](
72 if (excludedModules.end() == excludedModules.find(iBD.
moduleLabel())) {
99 desc.addUntracked<std::vector<std::string>>(
"excludeModules", std::vector<std::string>{})
100 ->setComment(
"List of module labels to exclude from consumes.");
101 desc.addUntracked<std::vector<std::string>>(
"includeModules", std::vector<std::string>{})
102 ->setComment(
"List of the only module labels to include in consumes. The empty list will include all.");
103 descriptions.
add(
"logErrorHarvester",
desc);