#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 18 of file DQMMonitoringService.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, evEvent(), evLumi(), last_lumi_, last_lumi_nevents_, last_lumi_time_, lumi_, mstream_, nevents_, submitPVValidationJobs::now, run_, edm::ActivityRegistry::watchPreGlobalBeginLumi(), and edm::ActivityRegistry::watchPreSourceEvent().
dqmservices::DQMMonitoringService::~DQMMonitoringService | ( | ) |
Definition at line 41 of file DQMMonitoringService.cc.
void dqmservices::DQMMonitoringService::connect | ( | ) |
Referenced by o2o_db_cfgmap.DbManagerDAQ::update_hashmap().
void dqmservices::DQMMonitoringService::evEvent | ( | StreamID const & | iContext | ) |
Definition at line 100 of file DQMMonitoringService.cc.
References nevents_, and tryUpdate().
Referenced by DQMMonitoringService().
void dqmservices::DQMMonitoringService::evLumi | ( | GlobalContext const & | iContext | ) |
Definition at line 84 of file DQMMonitoringService.cc.
References last_lumi_, last_lumi_nevents_, last_lumi_time_, lumi_, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), nevents_, submitPVValidationJobs::now, outputLumiUpdate(), edm::LuminosityBlockID::run(), and run_.
Referenced by DQMMonitoringService().
void dqmservices::DQMMonitoringService::keepAlive | ( | ) |
void dqmservices::DQMMonitoringService::outputLumiUpdate | ( | ) |
Definition at line 43 of file DQMMonitoringService.cc.
References common_cff::doc, dqmMemoryStats::float, last_lumi_, last_lumi_nevents_, last_lumi_time_, lumi_, nevents_, submitPVValidationJobs::now, outputUpdate(), RPCpg::rate(), run_, and ntuplemaker::time.
Referenced by evLumi(), and tryUpdate().
void dqmservices::DQMMonitoringService::outputUpdate | ( | ptree & | doc | ) |
Definition at line 105 of file DQMMonitoringService.cc.
References common_cff::doc, last_update_time_, mstream_, submitPVValidationJobs::now, and ntuplemaker::time.
Referenced by outputLumiUpdate().
void dqmservices::DQMMonitoringService::tryUpdate | ( | ) |
Definition at line 133 of file DQMMonitoringService.cc.
References last_update_time_, mstream_, submitPVValidationJobs::now, and outputLumiUpdate().
Referenced by evEvent(), and keepAlive().
|
private |
Definition at line 68 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), evLumi(), and outputLumiUpdate().
|
private |
Definition at line 72 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 71 of file DQMMonitoringService.h.
Referenced by outputUpdate(), and tryUpdate().
|
private |
Definition at line 75 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 74 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), evLumi(), and outputLumiUpdate().