#include <FWCore/LogErrorFilter/src/LogErrorFilter.cc>
Public Member Functions | |
LogErrorFilter (edm::ParameterSet const &) | |
~LogErrorFilter () | |
Public Member Functions inherited from edm::stream::EDFilter<> | |
EDFilter ()=default | |
Public Member Functions inherited from edm::stream::EDFilterBase | |
EDFilterBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDFilterBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDFilterBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
virtual bool | filter (edm::Event &, edm::EventSetup const &) override |
Private Attributes | |
bool | atLeastOneEntry_ |
bool | atLeastOneError_ |
bool | atLeastOneWarning_ |
std::vector< std::string > | avoidCategories_ |
std::map< std::string, unsigned int > | errorCounts_ |
edm::EDGetTokenT< std::vector < edm::ErrorSummaryEntry > > | harvesterToken_ |
unsigned int | maxErrorKindsPerLumi_ |
unsigned int | maxWarningKindsPerLumi_ |
bool | useThresholdsPerKind_ |
std::map< std::string, unsigned int > | warningCounts_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDFilter<> | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDFilterBase | |
typedef EDFilterAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 35 of file LogErrorFilter.cc.
|
explicit |
Definition at line 73 of file LogErrorFilter.cc.
References atLeastOneError_, atLeastOneWarning_, edm::errors::Configuration, Exception, edm::ParameterSet::getParameter(), harvesterToken_, maxErrorKindsPerLumi_, maxWarningKindsPerLumi_, and useThresholdsPerKind_.
LogErrorFilter::~LogErrorFilter | ( | ) |
Definition at line 92 of file LogErrorFilter.cc.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDFilterBase.
Definition at line 184 of file LogErrorFilter.cc.
References errorCounts_, useThresholdsPerKind_, and warningCounts_.
|
static |
Definition at line 200 of file LogErrorFilter.cc.
References edm::ConfigurationDescriptions::add(), and edm::ParameterSetDescription::add().
|
overrideprivatevirtual |
Implements edm::stream::EDFilterBase.
Definition at line 103 of file LogErrorFilter.cc.
References atLeastOneEntry_, atLeastOneError_, atLeastOneWarning_, avoidCategories_, edm::ErrorSummaryEntry::category, python.rootplot.argparse::category, edm::ELseverityLevel::ELsev_error, edm::ELseverityLevel::ELsev_warning, errorCounts_, edm::HandleBase::failedToGet(), spr::find(), edm::Event::getByToken(), edm::ELseverityLevel::getLevel(), harvesterToken_, class-composition::kind, maxErrorKindsPerLumi_, maxWarningKindsPerLumi_, edm::ErrorSummaryEntry::module, edm::ErrorSummaryEntry::severity, HLT_25ns14e33_v1_cff::severity, AlCaHLTBitMon_QueryRunRegistry::string, useThresholdsPerKind_, and warningCounts_.
|
private |
Definition at line 50 of file LogErrorFilter.cc.
Referenced by filter().
|
private |
Definition at line 48 of file LogErrorFilter.cc.
Referenced by filter(), and LogErrorFilter().
|
private |
Definition at line 49 of file LogErrorFilter.cc.
Referenced by filter(), and LogErrorFilter().
|
private |
Definition at line 56 of file LogErrorFilter.cc.
Referenced by filter().
|
private |
Definition at line 58 of file LogErrorFilter.cc.
Referenced by beginLuminosityBlock(), and filter().
|
private |
Definition at line 47 of file LogErrorFilter.cc.
Referenced by filter(), and LogErrorFilter().
|
private |
Definition at line 53 of file LogErrorFilter.cc.
Referenced by filter(), and LogErrorFilter().
|
private |
Definition at line 54 of file LogErrorFilter.cc.
Referenced by filter(), and LogErrorFilter().
|
private |
Definition at line 51 of file LogErrorFilter.cc.
Referenced by beginLuminosityBlock(), filter(), and LogErrorFilter().
|
private |
Definition at line 59 of file LogErrorFilter.cc.
Referenced by beginLuminosityBlock(), and filter().