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);
static void fillDescriptions(ConfigurationDescriptions &descriptions)
bool EnableLoggedErrorsSummary()
BranchType const & branchType() const
TypeID unwrappedTypeID() const
std::string const & processName() const
bool FreshErrorsExist(unsigned int iStreamID)
bool DisableLoggedErrorsSummary()
std::string const & productInstanceName() const
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
#define DEFINE_FWK_MODULE(type)
EDPutTokenT< std::vector< ErrorSummaryEntry > > token_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::vector< messagelogger::ErrorSummaryEntry > LoggedErrorsSummary(unsigned int iStreamID)
void produce(StreamID, Event &, EventSetup const &) const override
unsigned int value() const
LogErrorHarvester(ParameterSet const &)
std::string const & moduleLabel() const