CMS 3D CMS Logo

Public Types | Public Member Functions | Static Public Member Functions

ecaldqm::CertificationClient Class Reference

#include <CertificationClient.h>

Inheritance diagram for ecaldqm::CertificationClient:
ecaldqm::DQWorkerClient ecaldqm::DQWorker

List of all members.

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 > &)

Detailed Description

Definition at line 8 of file CertificationClient.h.


Member Enumeration Documentation

Enumerator:
kCertificationMap 
kCertificationContents 
kCertification 
kReportSummaryMap 
kReportSummaryContents 
kReportSummary 
nMESets 

Reimplemented from ecaldqm::DQWorker.

Definition at line 19 of file CertificationClient.h.

Enumerator:
sIntegrity 
sFEStatus 
sDesync 
sDAQ 
sDCS 
nSources 

Reimplemented from ecaldqm::DQWorkerClient.

Definition at line 31 of file CertificationClient.h.


Constructor & Destructor Documentation

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 
)
ecaldqm::CertificationClient::~CertificationClient ( ) [inline]

Definition at line 11 of file CertificationClient.h.

{}

Member Function Documentation

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]