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());
66 [
this, endPathStatusType, pathStatusType, triggerResultsType, excludedModules, includeModules](
69 ((includeModules.empty()
or includeModules.end() != includeModules.find(iBD.
moduleLabel())) and
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);
void callWhenNewProductsRegistered(std::function< void(BranchDescription const &)> const &func)
static void fillDescriptions(ConfigurationDescriptions &descriptions)
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
std::string const & processName() const
bool FreshErrorsExist(unsigned int iStreamID)
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
bool DisableLoggedErrorsSummary()
#define DEFINE_FWK_MODULE(type)
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
EDPutTokenT< std::vector< ErrorSummaryEntry > > token_
unsigned int value() const
ModuleDescription const & moduleDescription() const
OrphanHandle< PROD > emplace(EDPutTokenT< PROD > token, Args &&...args)
puts a new product
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::vector< ErrorSummaryEntry > LoggedErrorsSummary(unsigned int iStreamID)
LogErrorHarvester(ParameterSet const &)