#include <DTTimeEvolutionHisto.h>
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
Public Member Functions | |
void | accumulateValueTimeSlot (float value) |
DTTimeEvolutionHisto (DQMStore::IBooker &ibooker, const std::string &name, const std::string &title, int nbins, int lsPrescale, bool sliding, int mode=0) | |
DTTimeEvolutionHisto (DQMStore::IBooker &ibooker, const std::string &name, const std::string &title, int nbins, int firstLS, int lsPrescale, bool sliding, int mode=0) | |
DTTimeEvolutionHisto (MonitorElement *) | |
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 15 of file DTTimeEvolutionHisto.h.
Definition at line 17 of file DTTimeEvolutionHisto.h.
Definition at line 18 of file DTTimeEvolutionHisto.h.
DTTimeEvolutionHisto::DTTimeEvolutionHisto | ( | DQMStore::IBooker & | ibooker, |
const std::string & | name, | ||
const std::string & | title, | ||
int | nbins, | ||
int | lsPrescale, | ||
bool | sliding, | ||
int | mode = 0 |
||
) |
Constructor Parameters are:
DTTimeEvolutionHisto::DTTimeEvolutionHisto | ( | DQMStore::IBooker & | ibooker, |
const std::string & | name, | ||
const std::string & | title, | ||
int | nbins, | ||
int | firstLS, | ||
int | lsPrescale, | ||
bool | sliding, | ||
int | mode = 0 |
||
) |
DTTimeEvolutionHisto::DTTimeEvolutionHisto | ( | MonitorElement * | histoGot | ) |
Definition at line 73 of file DTTimeEvolutionHisto.cc.
References histo.
|
virtual |
void DTTimeEvolutionHisto::accumulateValueTimeSlot | ( | float | value | ) |
Definition at line 106 of file DTTimeEvolutionHisto.cc.
References relativeConstraints::value, and valueLastTimeSlot.
Referenced by DTBlockedROChannelsTest::performClientDiagnostic().
void DTTimeEvolutionHisto::normalizeTo | ( | const MonitorElement * | histForNorm | ) |
Definition at line 190 of file DTTimeEvolutionHisto.cc.
References newFWLiteAna::bin, dqm::impl::MonitorElement::getBinContent(), dqm::impl::MonitorElement::getNbinsX(), histo, seedmultiplicitymonitor_newtracking_cfi::nBins, and dqm::impl::MonitorElement::setBinContent().
Referenced by DTSegmentAnalysisTest::dqmEndJob().
void DTTimeEvolutionHisto::setTimeSlotValue | ( | float | value, |
int | timeSlot | ||
) |
Definition at line 87 of file DTTimeEvolutionHisto.cc.
References newFWLiteAna::bin, doSlide, dqm::impl::MonitorElement::Fill(), dqm::impl::MonitorElement::getBinContent(), dqm::impl::MonitorElement::getBinError(), dqm::legacy::MonitorElement::getTH1F(), histo, nBookedBins, dqm::impl::MonitorElement::setBinContent(), dqm::impl::MonitorElement::setBinError(), and dqm::impl::MonitorElement::setBinLabel().
Referenced by DTDCSByLumiSummary::dqmEndJob(), and updateTimeSlot().
void DTTimeEvolutionHisto::updateTimeSlot | ( | int | ls, |
int | nEventsInLS | ||
) |
Definition at line 108 of file DTTimeEvolutionHisto.cc.
References doSlide, dqmMemoryStats::float, dqm::impl::MonitorElement::getBinContent(), histo, createfilelist::int, eostools::ls(), nBookedBins, nEvents, nEventsInLastTimeSlot, nLumiTrInLastTimeSlot, dqm::impl::MonitorElement::setBinLabel(), setTimeSlotValue(), theFirstLS, theLSPrescale, theMode, and valueLastTimeSlot.
Referenced by DTSegmentAnalysisTask::endLuminosityBlock(), and DTBlockedROChannelsTest::performClientDiagnostic().
|
private |
Definition at line 72 of file DTTimeEvolutionHisto.h.
Referenced by setTimeSlotValue(), and updateTimeSlot().
|
private |
Definition at line 75 of file DTTimeEvolutionHisto.h.
Referenced by DTTimeEvolutionHisto(), normalizeTo(), setTimeSlotValue(), and updateTimeSlot().
|
private |
Definition at line 73 of file DTTimeEvolutionHisto.h.
Referenced by setTimeSlotValue(), and updateTimeSlot().
|
private |
Definition at line 68 of file DTTimeEvolutionHisto.h.
Referenced by 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 74 of file DTTimeEvolutionHisto.h.
Referenced by updateTimeSlot().
|
private |
Definition at line 67 of file DTTimeEvolutionHisto.h.
Referenced by accumulateValueTimeSlot(), and updateTimeSlot().