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

#include <PixelDCSStateData.h>

Collaboration diagram for PixelDCSStateData:

Public Types

enum  DCSModuleState {
  READY, ON, UNKNOWN, TRANSITION,
  UNDEFINED, DISABLED, LOCKED_OUT, STANDBY,
  OFF, NOSTATE
}
 
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 PixelDCSStateData.h.

Member Typedef Documentation

◆ IntConditions

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

Definition at line 21 of file PixelDCSStateData.h.

Member Enumeration Documentation

◆ DCSModuleState

Enumerator
READY 
ON 
UNKNOWN 
TRANSITION 
UNDEFINED 
DISABLED 
LOCKED_OUT 
STANDBY 
OFF 
NOSTATE 

Definition at line 25 of file PixelDCSStateData.h.

Member Function Documentation

◆ getModuleStatus()

int PixelDCSStateData::getModuleStatus ( const int  chanNum) const

Definition at line 11 of file PixelDCSStateData.cxx.

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

◆ moduleStatusMap()

const IntConditions& PixelDCSStateData::moduleStatusMap ( ) const
inline

Definition at line 28 of file PixelDCSStateData.h.

28 { return m_moduleStatus; }

◆ setModuleStatus()

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

Definition at line 7 of file PixelDCSStateData.cxx.

7  {
9 }

Member Data Documentation

◆ m_moduleStatus

IntConditions PixelDCSStateData::m_moduleStatus
private

Definition at line 31 of file PixelDCSStateData.h.


The documentation for this class was generated from the following files:
PixelDCSStateData::LOCKED_OUT
@ LOCKED_OUT
Definition: PixelDCSStateData.h:26
PixelDCSStateData::STANDBY
@ STANDBY
Definition: PixelDCSStateData.h:26
PixelDCSStateData::UNKNOWN
@ UNKNOWN
Definition: PixelDCSStateData.h:25
athena.value
value
Definition: athena.py:124
PixelDCSStateData::READY
@ READY
Definition: PixelDCSStateData.h:25
PixelDCSStateData::DISABLED
@ DISABLED
Definition: PixelDCSStateData.h:26
checkCoolLatestUpdate.chanNum
chanNum
Definition: checkCoolLatestUpdate.py:27
PixelDCSStateData::NOSTATE
@ NOSTATE
Definition: PixelDCSStateData.h:27
PixelDCSStateData::ON
@ ON
Definition: PixelDCSStateData.h:25
PixelDCSStateData::OFF
@ OFF
Definition: PixelDCSStateData.h:26
PixelDCSStateData::UNDEFINED
@ UNDEFINED
Definition: PixelDCSStateData.h:25
PixelDCSStateData::TRANSITION
@ TRANSITION
Definition: PixelDCSStateData.h:25
PixelDCSStateData::m_moduleStatus
IntConditions m_moduleStatus
Definition: PixelDCSStateData.h:31