#include <DQMMonitoringService.h>
Public Member Functions | |
void | connect () |
DQMMonitoringService (const edm::ParameterSet &, edm::ActivityRegistry &) | |
void | evEvent (StreamID const &) |
void | evLumi (GlobalContext const &) |
void | keepAlive () |
void | outputLumiUpdate () |
void | outputUpdate (ptree &doc) |
void | tryUpdate () |
~DQMMonitoringService () | |
Private Attributes | |
unsigned long | last_lumi_ |
long | last_lumi_nevents_ |
std::chrono::high_resolution_clock::time_point | last_lumi_time_ |
std::chrono::high_resolution_clock::time_point | last_update_time_ |
unsigned long | lumi_ |
boost::asio::local::stream_protocol::iostream | mstream_ |
long | nevents_ |
unsigned long | run_ |
Definition at line 44 of file DQMMonitoringService.h.
dqmservices::DQMMonitoringService::DQMMonitoringService | ( | const edm::ParameterSet & | pset, |
edm::ActivityRegistry & | ar | ||
) |
Definition at line 17 of file DQMMonitoringService.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, evEvent(), evLumi(), last_lumi_, last_lumi_nevents_, last_lumi_time_, lumi_, mstream_, nevents_, fileCollector::now, run_, edm::ActivityRegistry::watchPreGlobalBeginLumi(), edm::ActivityRegistry::watchPreSourceEvent(), and x.
dqmservices::DQMMonitoringService::~DQMMonitoringService | ( | ) |
Definition at line 40 of file DQMMonitoringService.cc.
void dqmservices::DQMMonitoringService::connect | ( | ) |
Referenced by Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea::__init__(), Vispa.Views.PropertyView.BooleanProperty::__init__(), Vispa.Gui.FindDialog.FindDialog::_addScript(), Vispa.Gui.FindDialog.FindDialog::_addStringProperty(), Vispa.Main.Application.Application::_connectSignals(), Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView::_createItem(), Vispa.Gui.BoxContentDialog.BoxContentDialog::addButton(), Vispa.Gui.ToolBoxContainer.ToolBoxContainer::addWidget(), Vispa.Views.PropertyView.PropertyView::append(), Vispa.Views.PropertyView.PropertyView::appendAddRow(), Vispa.Main.Application.Application::createAction(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createButton(), Vispa.Views.LineDecayView.LineDecayView::createLineDecayContainer(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createLineEdit(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.PropertyView.TextEditWithButtonProperty::createTextEdit(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filterDialog(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Gui.PortWidget.PortWidget::mouseMoveEvent(), Vispa.Views.PropertyView.BooleanProperty::setChecked(), Vispa.Main.SplitterTab.SplitterTab::setController(), Vispa.Plugins.Browser.BrowserTab.BrowserTab::setController(), Vispa.Views.PropertyView.BooleanProperty::setReadOnly(), Vispa.Views.PropertyView.DropDownProperty::setReadOnly(), Vispa.Views.PropertyView.TextEditWithButtonProperty::setReadOnly(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setTab(), Vispa.Views.PropertyView.IntegerProperty::setValue(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::updateViewMenu(), and Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController::updateViewMenu().
void dqmservices::DQMMonitoringService::evEvent | ( | StreamID const & | iContext | ) |
Definition at line 101 of file DQMMonitoringService.cc.
References nevents_, and tryUpdate().
Referenced by DQMMonitoringService().
void dqmservices::DQMMonitoringService::evLumi | ( | GlobalContext const & | iContext | ) |
Definition at line 85 of file DQMMonitoringService.cc.
References last_lumi_, last_lumi_nevents_, last_lumi_time_, lumi_, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), nevents_, fileCollector::now, outputLumiUpdate(), edm::LuminosityBlockID::run(), and run_.
Referenced by DQMMonitoringService().
void dqmservices::DQMMonitoringService::keepAlive | ( | ) |
Definition at line 124 of file DQMMonitoringService.cc.
References mstream_, and tryUpdate().
void dqmservices::DQMMonitoringService::outputLumiUpdate | ( | ) |
Definition at line 43 of file DQMMonitoringService.cc.
References prof2calltree::count, asciidump::doc, cmsPerfStripChart::format, last_lumi_, last_lumi_nevents_, last_lumi_time_, lumi_, nevents_, fileCollector::now, NULL, outputUpdate(), RPCpg::rate(), run_, and cond::rpcobgas::time.
Referenced by evLumi(), and tryUpdate().
void dqmservices::DQMMonitoringService::outputUpdate | ( | ptree & | doc | ) |
Definition at line 106 of file DQMMonitoringService.cc.
References last_update_time_, mstream_, fileCollector::now, NULL, and cond::rpcobgas::time.
Referenced by outputLumiUpdate().
void dqmservices::DQMMonitoringService::tryUpdate | ( | ) |
Definition at line 134 of file DQMMonitoringService.cc.
References prof2calltree::count, last_update_time_, mstream_, fileCollector::now, and outputLumiUpdate().
Referenced by evEvent(), and keepAlive().
|
private |
Definition at line 67 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), evLumi(), and outputLumiUpdate().
|
private |
Definition at line 70 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), evLumi(), and outputLumiUpdate().
|
private |
Definition at line 68 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), evLumi(), and outputLumiUpdate().
|
private |
Definition at line 69 of file DQMMonitoringService.h.
Referenced by outputUpdate(), and tryUpdate().
|
private |
Definition at line 73 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), evLumi(), and outputLumiUpdate().
|
private |
Definition at line 61 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), keepAlive(), outputUpdate(), and tryUpdate().
|
private |
Definition at line 64 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), evEvent(), evLumi(), and outputLumiUpdate().
|
private |
Definition at line 72 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), evLumi(), and outputLumiUpdate().