#include <RunMonitorCollection.h>
Classes | |
struct | UnwantedEvent |
Private Types | |
typedef std::map< uint32_t, UnwantedEvent > | UnwantedEventsMap |
Private Member Functions | |
void | alarmErrorEvents () |
void | alarmUnwantedEvents (UnwantedEventsMap::value_type &) |
void | checkForBadEvents () |
virtual void | do_appendInfoSpaceItems (InfoSpaceItems &) |
virtual void | do_calculateStatistics () |
virtual void | do_reset () |
virtual void | do_updateInfoSpaceItems () |
RunMonitorCollection & | operator= (RunMonitorCollection const &) |
RunMonitorCollection (RunMonitorCollection const &) | |
Private Attributes | |
AlarmParams | alarmParams_ |
xdata::UnsignedInteger32 | dataEvents_ |
MonitoredQuantity | eolsSeen_ |
MonitoredQuantity | errorEventIDsReceived_ |
xdata::UnsignedInteger32 | errorEvents_ |
MonitoredQuantity | eventIDsReceived_ |
MonitoredQuantity | lumiSectionsSeen_ |
xdata::UnsignedInteger32 | runNumber_ |
MonitoredQuantity | runNumbersSeen_ |
SharedResourcesPtr | sharedResources_ |
MonitoredQuantity | unwantedEventIDsReceived_ |
boost::mutex | unwantedEventMapLock_ |
xdata::UnsignedInteger32 | unwantedEvents_ |
UnwantedEventsMap | unwantedEventsMap_ |
Additional Inherited Members | |
Public Types inherited from stor::MonitorCollection | |
typedef std::vector< std::pair < std::string, xdata::Serializable * > > | InfoSpaceItems |
A collection of MonitoredQuantities related to events received in the current run
Definition at line 28 of file RunMonitorCollection.h.
|
private |
Definition at line 117 of file RunMonitorCollection.h.
stor::RunMonitorCollection::RunMonitorCollection | ( | const utils::Duration_t & | updateInterval, |
SharedResourcesPtr | sr | ||
) |
Definition at line 20 of file RunMonitorCollection.cc.
|
private |
void stor::RunMonitorCollection::addUnwantedEvent | ( | const I2OChain & | ioc | ) |
Definition at line 100 of file RunMonitorCollection.cc.
References stor::MonitoredQuantity::addSample(), alarmParams_, stor::AlarmParams::careAboutUnwantedEvents_, stor::I2OChain::complete(), stor::I2OChain::eventNumber(), stor::I2OChain::faulty(), stor::I2OChain::outputModuleId(), pos, unwantedEventIDsReceived_, unwantedEventMapLock_, and unwantedEventsMap_.
Referenced by stor::EventDistributor::addEventToRelevantQueues().
|
private |
Definition at line 137 of file RunMonitorCollection.cc.
References alarmParams_, prof2calltree::count, stor::AlarmHandler::ERROR, errorEventIDsReceived_, stor::AlarmParams::errorEvents_, stor::MonitoredQuantity::Stats::getDuration(), stor::MonitoredQuantity::Stats::getSampleCount(), stor::MonitoredQuantity::getStats(), stor::AlarmParams::isProductionSystem_, lumiQueryAPI::msg, stor::MonitoredQuantity::RECENT, and sharedResources_.
Referenced by checkForBadEvents().
|
private |
Definition at line 162 of file RunMonitorCollection.cc.
References alarmParams_, stor::AlarmHandler::ERROR, stor::AlarmParams::isProductionSystem_, lumiQueryAPI::msg, sharedResources_, evf::utils::state, and stor::AlarmParams::unwantedEvents_.
Referenced by checkForBadEvents().
|
private |
Definition at line 127 of file RunMonitorCollection.cc.
References alarmErrorEvents(), alarmUnwantedEvents(), unwantedEventMapLock_, and unwantedEventsMap_.
Referenced by do_calculateStatistics().
void stor::RunMonitorCollection::configureAlarms | ( | AlarmParams const & | alarmParams | ) |
Definition at line 35 of file RunMonitorCollection.cc.
References alarmParams_.
Referenced by stor::Ready::do_entryActionWork().
|
privatevirtual |
Reimplemented from stor::MonitorCollection.
Definition at line 67 of file RunMonitorCollection.cc.
References dataEvents_, errorEvents_, runNumber_, and unwantedEvents_.
|
privatevirtual |
Implements stor::MonitorCollection.
Definition at line 41 of file RunMonitorCollection.cc.
References stor::MonitoredQuantity::calculateStatistics(), checkForBadEvents(), eolsSeen_, errorEventIDsReceived_, eventIDsReceived_, lumiSectionsSeen_, runNumbersSeen_, and unwantedEventIDsReceived_.
|
privatevirtual |
Implements stor::MonitorCollection.
Definition at line 54 of file RunMonitorCollection.cc.
References eolsSeen_, errorEventIDsReceived_, eventIDsReceived_, lumiSectionsSeen_, stor::MonitoredQuantity::reset(), runNumbersSeen_, unwantedEventIDsReceived_, and unwantedEventsMap_.
|
privatevirtual |
Reimplemented from stor::MonitorCollection.
Definition at line 76 of file RunMonitorCollection.cc.
References dataEvents_, errorEventIDsReceived_, errorEvents_, eventIDsReceived_, stor::MonitoredQuantity::Stats::getLastSampleValue(), stor::MonitoredQuantity::Stats::getSampleCount(), stor::MonitoredQuantity::getStats(), runNumber_, runNumbersSeen_, unwantedEventIDsReceived_, and unwantedEvents_.
|
inline |
Definition at line 75 of file RunMonitorCollection.h.
References eolsSeen_.
Referenced by stor::SMWebPageHelper::addDOMforRunMonitor(), and stor::StorageManager::receiveEndOfLumiSectionMessage().
|
inline |
Definition at line 78 of file RunMonitorCollection.h.
References eolsSeen_.
|
inline |
Definition at line 47 of file RunMonitorCollection.h.
References errorEventIDsReceived_.
Referenced by stor::SMWebPageHelper::addDOMforRunMonitor(), and stor::EventDistributor::tagCompleteEventForQueues().
|
inline |
Definition at line 50 of file RunMonitorCollection.h.
References errorEventIDsReceived_.
|
inline |
Definition at line 40 of file RunMonitorCollection.h.
References eventIDsReceived_.
Referenced by stor::SMWebPageHelper::addDOMforRunMonitor(), and stor::EventDistributor::tagCompleteEventForQueues().
|
inline |
Definition at line 43 of file RunMonitorCollection.h.
References eventIDsReceived_.
|
inline |
Definition at line 68 of file RunMonitorCollection.h.
References lumiSectionsSeen_.
Referenced by stor::SMWebPageHelper::addDOMforRunMonitor(), and stor::EventDistributor::tagCompleteEventForQueues().
|
inline |
Definition at line 71 of file RunMonitorCollection.h.
References lumiSectionsSeen_.
|
inline |
Definition at line 61 of file RunMonitorCollection.h.
References runNumbersSeen_.
Referenced by stor::SMWebPageHelper::addDOMforRunMonitor(), and stor::EventDistributor::tagCompleteEventForQueues().
|
inline |
Definition at line 64 of file RunMonitorCollection.h.
References runNumbersSeen_.
|
inline |
Definition at line 54 of file RunMonitorCollection.h.
References unwantedEventIDsReceived_.
Referenced by stor::SMWebPageHelper::addDOMforRunMonitor().
|
inline |
Definition at line 57 of file RunMonitorCollection.h.
References unwantedEventIDsReceived_.
|
private |
|
private |
Definition at line 130 of file RunMonitorCollection.h.
Referenced by addUnwantedEvent(), alarmErrorEvents(), alarmUnwantedEvents(), and configureAlarms().
|
private |
Definition at line 126 of file RunMonitorCollection.h.
Referenced by do_appendInfoSpaceItems(), and do_updateInfoSpaceItems().
|
private |
Definition at line 96 of file RunMonitorCollection.h.
Referenced by do_calculateStatistics(), do_reset(), and getEoLSSeenMQ().
|
private |
Definition at line 92 of file RunMonitorCollection.h.
Referenced by alarmErrorEvents(), do_calculateStatistics(), do_reset(), do_updateInfoSpaceItems(), and getErrorEventIDsReceivedMQ().
|
private |
Definition at line 127 of file RunMonitorCollection.h.
Referenced by do_appendInfoSpaceItems(), and do_updateInfoSpaceItems().
|
private |
Definition at line 91 of file RunMonitorCollection.h.
Referenced by do_calculateStatistics(), do_reset(), do_updateInfoSpaceItems(), and getEventIDsReceivedMQ().
|
private |
Definition at line 95 of file RunMonitorCollection.h.
Referenced by do_calculateStatistics(), do_reset(), and getLumiSectionsSeenMQ().
|
private |
Definition at line 125 of file RunMonitorCollection.h.
Referenced by do_appendInfoSpaceItems(), and do_updateInfoSpaceItems().
|
private |
Definition at line 94 of file RunMonitorCollection.h.
Referenced by do_calculateStatistics(), do_reset(), do_updateInfoSpaceItems(), and getRunNumbersSeenMQ().
|
private |
Definition at line 98 of file RunMonitorCollection.h.
Referenced by alarmErrorEvents(), and alarmUnwantedEvents().
|
private |
Definition at line 93 of file RunMonitorCollection.h.
Referenced by addUnwantedEvent(), do_calculateStatistics(), do_reset(), do_updateInfoSpaceItems(), and getUnwantedEventIDsReceivedMQ().
|
mutableprivate |
Definition at line 119 of file RunMonitorCollection.h.
Referenced by addUnwantedEvent(), and checkForBadEvents().
|
private |
Definition at line 128 of file RunMonitorCollection.h.
Referenced by do_appendInfoSpaceItems(), and do_updateInfoSpaceItems().
|
private |
Definition at line 118 of file RunMonitorCollection.h.
Referenced by addUnwantedEvent(), checkForBadEvents(), and do_reset().