#include <ELlimitsTable.h>
Public Member Functions | |
bool | add (const ELextendedID &xid) |
ELlimitsTable () | |
ELlimitsTable & | operator= (const ELlimitsTable &t) |
void | setInterval (const ELstring &id, int interval) |
void | setInterval (const ELseverityLevel &sev, int interval) |
void | setLimit (const ELstring &id, int n) |
void | setLimit (const ELseverityLevel &sev, int n) |
void | setTableLimit (int n) |
void | setTimespan (const ELstring &id, int n) |
void | setTimespan (const ELseverityLevel &sev, int n) |
void | wipe () |
void | zero () |
~ELlimitsTable () | |
Protected Attributes | |
ELmap_counts | counts |
ELmap_limits | limits |
int | severityIntervals [ELseverityLevel::nLevels] |
int | severityLimits [ELseverityLevel::nLevels] |
int | severityTimespans [ELseverityLevel::nLevels] |
int | tableLimit |
int | wildcardInterval |
int | wildcardLimit |
int | wildcardTimespan |
Friends | |
class | ELdestination |
class | ELoutput |
Definition at line 60 of file ELlimitsTable.h.
edm::service::ELlimitsTable::ELlimitsTable | ( | ) |
Definition at line 41 of file ELlimitsTable.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, relval_2017::k, edm::ELseverityLevel::nLevels, severityIntervals, severityLimits, and severityTimespans.
edm::service::ELlimitsTable::~ELlimitsTable | ( | ) |
bool edm::service::ELlimitsTable::add | ( | const ELextendedID & | xid | ) |
Definition at line 79 of file ELlimitsTable.cc.
References EnergyCorrector::c, ecal_dqm_sourceclient-live_cfg::cerr, counts, edm::ELseverityLevel::getLevel(), edm::ELextendedID::id, cmsLHEtoEOSManager::l, limits, edm::ELextendedID::severity, severityIntervals, severityLimits, severityTimespans, tableLimit, wildcardInterval, wildcardLimit, and wildcardTimespan.
Referenced by edm::service::ELoutput::log(), and counter.Counter::register().
ELlimitsTable & edm::service::ELlimitsTable::operator= | ( | const ELlimitsTable & | t | ) |
Definition at line 253 of file ELlimitsTable.cc.
References limits, edm::ELseverityLevel::nLevels, severityTimespans, wildcardLimit, and wildcardTimespan.
void edm::service::ELlimitsTable::setInterval | ( | const ELstring & | id, |
int | interval | ||
) |
Definition at line 227 of file ELlimitsTable.cc.
References MergeJob_cfg::interval, limits, and wildcardInterval.
void edm::service::ELlimitsTable::setInterval | ( | const ELseverityLevel & | sev, |
int | interval | ||
) |
Definition at line 233 of file ELlimitsTable.cc.
References edm::ELseverityLevel::getLevel(), MergeJob_cfg::interval, and severityIntervals.
void edm::service::ELlimitsTable::setLimit | ( | const ELstring & | id, |
int | n | ||
) |
void edm::service::ELlimitsTable::setLimit | ( | const ELseverityLevel & | sev, |
int | n | ||
) |
Definition at line 223 of file ELlimitsTable.cc.
References edm::ELseverityLevel::getLevel(), gen::n, and severityLimits.
void edm::service::ELlimitsTable::setTableLimit | ( | int | n | ) |
Definition at line 76 of file ELlimitsTable.cc.
References gen::n, and tableLimit.
Referenced by edm::service::ELdestination::setTableLimit().
void edm::service::ELlimitsTable::setTimespan | ( | const ELstring & | id, |
int | n | ||
) |
void edm::service::ELlimitsTable::setTimespan | ( | const ELseverityLevel & | sev, |
int | n | ||
) |
Definition at line 244 of file ELlimitsTable.cc.
References edm::ELseverityLevel::getLevel(), gen::n, and severityTimespans.
void edm::service::ELlimitsTable::wipe | ( | ) |
Definition at line 183 of file ELlimitsTable.cc.
References counts, i, limits, edm::ELseverityLevel::nLevels, severityIntervals, severityLimits, severityTimespans, wildcardLimit, and wildcardTimespan.
Referenced by edm::service::ELdestination::wipe(), and edm::service::ELstatistics::wipe().
void edm::service::ELlimitsTable::zero | ( | ) |
Definition at line 207 of file ELlimitsTable.cc.
Referenced by edm::service::ELstatistics::clearSummary(), edm::service::ELdestination::zero(), and edm::service::ELstatistics::zero().
|
friend |
Definition at line 62 of file ELlimitsTable.h.
|
friend |
Definition at line 63 of file ELlimitsTable.h.
|
protected |
Definition at line 105 of file ELlimitsTable.h.
|
protected |
Definition at line 104 of file ELlimitsTable.h.
Referenced by add(), operator=(), setInterval(), setLimit(), setTimespan(), and wipe().
|
protected |
Definition at line 98 of file ELlimitsTable.h.
Referenced by add(), ELlimitsTable(), setInterval(), and wipe().
|
protected |
Definition at line 96 of file ELlimitsTable.h.
Referenced by add(), ELlimitsTable(), setLimit(), and wipe().
|
protected |
Definition at line 97 of file ELlimitsTable.h.
Referenced by add(), ELlimitsTable(), operator=(), setTimespan(), and wipe().
|
protected |
Definition at line 103 of file ELlimitsTable.h.
Referenced by add(), and setTableLimit().
|
protected |
Definition at line 100 of file ELlimitsTable.h.
Referenced by add(), and setInterval().
|
protected |
Definition at line 99 of file ELlimitsTable.h.
Referenced by add(), operator=(), setLimit(), and wipe().
|
protected |
Definition at line 101 of file ELlimitsTable.h.
Referenced by add(), operator=(), setTimespan(), and wipe().