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

#include <PixelDeadMapCondData.h>

Collaboration diagram for PixelDeadMapCondData:

Public Types

typedef std::unordered_map< int, int > IntConditions
 

Public Member Functions

 PixelDeadMapCondData ()
 
virtual ~PixelDeadMapCondData ()
 
void setModuleStatus (const int chanNum, const int value)
 
int getModuleStatus (const int chanNum) const
 
const IntConditionsmoduleStatusMap () const
 
void setChipStatus (const int chanNum, const int value)
 
int getChipStatus (const int chanNum) const
 
void clear ()
 

Private Attributes

IntConditions m_moduleStatus
 
IntConditions m_chipStatus
 

Detailed Description

Definition at line 11 of file PixelDeadMapCondData.h.

Member Typedef Documentation

◆ IntConditions

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

Definition at line 13 of file PixelDeadMapCondData.h.

Constructor & Destructor Documentation

◆ PixelDeadMapCondData()

PixelDeadMapCondData::PixelDeadMapCondData ( )

Definition at line 7 of file PixelDeadMapCondData.cxx.

7  :
10 {
11 }

◆ ~PixelDeadMapCondData()

PixelDeadMapCondData::~PixelDeadMapCondData ( )
virtualdefault

Member Function Documentation

◆ clear()

void PixelDeadMapCondData::clear ( )

Definition at line 37 of file PixelDeadMapCondData.cxx.

37  {
38  m_moduleStatus.clear();
39  m_chipStatus.clear();
40 }

◆ getChipStatus()

int PixelDeadMapCondData::getChipStatus ( const int  chanNum) const

Definition at line 31 of file PixelDeadMapCondData.cxx.

31  {
32  auto itr = m_chipStatus.find(chanNum);
33  if (itr!=m_chipStatus.end()) { return itr->second; }
34  return 0;
35 }

◆ getModuleStatus()

int PixelDeadMapCondData::getModuleStatus ( const int  chanNum) const

Definition at line 20 of file PixelDeadMapCondData.cxx.

20  {
21  auto itr = m_moduleStatus.find(chanNum);
22  if (itr!=m_moduleStatus.end()) { return itr->second; }
23  return 0;
24 }

◆ moduleStatusMap()

const IntConditions& PixelDeadMapCondData::moduleStatusMap ( ) const
inline

Definition at line 19 of file PixelDeadMapCondData.h.

19 { return m_moduleStatus; }

◆ setChipStatus()

void PixelDeadMapCondData::setChipStatus ( const int  chanNum,
const int  value 
)

Definition at line 27 of file PixelDeadMapCondData.cxx.

27  {
29 }

◆ setModuleStatus()

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

Definition at line 16 of file PixelDeadMapCondData.cxx.

16  {
18 }

Member Data Documentation

◆ m_chipStatus

IntConditions PixelDeadMapCondData::m_chipStatus
private

Definition at line 28 of file PixelDeadMapCondData.h.

◆ m_moduleStatus

IntConditions PixelDeadMapCondData::m_moduleStatus
private

Definition at line 27 of file PixelDeadMapCondData.h.


The documentation for this class was generated from the following files:
PixelDeadMapCondData::m_chipStatus
IntConditions m_chipStatus
Definition: PixelDeadMapCondData.h:28
athena.value
value
Definition: athena.py:124
checkCoolLatestUpdate.chanNum
chanNum
Definition: checkCoolLatestUpdate.py:27
PixelDeadMapCondData::m_moduleStatus
IntConditions m_moduleStatus
Definition: PixelDeadMapCondData.h:27