#include <CommissioningTask.h>
Classes | |
class | CompactHistoSet |
class | HistoSet |
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
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 edm::DetSet< SiStripRawDigi > &, const edm::DetSet< SiStripRawDigi > &) |
void | fillHistograms (const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &, const edm::DetSet< SiStripRawDigi > &, const std::vector< uint16_t > &) |
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 (CompactHistoSet &) |
void | updateHistoSet (CompactHistoSet &, const uint32_t &bin) |
void | updateHistoSet (CompactHistoSet &, const uint32_t &bin, const short &value) |
void | updateHistoSet (HistoSet &) |
void | updateHistoSet (HistoSet &, const float &value) |
void | updateHistoSet (HistoSet &, const uint32_t &bin) |
void | updateHistoSet (HistoSet &, const uint32_t &bin, const float &value) |
Private Member Functions | |
virtual void | book () |
CommissioningTask () | |
virtual void | fill (const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &) |
virtual void | fill (const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &, const edm::DetSet< SiStripRawDigi > &) |
virtual void | fill (const SiStripEventSummary &, const edm::DetSet< SiStripRawDigi > &, const edm::DetSet< SiStripRawDigi > &, const std::vector< uint16_t > &) |
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 24 of file CommissioningTask.h.
Definition at line 26 of file CommissioningTask.h.
Definition at line 27 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(), crabWrapper::key, FedChannelConnection::lldChannel(), LogTrace, sistrip::mlDqmSource_, and myName_.
|
virtual |
Definition at line 49 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 143 of file CommissioningTask.h.
|
privatevirtual |
Reimplemented in PedsFullNoiseTask, NoiseTask, PedsOnlyTask, CalibrationScanTask, CalibrationTask, FedCablingTask, DaqScopeModeTask, FineDelayTask, LatencyTask, OptoScanTask, PedestalsTask, ApvTimingTask, FedTimingTask, VpspScanTask, and FastFedCablingTask.
Definition at line 126 of file CommissioningTask.cc.
References sistrip::mlDqmSource_.
Referenced by bookHistograms().
void CommissioningTask::bookHistograms | ( | ) |
|
inlineprotected |
Definition at line 189 of file CommissioningTask.h.
References connection_.
Referenced by FastFedCablingTask::book(), ApvTimingTask::book(), VpspScanTask::book(), FedTimingTask::book(), OptoScanTask::book(), PedestalsTask::book(), LatencyTask::book(), DaqScopeModeTask::book(), FedCablingTask::book(), CalibrationScanTask::book(), CalibrationTask::book(), PedsOnlyTask::book(), NoiseTask::book(), PedsFullNoiseTask::book(), NoiseTask::fill(), PedsOnlyTask::fill(), NoiseTask::update(), and PedsOnlyTask::update().
|
inlineprotected |
Returns const pointer to DQM back-end interface object.
Definition at line 188 of file CommissioningTask.h.
References dqm_.
Referenced by FastFedCablingTask::book(), ApvTimingTask::book(), FedTimingTask::book(), VpspScanTask::book(), OptoScanTask::book(), PedestalsTask::book(), FineDelayTask::book(), LatencyTask::book(), DaqScopeModeTask::book(), FedCablingTask::book(), CalibrationScanTask::book(), CalibrationTask::book(), NoiseTask::book(), PedsOnlyTask::book(), and PedsFullNoiseTask::book().
|
inlineprotected |
Access to the EventSetup.
Definition at line 195 of file CommissioningTask.h.
References eventSetup_.
Referenced by NoiseTask::book().
|
inline |
Define access to the EventSetup.
Definition at line 194 of file CommissioningTask.h.
References eventSetup_, and singleTopDQM_cfi::setup.
|
inlineprotected |
Returns FEC key.
Definition at line 191 of file CommissioningTask.h.
References fecKey_.
Referenced by VpspScanTask::fill().
|
inlineprotected |
Returns FED key.
Definition at line 192 of file CommissioningTask.h.
References fedKey_.
Referenced by FastFedCablingTask::book(), ApvTimingTask::book(), FedTimingTask::book(), VpspScanTask::book(), OptoScanTask::book(), PedestalsTask::book(), DaqScopeModeTask::book(), FedCablingTask::book(), CalibrationTask::book(), CalibrationScanTask::book(), NoiseTask::book(), PedsOnlyTask::book(), and PedsFullNoiseTask::book().
|
privatevirtual |
Reimplemented in OptoScanTask, PedsFullNoiseTask, NoiseTask, PedsOnlyTask, CalibrationScanTask, CalibrationTask, DaqScopeModeTask, FineDelayTask, LatencyTask, PedestalsTask, ApvTimingTask, FedTimingTask, VpspScanTask, and FastFedCablingTask.
Definition at line 133 of file CommissioningTask.cc.
References sistrip::mlDqmSource_.
Referenced by fillHistograms().
|
privatevirtual |
Reimplemented in DaqScopeModeTask.
Definition at line 140 of file CommissioningTask.cc.
References sistrip::mlDqmSource_.
|
privatevirtual |
Reimplemented in DaqScopeModeTask.
Definition at line 149 of file CommissioningTask.cc.
References sistrip::mlDqmSource_.
|
privatevirtual |
Reimplemented in FedCablingTask.
Definition at line 159 of file CommissioningTask.cc.
References sistrip::mlDqmSource_.
|
inline |
Get histogram filled counter.
Definition at line 183 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 182 of file CommissioningTask.cc.
References booked_, fill(), fillCntr_, sistrip::mlDqmSource_, edmLumisInFiles::summary, update(), and updateFreq_.
void CommissioningTask::fillHistograms | ( | const SiStripEventSummary & | summary, |
const edm::DetSet< SiStripRawDigi > & | digis, | ||
const edm::DetSet< SiStripRawDigi > & | digisAlt | ||
) |
Fills HistoSet cache.
Definition at line 197 of file CommissioningTask.cc.
References booked_, fill(), fillCntr_, sistrip::mlDqmSource_, edmLumisInFiles::summary, update(), and updateFreq_.
void CommissioningTask::fillHistograms | ( | const SiStripEventSummary & | summary, |
const edm::DetSet< SiStripRawDigi > & | digis, | ||
const edm::DetSet< SiStripRawDigi > & | digisAlt, | ||
const std::vector< uint16_t > & | stripOnCluster | ||
) |
Fills HistoSet cache.
Definition at line 214 of file CommissioningTask.cc.
References booked_, fill(), fillCntr_, sistrip::mlDqmSource_, edmLumisInFiles::summary, 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 232 of file CommissioningTask.cc.
References booked_, fill(), fillCntr_, sistrip::mlDqmSource_, edmLumisInFiles::summary, update(), and updateFreq_.
|
inline |
Returns the name of this commissioning task.
Definition at line 186 of file CommissioningTask.h.
References myName_.
|
privatevirtual |
Reimplemented in DaqScopeModeTask, PedsFullNoiseTask, NoiseTask, PedsOnlyTask, CalibrationScanTask, CalibrationTask, FedCablingTask, FineDelayTask, LatencyTask, OptoScanTask, PedestalsTask, ApvTimingTask, FedTimingTask, VpspScanTask, and FastFedCablingTask.
Definition at line 168 of file CommissioningTask.cc.
References sistrip::mlDqmSource_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), fillHistograms(), dqm-mbProfile.Profile::finish(), progressbar.ProgressBar::finish(), MatrixUtil.Steps::overwrite(), and updateHistograms().
|
inline |
Get histogram update frequency.
Definition at line 184 of file CommissioningTask.h.
References updateFreq_.
Referenced by DaqScopeModeTask::fill().
|
inline |
Set histogram update frequency.
Definition at line 185 of file CommissioningTask.h.
References updateFreq_.
void CommissioningTask::updateHistograms | ( | ) |
Updates histograms using HistoSet cache.
Definition at line 249 of file CommissioningTask.cc.
References update().
|
protected |
Definition at line 362 of file CommissioningTask.cc.
References CommissioningTask::CompactHistoSet::explicitFill_, CommissioningTask::CompactHistoSet::histo(), sistrip::mlDqmSource_, and CommissioningTask::CompactHistoSet::vNumOfEntries_.
|
protected |
Definition at line 260 of file CommissioningTask.cc.
References newFWLiteAna::bin, and updateHistoSet().
|
protected |
|
protected |
Updates the MonitorElements of HistoSet.
Definition at line 331 of file CommissioningTask.cc.
References CommissioningTask::HistoSet::explicitFill_, ExtractTObject< T >::extract(), CommissioningTask::HistoSet::histo(), CommissioningTask::HistoSet::isProfile_, sistrip::mlDqmSource_, PostProcessor_cff::profile, CommissioningTask::HistoSet::vNumOfEntries_, CommissioningTask::HistoSet::vSumOfContents_, and CommissioningTask::HistoSet::vSumOfSquares_.
|
protected |
Updates the vectors of HistoSet.
Definition at line 267 of file CommissioningTask.cc.
References CommissioningTask::HistoSet::bin(), updateHistoSet(), and mps_merge::weight.
|
protected |
Updates the vectors of HistoSet.
Definition at line 253 of file CommissioningTask.cc.
References newFWLiteAna::bin, and updateHistoSet().
|
protected |
Updates the vectors of HistoSet.
Definition at line 274 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(), FedTimingTask::fill(), VpspScanTask::fill(), OptoScanTask::fill(), PedestalsTask::fill(), FineDelayTask::fill(), LatencyTask::fill(), DaqScopeModeTask::fill(), FedCablingTask::fill(), CalibrationTask::fill(), CalibrationScanTask::fill(), PedsFullNoiseTask::fill(), FastFedCablingTask::update(), ApvTimingTask::update(), VpspScanTask::update(), FedTimingTask::update(), PedestalsTask::update(), OptoScanTask::update(), FineDelayTask::update(), LatencyTask::update(), FedCablingTask::update(), CalibrationScanTask::update(), CalibrationTask::update(), NoiseTask::update(), PedsFullNoiseTask::update(), DaqScopeModeTask::update(), and updateHistoSet().
|
private |
Definition at line 174 of file CommissioningTask.h.
Referenced by bookHistograms(), and fillHistograms().
|
private |
Definition at line 168 of file CommissioningTask.h.
Referenced by CommissioningTask(), connection(), and ~CommissioningTask().
|
private |
Definition at line 162 of file CommissioningTask.h.
Referenced by dqm().
|
private |
Definition at line 178 of file CommissioningTask.h.
Referenced by eventSetup().
|
private |
Definition at line 172 of file CommissioningTask.h.
Referenced by CommissioningTask(), fecKey(), and ~CommissioningTask().
|
private |
Definition at line 170 of file CommissioningTask.h.
Referenced by CommissioningTask(), fedKey(), and ~CommissioningTask().
|
private |
Definition at line 166 of file CommissioningTask.h.
Referenced by fillCntr(), and fillHistograms().
|
private |
Definition at line 176 of file CommissioningTask.h.
Referenced by CommissioningTask(), myName(), and ~CommissioningTask().
|
private |
Definition at line 164 of file CommissioningTask.h.
Referenced by fillHistograms(), and updateFreq().