#include <FWCore/LogErrorFilter/src/LogErrorFilter.cc>
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 | |
void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
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 | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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_.
|
override |
Definition at line 92 of file LogErrorFilter.cc.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDFilterBase.
Definition at line 181 of file LogErrorFilter.cc.
References errorCounts_, useThresholdsPerKind_, and warningCounts_.
|
static |
Definition at line 194 of file LogErrorFilter.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and DEFINE_FWK_MODULE.
|
overrideprivatevirtual |
Implements edm::stream::EDFilterBase.
Definition at line 102 of file LogErrorFilter.cc.
References atLeastOneEntry_, atLeastOneError_, atLeastOneWarning_, avoidCategories_, edm::ELseverityLevel::ELsev_error, edm::ELseverityLevel::ELsev_warning, errorCounts_, spr::find(), edm::Event::getHandle(), edm::ELseverityLevel::getLevel(), harvesterToken_, callgraph::kind, maxErrorKindsPerLumi_, maxWarningKindsPerLumi_, ErrorSummaryFilter_cfi::severity, AlCaHLTBitMon_QueryRunRegistry::string, heppy_report::summary, 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().