#include <DTDCSSummary.h>
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 |
DQMStore * | theDbe |
MonitorElement * | totalDCSFraction |
No description available.
Definition at line 20 of file DTDCSSummary.h.
DTDCSSummary::DTDCSSummary | ( | const edm::ParameterSet & | pset | ) |
DTDCSSummary::~DTDCSSummary | ( | ) | [virtual] |
void DTDCSSummary::analyze | ( | const edm::Event & | event, |
const edm::EventSetup & | setup | ||
) | [private, virtual] |
void DTDCSSummary::beginJob | ( | void | ) | [private, virtual] |
Reimplemented from edm::EDAnalyzer.
Definition at line 36 of file DTDCSSummary.cc.
References cmsCodeRules::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] |
void DTDCSSummary::endJob | ( | void | ) | [private, virtual] |
void DTDCSSummary::endLuminosityBlock | ( | const edm::LuminosityBlock & | lumi, |
const edm::EventSetup & | setup | ||
) | [private, virtual] |
std::map<int, MonitorElement*> DTDCSSummary::dcsFractions [private] |
Definition at line 42 of file DTDCSSummary.h.
DQMStore* DTDCSSummary::theDbe [private] |
Definition at line 39 of file DTDCSSummary.h.
MonitorElement* DTDCSSummary::totalDCSFraction [private] |
Definition at line 41 of file DTDCSSummary.h.