CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Private Attributes

ESDataCertificationTask Class Reference

#include <ESDataCertificationTask.h>

Inheritance diagram for ESDataCertificationTask:
edm::EDAnalyzer

List of all members.

Public Member Functions

 ESDataCertificationTask (const edm::ParameterSet &ps)
virtual ~ESDataCertificationTask ()

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c)
void beginJob (void)
void beginLuminosityBlock (const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup)
void cleanup (void)
void endJob (void)
void endLuminosityBlock (const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup)
void reset (void)

Private Attributes

DQMStoredqmStore_
bool enableCleanup_
MonitorElementmeESDataCertificationSummary_
MonitorElementmeESDataCertificationSummaryMap_
bool mergeRuns_
std::string prefixME_

Detailed Description

Definition at line 8 of file ESDataCertificationTask.h.


Constructor & Destructor Documentation

ESDataCertificationTask::ESDataCertificationTask ( const edm::ParameterSet ps)
ESDataCertificationTask::~ESDataCertificationTask ( ) [virtual]

Definition at line 41 of file ESDataCertificationTask.cc.

                                                  {

}

Member Function Documentation

void ESDataCertificationTask::analyze ( const edm::Event e,
const edm::EventSetup c 
) [protected, virtual]

Implements edm::EDAnalyzer.

Definition at line 105 of file ESDataCertificationTask.cc.

                                                                        { 

}
void ESDataCertificationTask::beginJob ( void  ) [protected, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 45 of file ESDataCertificationTask.cc.

References timingPdfMaker::histo, and prefixME_.

                                           {

  char histo[200];
  
  if ( dqmStore_ ) {

    dqmStore_->setCurrentFolder(prefixME_ + "/EventInfo");
    
    sprintf(histo, "CertificationSummary");
    meESDataCertificationSummary_ = dqmStore_->bookFloat(histo);
    meESDataCertificationSummary_->Fill(0.0);

    sprintf(histo, "CertificationSummaryMap");
    meESDataCertificationSummaryMap_ = dqmStore_->book2D(histo,histo, 40, 0., 40., 40, 0., 40.);
    meESDataCertificationSummaryMap_->setAxisTitle("X", 1);
    meESDataCertificationSummaryMap_->setAxisTitle("Y", 2);
    
  }

}
void ESDataCertificationTask::beginLuminosityBlock ( const edm::LuminosityBlock lumiBlock,
const edm::EventSetup iSetup 
) [protected, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 72 of file ESDataCertificationTask.cc.

References reset().

                                                                                                                   {

  this->reset();

}
void ESDataCertificationTask::cleanup ( void  ) [protected]
void ESDataCertificationTask::endJob ( void  ) [protected, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 66 of file ESDataCertificationTask.cc.

References edm::cleanup().

                                         {

  if ( enableCleanup_ ) this->cleanup();

}
void ESDataCertificationTask::endLuminosityBlock ( const edm::LuminosityBlock lumiBlock,
const edm::EventSetup iSetup 
) [protected, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 78 of file ESDataCertificationTask.cc.

                                                                                                                   {

}
void ESDataCertificationTask::reset ( void  ) [protected]

Member Data Documentation

Definition at line 27 of file ESDataCertificationTask.h.

Definition at line 31 of file ESDataCertificationTask.h.

Definition at line 35 of file ESDataCertificationTask.h.

Definition at line 36 of file ESDataCertificationTask.h.

Definition at line 33 of file ESDataCertificationTask.h.

std::string ESDataCertificationTask::prefixME_ [private]

Definition at line 29 of file ESDataCertificationTask.h.