#include <CertificationClient.h>
Public Types | |
enum | MESets { kCertificationMap, kCertificationContents, kCertification, kReportSummaryMap, kReportSummaryContents, kReportSummary, nMESets } |
enum | Sources { sIntegrity, sFEStatus, sDesync, sDAQ, sDCS, nSources } |
Public Member Functions | |
void | beginRun (const edm::Run &, const edm::EventSetup &) |
void | bookMEs () |
CertificationClient (const edm::ParameterSet &, const edm::ParameterSet &) | |
void | producePlots () |
~CertificationClient () | |
Static Public Member Functions | |
static void | setMEData (std::vector< MEData > &) |
Definition at line 8 of file CertificationClient.h.
kCertificationMap | |
kCertificationContents | |
kCertification | |
kReportSummaryMap | |
kReportSummaryContents | |
kReportSummary | |
nMESets |
Reimplemented from ecaldqm::DQWorker.
Definition at line 19 of file CertificationClient.h.
Reimplemented from ecaldqm::DQWorkerClient.
Definition at line 31 of file CertificationClient.h.
data refman pasoursint CMSSW_5_2_7_hltpatch2 src DQM EcalBarrelMonitorClient src CertificationClient cc ecaldqm::CertificationClient::CertificationClient | ( | const edm::ParameterSet & | _params, |
const edm::ParameterSet & | _paths | ||
) |
Definition at line 14 of file CertificationClient.cc.
References edm::ParameterSet::getUntrackedParameterSet(), ecaldqm::IntegrityTask::kByLumi, ecaldqm::TowerStatusTask::kDAQSummaryMap, ecaldqm::TowerStatusTask::kDCSSummaryMap, ecaldqm::RawDataTask::kDesyncByLumi, and ecaldqm::RawDataTask::kFEStatus.
{ edm::ParameterSet const& sources(_params.getUntrackedParameterSet("sources")); source_(sIntegrity, "IntegrityTask", IntegrityTask::kByLumi, sources); source_(sFEStatus, "RawDataTask", RawDataTask::kFEStatus, sources); source_(sDesync, "RawDataTask", RawDataTask::kDesyncByLumi, sources); source_(sDAQ, "TowerStatusTask", TowerStatusTask::kDAQSummaryMap, sources); source_(sDCS, "TowerStatusTask", TowerStatusTask::kDCSSummaryMap, sources); }
ecaldqm::CertificationClient::~CertificationClient | ( | ) | [inline] |
Definition at line 11 of file CertificationClient.h.
{}
void ecaldqm::CertificationClient::beginRun | ( | const edm::Run & | , |
const edm::EventSetup & | |||
) | [virtual] |
Reimplemented from ecaldqm::DQWorker.
Definition at line 38 of file CertificationClient.cc.
References kCertification, kCertificationContents, kCertificationMap, and ecaldqm::DQWorker::MEs_.
{ MEs_[kCertificationMap]->resetAll(-1.); MEs_[kCertificationMap]->reset(1.); MEs_[kCertificationContents]->reset(1.); MEs_[kCertification]->reset(1.); }
void ecaldqm::CertificationClient::bookMEs | ( | ) | [virtual] |
Reimplemented from ecaldqm::DQWorker.
Definition at line 26 of file CertificationClient.cc.
References kCertification, kCertificationContents, kCertificationMap, kReportSummary, kReportSummaryContents, kReportSummaryMap, and ecaldqm::DQWorker::MEs_.
{ unsigned iMEs[] = {kCertificationMap, kCertificationContents, kCertification}; for(unsigned iME(0); iME < sizeof(iMEs) / sizeof(unsigned); iME++) MEs_[iMEs[iME]]->book(); MEs_[kReportSummaryMap]->retrieve(); MEs_[kReportSummaryContents]->retrieve(); MEs_[kReportSummary]->retrieve(); }
void ecaldqm::CertificationClient::producePlots | ( | ) | [virtual] |
Implements ecaldqm::DQWorkerClient.
Definition at line 47 of file CertificationClient.cc.
References lumiContext::fill, kCertification, kCertificationContents, kCertificationMap, and ecaldqm::DQWorker::MEs_.
{ MEs_[kCertificationMap]->reset(1.); for(unsigned dccid(1); dccid <= 54; dccid++) MEs_[kCertificationContents]->fill(dccid, 1.); float cert(1.); MEs_[kCertification]->fill(cert); }
void ecaldqm::CertificationClient::setMEData | ( | std::vector< MEData > & | _data | ) | [static] |
Reimplemented from ecaldqm::DQWorker.
Definition at line 59 of file CertificationClient.cc.
References MonitorElement::DQM_KIND_REAL, MonitorElement::DQM_KIND_TH2F, kCertification, kCertificationContents, kCertificationMap, EcalDQMBinningService::kEcal, EcalDQMBinningService::kReport, kReportSummary, kReportSummaryContents, kReportSummaryMap, EcalDQMBinningService::kSM, and EcalDQMBinningService::kSuperCrystal.
{ _data[kCertificationMap] = MEData("CertificationMap", BinService::kEcal, BinService::kSuperCrystal, MonitorElement::DQM_KIND_TH2F); _data[kCertificationContents] = MEData("CertificationContents", BinService::kSM, BinService::kReport, MonitorElement::DQM_KIND_REAL); _data[kCertification] = MEData("Certification", BinService::kEcal, BinService::kReport, MonitorElement::DQM_KIND_REAL); _data[kReportSummaryMap] = MEData("ReportSummaryMap", BinService::kEcal, BinService::kSuperCrystal, MonitorElement::DQM_KIND_TH2F); _data[kReportSummaryContents] = MEData("ReportSummaryContents", BinService::kSM, BinService::kReport, MonitorElement::DQM_KIND_REAL); _data[kReportSummary] = MEData("ReportSummary", BinService::kEcal, BinService::kReport, MonitorElement::DQM_KIND_REAL); }