#include <DQMMonitoringService.h>
Public Member Functions | |
void | connect () |
DQMMonitoringService (const edm::ParameterSet &, edm::ActivityRegistry &) | |
void | evEvent (edm::StreamID const &) |
void | evLumi (edm::GlobalContext const &) |
void | keepAlive () |
void | outputLumiUpdate () |
void | outputUpdate (boost::property_tree::ptree &doc) |
void | tryUpdate () |
~DQMMonitoringService ()=default | |
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 23 of file DQMMonitoringService.h.
dqmservices::DQMMonitoringService::DQMMonitoringService | ( | const edm::ParameterSet & | pset, |
edm::ActivityRegistry & | ar | ||
) |
Definition at line 26 of file DQMMonitoringService.cc.
References DMR_cfg::cerr, evEvent(), evLumi(), last_lumi_, last_lumi_nevents_, last_lumi_time_, lumi_, mstream_, nevents_, submitPVValidationJobs::now, run_, edm::ActivityRegistry::watchPreGlobalBeginLumi(), edm::ActivityRegistry::watchPreSourceEvent(), and x.
|
default |
void dqmservices::DQMMonitoringService::connect | ( | ) |
Referenced by o2o_db_cfgmap.DbManagerDAQ::update_hashmap().
void dqmservices::DQMMonitoringService::evEvent | ( | edm::StreamID const & | iContext | ) |
Definition at line 100 of file DQMMonitoringService.cc.
References nevents_, and tryUpdate().
Referenced by DQMMonitoringService().
void dqmservices::DQMMonitoringService::evLumi | ( | edm::GlobalContext const & | iContext | ) |
Definition at line 87 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 | ( | ) |
Definition at line 120 of file DQMMonitoringService.cc.
References mstream_, and tryUpdate().
void dqmservices::DQMMonitoringService::outputLumiUpdate | ( | ) |
Definition at line 49 of file DQMMonitoringService.cc.
References submitPVResolutionJobs::count, ALCARECOEcalPhiSym_cff::doc, ALCARECOEcalPhiSym_cff::float, last_lumi_, last_lumi_nevents_, last_lumi_time_, lumi_, nevents_, submitPVValidationJobs::now, outputUpdate(), RPCpg::rate(), run_, and hcalRecHitTable_cff::time.
Referenced by evLumi(), and tryUpdate().
void dqmservices::DQMMonitoringService::outputUpdate | ( | boost::property_tree::ptree & | doc | ) |
Definition at line 105 of file DQMMonitoringService.cc.
References ALCARECOEcalPhiSym_cff::doc, cppFunctionSkipper::exception, last_update_time_, LogDebug, mstream_, submitPVValidationJobs::now, and hcalRecHitTable_cff::time.
Referenced by outputLumiUpdate().
void dqmservices::DQMMonitoringService::tryUpdate | ( | ) |
Definition at line 130 of file DQMMonitoringService.cc.
References submitPVResolutionJobs::count, last_update_time_, mstream_, submitPVValidationJobs::now, and outputLumiUpdate().
Referenced by evEvent(), and keepAlive().
|
private |
Definition at line 50 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), evLumi(), and outputLumiUpdate().
|
private |
Definition at line 48 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), evLumi(), and outputLumiUpdate().
|
private |
Definition at line 46 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), evLumi(), and outputLumiUpdate().
|
private |
Definition at line 47 of file DQMMonitoringService.h.
Referenced by outputUpdate(), and tryUpdate().
|
private |
Definition at line 53 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), evLumi(), and outputLumiUpdate().
|
private |
Definition at line 40 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), keepAlive(), outputUpdate(), and tryUpdate().
|
private |
Definition at line 43 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), evEvent(), evLumi(), and outputLumiUpdate().
|
private |
Definition at line 52 of file DQMMonitoringService.h.
Referenced by DQMMonitoringService(), evLumi(), and outputLumiUpdate().