CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

DTDCSSummary Class Reference

#include <DTDCSSummary.h>

Inheritance diagram for DTDCSSummary:
edm::EDAnalyzer

List of all members.

Public Member Functions

 DTDCSSummary (const edm::ParameterSet &pset)
 Constructor.
virtual ~DTDCSSummary ()
 Destructor.

Private Member Functions

virtual void analyze (const edm::Event &event, const edm::EventSetup &setup)
virtual void beginJob ()
virtual void beginLuminosityBlock (const edm::LuminosityBlock &lumi, const edm::EventSetup &setup)
virtual void endJob ()
virtual void endLuminosityBlock (const edm::LuminosityBlock &lumi, const edm::EventSetup &setup)

Private Attributes

std::map< int, MonitorElement * > dcsFractions
DQMStoretheDbe
MonitorElementtotalDCSFraction

Detailed Description

No description available.

Date:
2010/01/05 10:15:46
Revision:
1.2
Author:
G. Cerminara - INFN Torino

Definition at line 20 of file DTDCSSummary.h.


Constructor & Destructor Documentation

DTDCSSummary::DTDCSSummary ( const edm::ParameterSet pset)

Constructor.

Definition at line 27 of file DTDCSSummary.cc.

{}
DTDCSSummary::~DTDCSSummary ( ) [virtual]

Destructor.

Definition at line 32 of file DTDCSSummary.cc.

{}

Member Function Documentation

void DTDCSSummary::analyze ( const edm::Event event,
const edm::EventSetup setup 
) [private, virtual]

Implements edm::EDAnalyzer.

Definition at line 71 of file DTDCSSummary.cc.

{}
void DTDCSSummary::beginJob ( void  ) [private, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 36 of file DTDCSSummary.cc.

References cppFunctionSkipper::operator, and hcal_dqm_sourceclient-file_cfg::streams.

                           {
  // get the DQMStore
  theDbe = Service<DQMStore>().operator->();
  
  // book the ME
  theDbe->setCurrentFolder("DT/EventInfo/DCSContents");
  // global fraction
  totalDCSFraction = theDbe->bookFloat("DTDCSSummary");  
  totalDCSFraction->Fill(-1);
  // Wheel "fractions" -> will be 0 or 1
  for(int wheel = -2; wheel != 3; ++wheel) {
    stringstream streams;
    streams << "DT_Wheel" << wheel;
    dcsFractions[wheel] = theDbe->bookFloat(streams.str());
    dcsFractions[wheel]->Fill(-1);
  }

}
void DTDCSSummary::beginLuminosityBlock ( const edm::LuminosityBlock lumi,
const edm::EventSetup setup 
) [private, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 57 of file DTDCSSummary.cc.

                                                                                             {
}
void DTDCSSummary::endJob ( void  ) [private, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 67 of file DTDCSSummary.cc.

{}
void DTDCSSummary::endLuminosityBlock ( const edm::LuminosityBlock lumi,
const edm::EventSetup setup 
) [private, virtual]

Reimplemented from edm::EDAnalyzer.

Definition at line 63 of file DTDCSSummary.cc.

{}

Member Data Documentation

std::map<int, MonitorElement*> DTDCSSummary::dcsFractions [private]

Definition at line 42 of file DTDCSSummary.h.

Definition at line 39 of file DTDCSSummary.h.

Definition at line 41 of file DTDCSSummary.h.