#include <DQMMonitoringService.h>
Public Member Functions | |
DQMMonitoringService (const edm::ParameterSet &, edm::ActivityRegistry &) | |
void | evEvent (StreamID const &) |
void | evLumi (GlobalContext const &) |
void | keepAlive () |
void | outputUpdate (ptree &doc) |
~DQMMonitoringService () | |
Private Attributes | |
ptree | doc_ |
long | last_report_nevents_ |
std::chrono::high_resolution_clock::time_point | last_report_time_ |
std::shared_ptr< std::ostream > | mstream_ |
long | nevents_ |
Definition at line 42 of file DQMMonitoringService.h.
dqmservices::DQMMonitoringService::DQMMonitoringService | ( | const edm::ParameterSet & | pset, |
edm::ActivityRegistry & | ar | ||
) |
Definition at line 14 of file DQMMonitoringService.cc.
References dtNoiseDBValidation_cfg::cerr, evEvent(), evLumi(), last_report_nevents_, last_report_time_, mstream_, nevents_, fileCollector::now, edm::ActivityRegistry::watchPreGlobalBeginLumi(), edm::ActivityRegistry::watchPreSourceEvent(), and x.
dqmservices::DQMMonitoringService::~DQMMonitoringService | ( | ) |
Definition at line 32 of file DQMMonitoringService.cc.
void dqmservices::DQMMonitoringService::evEvent | ( | StreamID const & | iContext | ) |
Definition at line 45 of file DQMMonitoringService.cc.
References prof2calltree::count, asciidump::doc, last_report_nevents_, last_report_time_, nevents_, fileCollector::now, outputUpdate(), RPCpg::rate(), and seconds().
Referenced by DQMMonitoringService().
void dqmservices::DQMMonitoringService::evLumi | ( | GlobalContext const & | iContext | ) |
Definition at line 35 of file DQMMonitoringService.cc.
References asciidump::doc, fjr2json::lumi, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), outputUpdate(), edm::LuminosityBlockID::run(), and DTTTrigCorrFirst::run.
Referenced by DQMMonitoringService().
void dqmservices::DQMMonitoringService::keepAlive | ( | ) |
Definition at line 87 of file DQMMonitoringService.cc.
References mstream_.
void dqmservices::DQMMonitoringService::outputUpdate | ( | ptree & | doc | ) |
Definition at line 73 of file DQMMonitoringService.cc.
References mstream_, NULL, and cond::rpcobgas::time.
Referenced by evEvent(), and evLumi().
|
private |
Definition at line 57 of file DQMMonitoringService.h.
|
private |
Definition at line 60 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), and evEvent().
|
private |
Definition at line 61 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), and evEvent().
|
private |
Definition at line 56 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), keepAlive(), and outputUpdate().
|
private |
Definition at line 59 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), and evEvent().