32 #include <unordered_set> 54 produces<std::vector<ErrorSummaryEntry>>();
61 const std::unordered_set<std::string> excludedModules(
ignore.begin(),
ignore.end());
64 const std::unordered_set<std::string> includeModules(includeM.begin(),includeM.end());
68 endPathStatusType,pathStatusType,triggerResultsType,
72 ( (includeModules.empty()
or 73 includeModules.end() != includeModules.find(iBD.
moduleLabel())) and
77 if(excludedModules.end() == excludedModules.find(iBD.
moduleLabel())) {
91 iEvent.
put(std::make_unique<std::vector<ErrorSummaryEntry>>());
114 desc.
addUntracked<std::vector<std::string>>(
"excludeModules",std::vector<std::string>{})->setComment(
"List of module labels to exclude from consumes.");
115 desc.
addUntracked<std::vector<std::string>>(
"includeModules",std::vector<std::string>{})->setComment(
"List of the only module labels to include in consumes. The empty list will include all.");
116 descriptions.
add(
"logErrorHarvester", desc);
void callWhenNewProductsRegistered(std::function< void(BranchDescription const &)> const &func)
T getUntrackedParameter(std::string const &, T const &) const
static void fillDescriptions(ConfigurationDescriptions &descriptions)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
BranchType const & branchType() const
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void produce(StreamID, Event &, EventSetup const &) const override
bool EnableLoggedErrorsSummary()
std::string const & processName() const
#define DEFINE_FWK_MODULE(type)
std::string const & processName() const
bool FreshErrorsExist(unsigned int iStreamID)
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
bool DisableLoggedErrorsSummary()
std::string const & moduleLabel() const
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
TypeID unwrappedTypeID() const
unsigned int value() const
ModuleDescription const & moduleDescription() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::vector< ErrorSummaryEntry > LoggedErrorsSummary(unsigned int iStreamID)
LogErrorHarvester(ParameterSet const &)