ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
PixelDCSStatusData Class Reference

#include <PixelDCSStatusData.h>

Collaboration diagram for PixelDCSStatusData:

Public Types

enum  DCSModuleStatus {
  OK, WARNING, ERROR, FATAL,
  NOSTATUS
}
 
typedef std::unordered_map< int, int > IntConditions
 

Public Member Functions

void setModuleStatus (const int chanNum, const int value)
 
int getModuleStatus (const int chanNum) const
 
const IntConditionsmoduleStatusMap () const
 

Private Attributes

IntConditions m_moduleStatus
 

Detailed Description

Definition at line 19 of file PixelDCSStatusData.h.

Member Typedef Documentation

◆ IntConditions

typedef std::unordered_map<int, int> PixelDCSStatusData::IntConditions

Definition at line 21 of file PixelDCSStatusData.h.

Member Enumeration Documentation

◆ DCSModuleStatus

Enumerator
OK 
WARNING 
ERROR 
FATAL 
NOSTATUS 

Definition at line 27 of file PixelDCSStatusData.h.

Member Function Documentation

◆ getModuleStatus()

int PixelDCSStatusData::getModuleStatus ( const int  chanNum) const

Definition at line 11 of file PixelDCSStatusData.cxx.

11  {
12  auto itr = m_moduleStatus.find(chanNum);
13  if (itr!=m_moduleStatus.end()) { return itr->second; }
14  return 0;
15 }

◆ moduleStatusMap()

const IntConditions& PixelDCSStatusData::moduleStatusMap ( ) const
inline

Definition at line 25 of file PixelDCSStatusData.h.

25 { return m_moduleStatus; }

◆ setModuleStatus()

void PixelDCSStatusData::setModuleStatus ( const int  chanNum,
const int  value 
)

Definition at line 7 of file PixelDCSStatusData.cxx.

7  {
9 }

Member Data Documentation

◆ m_moduleStatus

IntConditions PixelDCSStatusData::m_moduleStatus
private

Definition at line 30 of file PixelDCSStatusData.h.


The documentation for this class was generated from the following files:
PixelDCSStatusData::m_moduleStatus
IntConditions m_moduleStatus
Definition: PixelDCSStatusData.h:30
PixelDCSStatusData::OK
@ OK
Definition: PixelDCSStatusData.h:27
athena.value
value
Definition: athena.py:124
PixelDCSStatusData::FATAL
@ FATAL
Definition: PixelDCSStatusData.h:27
checkCoolLatestUpdate.chanNum
chanNum
Definition: checkCoolLatestUpdate.py:27
PixelDCSStatusData::WARNING
@ WARNING
Definition: PixelDCSStatusData.h:27
PixelDCSStatusData::NOSTATUS
@ NOSTATUS
Definition: PixelDCSStatusData.h:27
PixelDCSStatusData::ERROR
@ ERROR
Definition: PixelDCSStatusData.h:27