#include <StatusManager.h>
Public Member Functions | |
uint32_t | getStatus (uint32_t) const |
void | readFromObj (EcalDQMChannelStatus const &, EcalDQMTowerStatus const &) |
void | readFromStream (std::istream &) |
StatusManager () | |
void | writeToObj (EcalDQMChannelStatus &, EcalDQMTowerStatus &) const |
void | writeToStream (std::ostream &) const |
~StatusManager () | |
Private Attributes | |
std::map< std::string, uint32_t > | dictionary_ |
std::map< uint32_t, uint32_t > | status_ |
Definition at line 14 of file StatusManager.h.
ecaldqm::StatusManager::StatusManager | ( | ) |
Definition at line 20 of file StatusManager.cc.
References EcalDQMStatusHelper::CH_GAIN_SWITCH_ERROR, EcalDQMStatusHelper::CH_GAIN_ZERO_ERROR, EcalDQMStatusHelper::CH_ID_ERROR, dictionary_, EcalDQMStatusHelper::LASER_MEAN_ERROR, EcalDQMStatusHelper::LASER_RMS_ERROR, EcalDQMStatusHelper::LASER_TIMING_MEAN_ERROR, EcalDQMStatusHelper::LASER_TIMING_RMS_ERROR, EcalDQMStatusHelper::LED_MEAN_ERROR, EcalDQMStatusHelper::LED_RMS_ERROR, EcalDQMStatusHelper::LED_TIMING_MEAN_ERROR, EcalDQMStatusHelper::LED_TIMING_RMS_ERROR, EcalDQMStatusHelper::PEDESTAL_HIGH_GAIN_MEAN_ERROR, EcalDQMStatusHelper::PEDESTAL_HIGH_GAIN_RMS_ERROR, EcalDQMStatusHelper::PEDESTAL_LOW_GAIN_MEAN_ERROR, EcalDQMStatusHelper::PEDESTAL_LOW_GAIN_RMS_ERROR, EcalDQMStatusHelper::PEDESTAL_MIDDLE_GAIN_MEAN_ERROR, EcalDQMStatusHelper::PEDESTAL_MIDDLE_GAIN_RMS_ERROR, EcalDQMStatusHelper::PEDESTAL_ONLINE_HIGH_GAIN_MEAN_ERROR, EcalDQMStatusHelper::PEDESTAL_ONLINE_HIGH_GAIN_RMS_ERROR, EcalDQMStatusHelper::PHYSICS_BAD_CHANNEL_ERROR, EcalDQMStatusHelper::PHYSICS_BAD_CHANNEL_WARNING, EcalDQMStatusHelper::STATUS_FLAG_ERROR, EcalDQMStatusHelper::TESTPULSE_HIGH_GAIN_MEAN_ERROR, EcalDQMStatusHelper::TESTPULSE_HIGH_GAIN_RMS_ERROR, EcalDQMStatusHelper::TESTPULSE_LOW_GAIN_MEAN_ERROR, EcalDQMStatusHelper::TESTPULSE_LOW_GAIN_RMS_ERROR, EcalDQMStatusHelper::TESTPULSE_MIDDLE_GAIN_MEAN_ERROR, EcalDQMStatusHelper::TESTPULSE_MIDDLE_GAIN_RMS_ERROR, EcalDQMStatusHelper::TT_ID_ERROR, and EcalDQMStatusHelper::TT_SIZE_ERROR.
|
inline |
Definition at line 17 of file StatusManager.h.
uint32_t ecaldqm::StatusManager::getStatus | ( | uint32_t | _key | ) | const |
Definition at line 246 of file StatusManager.cc.
References status_.
Referenced by ecaldqm::MESet::maskMatches(), and writeToObj().
void ecaldqm::StatusManager::readFromObj | ( | EcalDQMChannelStatus const & | _channelStatus, |
EcalDQMTowerStatus const & | _towerStatus | ||
) |
Definition at line 200 of file StatusManager.cc.
References EcalCondObjectContainer< T >::barrelItems(), EcalCondTowerObjectContainer< T >::barrelItems(), EcalTrigTowerDetId::detIdFromDenseIndex(), EcalCondObjectContainer< T >::endcapItems(), EcalCondTowerObjectContainer< T >::endcapItems(), EcalTrigTowerDetId::kEBTotalTowers, EBDetId::kSizeForDenseIndexing, EcalScDetId::kSizeForDenseIndexing, EEDetId::kSizeForDenseIndexing, DetId::rawId(), status_, EBDetId::unhashIndex(), EcalScDetId::unhashIndex(), and EEDetId::unhashIndex().
Referenced by EcalDQMonitorClient::beginRun().
void ecaldqm::StatusManager::readFromStream | ( | std::istream & | _input | ) |
Definition at line 124 of file StatusManager.cc.
References ecaldqm::dccId(), dictionary_, EcalBarrel, EcalEndcap, ecaldqm::getElectronicsMap(), L1TowerCalibrationProducer_cfi::iEta, ecaldqm::kEEpLow, mps_splice::line, patCandidatesForDimuonsSequences_cff::matches, status_, AlCaHLTBitMon_QueryRunRegistry::string, EBDetId::unhashIndex(), EEDetId::unhashIndex(), EBDetId::validDenseIndex(), EEDetId::validDenseIndex(), and ecaldqm::zside().
Referenced by EcalDQMonitorClient::EcalDQMonitorClient(), and EcalDQMStatusWriter::EcalDQMStatusWriter().
void ecaldqm::StatusManager::writeToObj | ( | EcalDQMChannelStatus & | _channelStatus, |
EcalDQMTowerStatus & | _towerStatus | ||
) | const |
Definition at line 224 of file StatusManager.cc.
References EcalTrigTowerDetId::detIdFromDenseIndex(), getStatus(), EcalTrigTowerDetId::kEBTotalTowers, crabWrapper::key, EBDetId::kSizeForDenseIndexing, EcalScDetId::kSizeForDenseIndexing, EEDetId::kSizeForDenseIndexing, EcalCondTowerObjectContainer< T >::setValue(), EcalCondObjectContainer< T >::setValue(), EBDetId::unhashIndex(), EcalScDetId::unhashIndex(), and EEDetId::unhashIndex().
Referenced by EcalDQMStatusWriter::EcalDQMStatusWriter().
void ecaldqm::StatusManager::writeToStream | ( | std::ostream & | _output | ) | const |
Definition at line 222 of file StatusManager.cc.
|
private |
Definition at line 27 of file StatusManager.h.
Referenced by readFromStream(), and StatusManager().
|
private |
Definition at line 28 of file StatusManager.h.
Referenced by getStatus(), readFromObj(), and readFromStream().