#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 15 of file StatusManager.h.
ecaldqm::StatusManager::StatusManager | ( | ) |
Definition at line 21 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 18 of file StatusManager.h.
References getStatus(), readFromObj(), readFromStream(), writeToObj(), and writeToStream().
uint32_t ecaldqm::StatusManager::getStatus | ( | uint32_t | _key | ) | const |
Definition at line 265 of file StatusManager.cc.
References status_.
Referenced by ecaldqm::MESet::maskMatches(), writeToObj(), and ~StatusManager().
void ecaldqm::StatusManager::readFromObj | ( | EcalDQMChannelStatus const & | _channelStatus, |
EcalDQMTowerStatus const & | _towerStatus | ||
) |
Definition at line 215 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(), and ~StatusManager().
void ecaldqm::StatusManager::readFromStream | ( | std::istream & | _input | ) |
Definition at line 142 of file StatusManager.cc.
References ecaldqm::dccId(), dictionary_, EcalBarrel, EcalEndcap, ecaldqm::getElectronicsMap(), ecaldqm::kEEpLow, geometryCSVtoXML::line, patRefSel_triggerMatching_cfi::matches, status_, AlCaHLTBitMon_QueryRunRegistry::string, EBDetId::unhashIndex(), EEDetId::unhashIndex(), EBDetId::validDenseIndex(), EEDetId::validDenseIndex(), and ecaldqm::zside().
Referenced by EcalDQMonitorClient::EcalDQMonitorClient(), EcalDQMStatusWriter::EcalDQMStatusWriter(), and ~StatusManager().
void ecaldqm::StatusManager::writeToObj | ( | EcalDQMChannelStatus & | _channelStatus, |
EcalDQMTowerStatus & | _towerStatus | ||
) | const |
Definition at line 241 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(), and ~StatusManager().
void ecaldqm::StatusManager::writeToStream | ( | std::ostream & | _output | ) | const |
|
private |
Definition at line 28 of file StatusManager.h.
Referenced by readFromStream(), and StatusManager().
|
private |
Definition at line 29 of file StatusManager.h.
Referenced by getStatus(), readFromObj(), and readFromStream().