#include <DTTimeEvolutionHisto.h>
Public Member Functions | |
void | accumulateValueTimeSlot (float value) |
DTTimeEvolutionHisto (DQMStore *dbe, const std::string &name, const std::string &title, int nbins, int lsPrescale, bool sliding, int mode=0) | |
DTTimeEvolutionHisto (DQMStore *dbe, const std::string &name, const std::string &title, int nbins, int firstLS, int lsPrescale, bool sliding, int mode=0) | |
DTTimeEvolutionHisto (DQMStore *dbe, const std::string &name) | |
retrieve the monitor element from DQMStore More... | |
void | normalizeTo (const MonitorElement *histForNorm) |
void | setTimeSlotValue (float value, int timeSlot) |
void | updateTimeSlot (int ls, int nEventsInLS) |
virtual | ~DTTimeEvolutionHisto () |
Destructor. More... | |
Private Attributes | |
bool | doSlide |
MonitorElement * | histo |
int | nBookedBins |
std::map< int, int > | nEventsInLastTimeSlot |
std::map< int, int > | nLumiTrInLastTimeSlot |
int | theFirstLS |
int | theLSPrescale |
int | theMode |
float | valueLastTimeSlot |
No description available.
Definition at line 16 of file DTTimeEvolutionHisto.h.
DTTimeEvolutionHisto::DTTimeEvolutionHisto | ( | DQMStore * | dbe, |
const std::string & | name, | ||
const std::string & | title, | ||
int | nbins, | ||
int | lsPrescale, | ||
bool | sliding, | ||
int | mode = 0 |
||
) |
Constructor Parameters are:
DTTimeEvolutionHisto::DTTimeEvolutionHisto | ( | DQMStore * | dbe, |
const std::string & | name, | ||
const std::string & | title, | ||
int | nbins, | ||
int | firstLS, | ||
int | lsPrescale, | ||
bool | sliding, | ||
int | mode = 0 |
||
) |
DTTimeEvolutionHisto::DTTimeEvolutionHisto | ( | DQMStore * | dbe, |
const std::string & | name | ||
) |
retrieve the monitor element from DQMStore
|
virtual |
void DTTimeEvolutionHisto::accumulateValueTimeSlot | ( | float | value | ) |
Definition at line 166 of file DTTimeEvolutionHisto.cc.
References relativeConstraints::value, and valueLastTimeSlot.
Referenced by DTBlockedROChannelsTest::performClientDiagnostic().
void DTTimeEvolutionHisto::normalizeTo | ( | const MonitorElement * | histForNorm | ) |
Definition at line 257 of file DTTimeEvolutionHisto.cc.
References newFWLiteAna::bin, MonitorElement::getBinContent(), MonitorElement::getNbinsX(), histo, and MonitorElement::setBinContent().
Referenced by DTSegmentAnalysisTest::endRun().
void DTTimeEvolutionHisto::setTimeSlotValue | ( | float | value, |
int | timeSlot | ||
) |
Definition at line 141 of file DTTimeEvolutionHisto.cc.
References newFWLiteAna::bin, doSlide, MonitorElement::Fill(), MonitorElement::getBinContent(), MonitorElement::getBinError(), MonitorElement::getTH1F(), histo, nBookedBins, MonitorElement::setBinContent(), MonitorElement::setBinError(), and MonitorElement::setBinLabel().
Referenced by DTDCSByLumiSummary::endRun(), and updateTimeSlot().
void DTTimeEvolutionHisto::updateTimeSlot | ( | int | ls, |
int | nEventsInLS | ||
) |
Definition at line 172 of file DTTimeEvolutionHisto.cc.
References doSlide, MonitorElement::getBinContent(), histo, python.rootplot.utilities::ls(), nBookedBins, nEvents, nEventsInLastTimeSlot, nLumiTrInLastTimeSlot, MonitorElement::setBinLabel(), setTimeSlotValue(), theFirstLS, theLSPrescale, theMode, relativeConstraints::value, and valueLastTimeSlot.
Referenced by DTSegmentAnalysisTask::endLuminosityBlock(), and DTBlockedROChannelsTest::performClientDiagnostic().
|
private |
Definition at line 73 of file DTTimeEvolutionHisto.h.
Referenced by setTimeSlotValue(), and updateTimeSlot().
|
private |
Definition at line 76 of file DTTimeEvolutionHisto.h.
Referenced by normalizeTo(), setTimeSlotValue(), and updateTimeSlot().
|
private |
Definition at line 74 of file DTTimeEvolutionHisto.h.
Referenced by setTimeSlotValue(), and updateTimeSlot().
|
private |
Definition at line 69 of file DTTimeEvolutionHisto.h.
Referenced by updateTimeSlot().
|
private |
Definition at line 70 of file DTTimeEvolutionHisto.h.
Referenced by updateTimeSlot().
|
private |
Definition at line 71 of file DTTimeEvolutionHisto.h.
Referenced by updateTimeSlot().
|
private |
Definition at line 72 of file DTTimeEvolutionHisto.h.
Referenced by updateTimeSlot().
|
private |
Definition at line 75 of file DTTimeEvolutionHisto.h.
Referenced by updateTimeSlot().
|
private |
Definition at line 68 of file DTTimeEvolutionHisto.h.
Referenced by accumulateValueTimeSlot(), and updateTimeSlot().