#include <CommissioningTask.h>
Classes | |
class | CompactHistoSet |
class | HistoSet |
Public Member Functions | |
void | bookHistograms () |
CommissioningTask (DQMStore *, const FedChannelConnection &, const std::string &my_name) | |
void | eventSetup (const edm::EventSetup *) |
const uint32_t & | fillCntr () const |
void | fillHistograms (const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &) |
void | fillHistograms (const SiStripEventSummary &, const uint16_t &fed_id, const std::map< uint16_t, float > &fed_ch) |
const std::string & | myName () const |
const uint32_t & | updateFreq () const |
void | updateFreq (const uint32_t &) |
void | updateHistograms () |
virtual | ~CommissioningTask () |
Protected Member Functions | |
const FedChannelConnection & | connection () const |
DQMStore *const | dqm () const |
const edm::EventSetup *const | eventSetup () const |
const uint32_t & | fecKey () const |
const uint32_t & | fedKey () const |
void | updateHistoSet (HistoSet &, const uint32_t &bin, const float &value) |
void | updateHistoSet (CompactHistoSet &, const uint32_t &bin, const short &value) |
void | updateHistoSet (HistoSet &, const uint32_t &bin) |
void | updateHistoSet (CompactHistoSet &, const uint32_t &bin) |
void | updateHistoSet (HistoSet &, const float &value) |
void | updateHistoSet (CompactHistoSet &) |
void | updateHistoSet (HistoSet &) |
Private Member Functions | |
virtual void | book () |
CommissioningTask () | |
virtual void | fill (const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &) |
virtual void | fill (const SiStripEventSummary &, const uint16_t &fed_id, const std::map< uint16_t, float > &fed_ch) |
virtual void | update () |
Private Attributes | |
bool | booked_ |
FedChannelConnection | connection_ |
DQMStore * | dqm_ |
const edm::EventSetup * | eventSetup_ |
uint32_t | fecKey_ |
uint32_t | fedKey_ |
uint32_t | fillCntr_ |
std::string | myName_ |
uint32_t | updateFreq_ |
Definition at line 21 of file CommissioningTask.h.
CommissioningTask::CommissioningTask | ( | DQMStore * | dqm, |
const FedChannelConnection & | conn, | ||
const std::string & | my_name | ||
) |
Definition at line 17 of file CommissioningTask.cc.
References FedChannelConnection::ccuAddr(), FedChannelConnection::ccuChan(), connection_, TauDecayModes::dec, FedChannelConnection::fecCrate(), SiStripFedKey::feChan(), fecKey_, FedChannelConnection::fecRing(), FedChannelConnection::fecSlot(), FedChannelConnection::fedCh(), FedChannelConnection::fedId(), fedKey_, SiStripFedKey::feUnit(), relval_steps::key, FedChannelConnection::lldChannel(), LogTrace, sistrip::mlDqmSource_, and myName_.
|
virtual |
Definition at line 62 of file CommissioningTask.cc.
References FedChannelConnection::ccuAddr(), FedChannelConnection::ccuChan(), connection_, TauDecayModes::dec, FedChannelConnection::fecCrate(), fecKey_, FedChannelConnection::fecRing(), FedChannelConnection::fecSlot(), FedChannelConnection::fedCh(), FedChannelConnection::fedId(), fedKey_, FedChannelConnection::lldChannel(), LogTrace, sistrip::mlDqmSource_, and myName_.
|
inlineprivate |
Definition at line 134 of file CommissioningTask.h.
|
privatevirtual |
Reimplemented in PedsFullNoiseTask, NoiseTask, PedsOnlyTask, FedCablingTask, CalibrationScanTask, CalibrationTask, FineDelayTask, LatencyTask, OptoScanTask, PedestalsTask, ApvTimingTask, DaqScopeModeTask, FedTimingTask, VpspScanTask, and FastFedCablingTask.
Definition at line 144 of file CommissioningTask.cc.
References sistrip::mlDqmSource_.
Referenced by bookHistograms().
void CommissioningTask::bookHistograms | ( | ) |
Books histograms and constructs HistoSet cache.
Definition at line 179 of file CommissioningTask.cc.
References book(), and booked_.
|
inlineprotected |
Definition at line 177 of file CommissioningTask.h.
References connection_.
Referenced by FastFedCablingTask::book(), FedTimingTask::book(), VpspScanTask::book(), ApvTimingTask::book(), DaqScopeModeTask::book(), OptoScanTask::book(), PedestalsTask::book(), CalibrationScanTask::book(), CalibrationTask::book(), LatencyTask::book(), FedCablingTask::book(), NoiseTask::book(), PedsOnlyTask::book(), PedsFullNoiseTask::book(), CalibrationTask::checkAndSave(), CalibrationScanTask::checkAndSave(), PedsOnlyTask::fill(), NoiseTask::fill(), PedsOnlyTask::update(), and NoiseTask::update().
|
inlineprotected |
Returns const pointer to DQM back-end interface object.
Definition at line 176 of file CommissioningTask.h.
References dqm_.
Referenced by FastFedCablingTask::book(), FedTimingTask::book(), VpspScanTask::book(), ApvTimingTask::book(), DaqScopeModeTask::book(), OptoScanTask::book(), PedestalsTask::book(), LatencyTask::book(), CalibrationScanTask::book(), CalibrationTask::book(), FineDelayTask::book(), FedCablingTask::book(), PedsOnlyTask::book(), NoiseTask::book(), PedsFullNoiseTask::book(), CalibrationScanTask::checkAndSave(), and CalibrationTask::checkAndSave().
|
inline |
Define access to the EventSetup.
Definition at line 182 of file CommissioningTask.h.
References eventSetup_, and HcalObjRepresent::setup().
|
inlineprotected |
Access to the EventSetup.
Definition at line 183 of file CommissioningTask.h.
References eventSetup_.
Referenced by NoiseTask::book().
|
inlineprotected |
Returns FEC key.
Definition at line 179 of file CommissioningTask.h.
References fecKey_.
Referenced by VpspScanTask::fill().
|
inlineprotected |
Returns FED key.
Definition at line 180 of file CommissioningTask.h.
References fedKey_.
Referenced by FastFedCablingTask::book(), VpspScanTask::book(), DaqScopeModeTask::book(), FedTimingTask::book(), ApvTimingTask::book(), PedestalsTask::book(), OptoScanTask::book(), FedCablingTask::book(), PedsOnlyTask::book(), NoiseTask::book(), and PedsFullNoiseTask::book().
|
privatevirtual |
Reimplemented in PedsFullNoiseTask, NoiseTask, PedsOnlyTask, CalibrationScanTask, CalibrationTask, FineDelayTask, LatencyTask, OptoScanTask, PedestalsTask, ApvTimingTask, DaqScopeModeTask, FedTimingTask, VpspScanTask, and FastFedCablingTask.
Definition at line 152 of file CommissioningTask.cc.
References sistrip::mlDqmSource_.
Referenced by fillHistograms().
|
privatevirtual |
Reimplemented in FedCablingTask.
Definition at line 161 of file CommissioningTask.cc.
References sistrip::mlDqmSource_.
|
inline |
Get histogram filled counter.
Definition at line 171 of file CommissioningTask.h.
References fillCntr_.
Referenced by DaqScopeModeTask::fill().
void CommissioningTask::fillHistograms | ( | const SiStripEventSummary & | summary, |
const edm::DetSet< SiStripRawDigi > & | digis | ||
) |
Fills HistoSet cache.
Definition at line 186 of file CommissioningTask.cc.
References booked_, fill(), fillCntr_, sistrip::mlDqmSource_, update(), and updateFreq_.
void CommissioningTask::fillHistograms | ( | const SiStripEventSummary & | summary, |
const uint16_t & | fed_id, | ||
const std::map< uint16_t, float > & | fed_ch | ||
) |
Fill HistoSet cache for FED cabling (special case).
Definition at line 204 of file CommissioningTask.cc.
References booked_, fill(), fillCntr_, sistrip::mlDqmSource_, update(), and updateFreq_.
|
inline |
Returns the name of this commissioning task.
Definition at line 174 of file CommissioningTask.h.
References myName_.
|
privatevirtual |
Reimplemented in PedsFullNoiseTask, NoiseTask, PedsOnlyTask, FedCablingTask, CalibrationScanTask, CalibrationTask, FineDelayTask, LatencyTask, OptoScanTask, PedestalsTask, ApvTimingTask, DaqScopeModeTask, FedTimingTask, VpspScanTask, and FastFedCablingTask.
Definition at line 171 of file CommissioningTask.cc.
References sistrip::mlDqmSource_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), fillHistograms(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), Vispa.Gui.PortConnection.PointToPointConnection::updateConnection(), and updateHistograms().
|
inline |
Get histogram update frequency.
Definition at line 172 of file CommissioningTask.h.
References updateFreq_.
Referenced by DaqScopeModeTask::fill().
|
inline |
Set histogram update frequency.
Definition at line 173 of file CommissioningTask.h.
References updateFreq_.
void CommissioningTask::updateHistograms | ( | ) |
Updates histograms using HistoSet cache.
Definition at line 223 of file CommissioningTask.cc.
References update().
|
protected |
Updates the vectors of HistoSet.
Definition at line 253 of file CommissioningTask.cc.
References newFWLiteAna::bin, CommissioningTask::HistoSet::explicitFill_, CommissioningTask::HistoSet::histo(), CommissioningTask::HistoSet::isProfile_, sistrip::mlDqmSource_, relativeConstraints::value, CommissioningTask::HistoSet::vNumOfEntries_, CommissioningTask::HistoSet::vSumOfContents_, and CommissioningTask::HistoSet::vSumOfSquares_.
Referenced by FastFedCablingTask::fill(), ApvTimingTask::fill(), DaqScopeModeTask::fill(), FedTimingTask::fill(), VpspScanTask::fill(), OptoScanTask::fill(), PedestalsTask::fill(), CalibrationTask::fill(), FineDelayTask::fill(), LatencyTask::fill(), CalibrationScanTask::fill(), FedCablingTask::fill(), PedsFullNoiseTask::fill(), FastFedCablingTask::update(), DaqScopeModeTask::update(), ApvTimingTask::update(), VpspScanTask::update(), FedTimingTask::update(), PedestalsTask::update(), OptoScanTask::update(), CalibrationScanTask::update(), CalibrationTask::update(), FineDelayTask::update(), LatencyTask::update(), FedCablingTask::update(), NoiseTask::update(), PedsFullNoiseTask::update(), and updateHistoSet().
|
protected |
Definition at line 297 of file CommissioningTask.cc.
References newFWLiteAna::bin, CommissioningTask::CompactHistoSet::explicitFill_, CommissioningTask::CompactHistoSet::histo(), sistrip::mlDqmSource_, relativeConstraints::value, and CommissioningTask::CompactHistoSet::vNumOfEntries_.
|
protected |
Updates the vectors of HistoSet.
Definition at line 229 of file CommissioningTask.cc.
References updateHistoSet(), and relativeConstraints::value.
|
protected |
Definition at line 237 of file CommissioningTask.cc.
References updateHistoSet(), and relativeConstraints::value.
|
protected |
Updates the vectors of HistoSet.
Definition at line 245 of file CommissioningTask.cc.
References CommissioningTask::HistoSet::bin(), updateHistoSet(), and puppiForMET_cff::weight.
|
protected |
Definition at line 361 of file CommissioningTask.cc.
References CommissioningTask::CompactHistoSet::explicitFill_, CommissioningTask::CompactHistoSet::histo(), sistrip::mlDqmSource_, and CommissioningTask::CompactHistoSet::vNumOfEntries_.
|
protected |
Updates the MonitorElements of HistoSet.
Definition at line 322 of file CommissioningTask.cc.
References CommissioningTask::HistoSet::explicitFill_, extract(), CommissioningTask::HistoSet::histo(), CommissioningTask::HistoSet::isProfile_, sistrip::mlDqmSource_, CommissioningTask::HistoSet::vNumOfEntries_, CommissioningTask::HistoSet::vSumOfContents_, and CommissioningTask::HistoSet::vSumOfSquares_.
|
private |
Definition at line 161 of file CommissioningTask.h.
Referenced by bookHistograms(), and fillHistograms().
|
private |
Definition at line 155 of file CommissioningTask.h.
Referenced by CommissioningTask(), connection(), and ~CommissioningTask().
|
private |
Definition at line 149 of file CommissioningTask.h.
Referenced by dqm().
|
private |
Definition at line 165 of file CommissioningTask.h.
Referenced by eventSetup().
|
private |
Definition at line 159 of file CommissioningTask.h.
Referenced by CommissioningTask(), fecKey(), and ~CommissioningTask().
|
private |
Definition at line 157 of file CommissioningTask.h.
Referenced by CommissioningTask(), fedKey(), and ~CommissioningTask().
|
private |
Definition at line 153 of file CommissioningTask.h.
Referenced by fillCntr(), and fillHistograms().
|
private |
Definition at line 163 of file CommissioningTask.h.
Referenced by CommissioningTask(), myName(), and ~CommissioningTask().
|
private |
Definition at line 151 of file CommissioningTask.h.
Referenced by fillHistograms(), and updateFreq().