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())) {
87 std::vector<edm::ErrorSummaryEntry>
summary;
88 summary.reserve(mlSummary.size());
89 for (
auto&
entry : mlSummary) {
110 desc.addUntracked<std::vector<std::string>>(
"excludeModules", std::vector<std::string>{})
111 ->setComment(
"List of module labels to exclude from consumes.");
112 desc.addUntracked<std::vector<std::string>>(
"includeModules", std::vector<std::string>{})
113 ->setComment(
"List of the only module labels to include in consumes. The empty list will include all.");
114 descriptions.
add(
"logErrorHarvester",
desc);