#include <Work/HLTLogMonitorFilter/src/HLTLogMonitorFilter.cc>
Classes | |
struct | CategoryEntry |
Public Member Functions | |
HLTLogMonitorFilter (const edm::ParameterSet &) | |
~HLTLogMonitorFilter () | |
Public Member Functions inherited from edm::EDFilter | |
EDFilter () | |
virtual | ~EDFilter () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Types | |
typedef std::map< std::string, CategoryEntry > | CategoryMap |
Private Member Functions | |
CategoryEntry & | addCategory (const std::string &category, uint32_t threshold) |
create a new entry for the given category, with the given threshold value More... | |
virtual void | beginJob (void) |
EDFilter beginJob method. More... | |
virtual void | endJob (void) |
EDFilter endJob method. More... | |
virtual bool | filter (edm::Event &, const edm::EventSetup &) |
EDFilter accept method. More... | |
CategoryEntry & | getCategory (const std::string &category) |
return the entry for requested category, if it exists, or create a new one with the default threshold value More... | |
bool | knownCategory (const std::string &category) |
check if the requested category has a valid entry More... | |
void | summary (void) |
summarize to LogInfo More... | |
Private Attributes | |
CategoryMap | m_data |
uint32_t | m_prescale |
Additional Inherited Members | |
Public Types inherited from edm::EDFilter | |
typedef EDFilter | ModuleType |
typedef WorkerT< EDFilter > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDFilter | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDFilter | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Description: Accept events if any LogError or LogWarning was raised
Implementation: <Notes on="" implementation>="">
Definition at line 36 of file HLTLogMonitorFilter.cc.
|
private |
Definition at line 79 of file HLTLogMonitorFilter.cc.
|
explicit |
Definition at line 126 of file HLTLogMonitorFilter.cc.
References addCategory(), ecalBxOrbitNumberGrapher_cfg::categories, python.rootplot.argparse::category, edm::ParameterSet::getParameter(), m_prescale, mergeVDriftHistosByStation::name, and dtDQMClient_cfg::threshold.
HLTLogMonitorFilter::~HLTLogMonitorFilter | ( | ) |
Definition at line 143 of file HLTLogMonitorFilter.cc.
|
private |
create a new entry for the given category, with the given threshold value
Definition at line 218 of file HLTLogMonitorFilter.cc.
References python.rootplot.argparse::category, edm::hlt::Exception, m_data, and query::result.
Referenced by HLTLogMonitorFilter().
|
privatevirtual |
EDFilter beginJob method.
Reimplemented from edm::EDFilter.
Definition at line 203 of file HLTLogMonitorFilter.cc.
References edm::MessageSender::errorSummaryIsBeingKept.
|
privatevirtual |
EDFilter endJob method.
Reimplemented from edm::EDFilter.
Definition at line 207 of file HLTLogMonitorFilter.cc.
References edm::MessageSender::errorSummaryIsBeingKept, and summary().
|
privatevirtual |
EDFilter accept method.
Implements edm::EDFilter.
Definition at line 153 of file HLTLogMonitorFilter.cc.
References accept(), HLTLogMonitorFilter::CategoryEntry::accept(), python.rootplot.argparse::category, benchmark_cfg::errors, edm::MessageSender::errorSummaryMap, edm::MessageSender::freshError, getCategory(), i, m_data, findQualityFiles::size, and confdb::splitter().
|
private |
return the entry for requested category, if it exists, or create a new one with the default threshold value
Definition at line 227 of file HLTLogMonitorFilter.cc.
References i, m_data, and m_prescale.
Referenced by filter().
|
private |
check if the requested category has a valid entry
Definition at line 213 of file HLTLogMonitorFilter.cc.
References m_data.
|
private |
summarize to LogInfo
Definition at line 237 of file HLTLogMonitorFilter.cc.
References m_data, and dbtoconf::out.
Referenced by endJob().
|
private |
Definition at line 107 of file HLTLogMonitorFilter.cc.
Referenced by addCategory(), filter(), getCategory(), knownCategory(), and summary().
|
private |
Definition at line 106 of file HLTLogMonitorFilter.cc.
Referenced by getCategory(), and HLTLogMonitorFilter().