#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 | |
AlarmHandlerPtr | alarmHandler_ |
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 119 of file RunMonitorCollection.h.
stor::RunMonitorCollection::RunMonitorCollection | ( | const utils::Duration_t & | updateInterval, |
AlarmHandlerPtr | ah, | ||
SharedResourcesPtr | sr | ||
) |
Definition at line 20 of file RunMonitorCollection.cc.
|
private |
void stor::RunMonitorCollection::addUnwantedEvent | ( | const I2OChain & | ioc | ) |
Definition at line 102 of file RunMonitorCollection.cc.
References stor::MonitoredQuantity::addSample(), 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 138 of file RunMonitorCollection.cc.
References alarmHandler_, alarmParams_, prof2calltree::count, stor::AlarmHandler::ERROR, errorEventIDsReceived_, stor::AlarmParams::errorEvents_, stor::MonitoredQuantity::Stats::getDuration(), stor::MonitoredQuantity::Stats::getSampleCount(), stor::MonitoredQuantity::getStats(), stor::AlarmParams::isProductionSystem_, runTheMatrix::msg, and stor::MonitoredQuantity::RECENT.
Referenced by checkForBadEvents().
|
private |
Definition at line 163 of file RunMonitorCollection.cc.
References alarmHandler_, alarmParams_, stor::AlarmHandler::ERROR, stor::AlarmParams::isProductionSystem_, runTheMatrix::msg, sharedResources_, evf::utils::state, and stor::AlarmParams::unwantedEvents_.
Referenced by checkForBadEvents().
|
private |
Definition at line 128 of file RunMonitorCollection.cc.
References alarmErrorEvents(), alarmUnwantedEvents(), unwantedEventMapLock_, and unwantedEventsMap_.
Referenced by do_calculateStatistics().
void stor::RunMonitorCollection::configureAlarms | ( | AlarmParams const & | alarmParams | ) |
Definition at line 37 of file RunMonitorCollection.cc.
References alarmParams_.
Referenced by stor::Ready::do_entryActionWork().
|
privatevirtual |
Reimplemented from stor::MonitorCollection.
Definition at line 69 of file RunMonitorCollection.cc.
References dataEvents_, errorEvents_, runNumber_, and unwantedEvents_.
|
privatevirtual |
Implements stor::MonitorCollection.
Definition at line 43 of file RunMonitorCollection.cc.
References stor::MonitoredQuantity::calculateStatistics(), checkForBadEvents(), eolsSeen_, errorEventIDsReceived_, eventIDsReceived_, lumiSectionsSeen_, runNumbersSeen_, and unwantedEventIDsReceived_.
|
privatevirtual |
Implements stor::MonitorCollection.
Definition at line 56 of file RunMonitorCollection.cc.
References eolsSeen_, errorEventIDsReceived_, eventIDsReceived_, lumiSectionsSeen_, stor::MonitoredQuantity::reset(), runNumbersSeen_, unwantedEventIDsReceived_, and unwantedEventsMap_.
|
privatevirtual |
Reimplemented from stor::MonitorCollection.
Definition at line 78 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 76 of file RunMonitorCollection.h.
References eolsSeen_.
Referenced by stor::SMWebPageHelper::addDOMforRunMonitor(), stor::StorageManager::receiveEndOfLumiSectionMessage(), and stor::DiskWriter::writeEndOfRunMarker().
|
inline |
Definition at line 79 of file RunMonitorCollection.h.
References eolsSeen_.
|
inline |
Definition at line 48 of file RunMonitorCollection.h.
References errorEventIDsReceived_.
Referenced by stor::SMWebPageHelper::addDOMforRunMonitor(), and stor::EventDistributor::tagCompleteEventForQueues().
|
inline |
Definition at line 51 of file RunMonitorCollection.h.
References errorEventIDsReceived_.
|
inline |
Definition at line 41 of file RunMonitorCollection.h.
References eventIDsReceived_.
Referenced by stor::SMWebPageHelper::addDOMforRunMonitor(), and stor::EventDistributor::tagCompleteEventForQueues().
|
inline |
Definition at line 44 of file RunMonitorCollection.h.
References eventIDsReceived_.
|
inline |
Definition at line 69 of file RunMonitorCollection.h.
References lumiSectionsSeen_.
Referenced by stor::SMWebPageHelper::addDOMforRunMonitor(), stor::EventDistributor::tagCompleteEventForQueues(), and stor::DiskWriter::writeEndOfRunMarker().
|
inline |
Definition at line 72 of file RunMonitorCollection.h.
References lumiSectionsSeen_.
|
inline |
Definition at line 62 of file RunMonitorCollection.h.
References runNumbersSeen_.
Referenced by stor::SMWebPageHelper::addDOMforRunMonitor(), and stor::EventDistributor::tagCompleteEventForQueues().
|
inline |
Definition at line 65 of file RunMonitorCollection.h.
References runNumbersSeen_.
|
inline |
Definition at line 55 of file RunMonitorCollection.h.
References unwantedEventIDsReceived_.
Referenced by stor::SMWebPageHelper::addDOMforRunMonitor().
|
inline |
Definition at line 58 of file RunMonitorCollection.h.
References unwantedEventIDsReceived_.
|
private |
|
private |
Definition at line 99 of file RunMonitorCollection.h.
Referenced by alarmErrorEvents(), and alarmUnwantedEvents().
|
private |
Definition at line 132 of file RunMonitorCollection.h.
Referenced by alarmErrorEvents(), alarmUnwantedEvents(), and configureAlarms().
|
private |
Definition at line 128 of file RunMonitorCollection.h.
Referenced by do_appendInfoSpaceItems(), and do_updateInfoSpaceItems().
|
private |
Definition at line 97 of file RunMonitorCollection.h.
Referenced by do_calculateStatistics(), do_reset(), and getEoLSSeenMQ().
|
private |
Definition at line 93 of file RunMonitorCollection.h.
Referenced by alarmErrorEvents(), do_calculateStatistics(), do_reset(), do_updateInfoSpaceItems(), and getErrorEventIDsReceivedMQ().
|
private |
Definition at line 129 of file RunMonitorCollection.h.
Referenced by do_appendInfoSpaceItems(), and do_updateInfoSpaceItems().
|
private |
Definition at line 92 of file RunMonitorCollection.h.
Referenced by do_calculateStatistics(), do_reset(), do_updateInfoSpaceItems(), and getEventIDsReceivedMQ().
|
private |
Definition at line 96 of file RunMonitorCollection.h.
Referenced by do_calculateStatistics(), do_reset(), and getLumiSectionsSeenMQ().
|
private |
Definition at line 127 of file RunMonitorCollection.h.
Referenced by do_appendInfoSpaceItems(), and do_updateInfoSpaceItems().
|
private |
Definition at line 95 of file RunMonitorCollection.h.
Referenced by do_calculateStatistics(), do_reset(), do_updateInfoSpaceItems(), and getRunNumbersSeenMQ().
|
private |
Definition at line 100 of file RunMonitorCollection.h.
Referenced by alarmUnwantedEvents().
|
private |
Definition at line 94 of file RunMonitorCollection.h.
Referenced by addUnwantedEvent(), do_calculateStatistics(), do_reset(), do_updateInfoSpaceItems(), and getUnwantedEventIDsReceivedMQ().
|
mutableprivate |
Definition at line 121 of file RunMonitorCollection.h.
Referenced by addUnwantedEvent(), and checkForBadEvents().
|
private |
Definition at line 130 of file RunMonitorCollection.h.
Referenced by do_appendInfoSpaceItems(), and do_updateInfoSpaceItems().
|
private |
Definition at line 120 of file RunMonitorCollection.h.
Referenced by addUnwantedEvent(), checkForBadEvents(), and do_reset().