ATLAS Offline Software
PixelDeadMapCondData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef PIXELDEADMAPCONDDATA_H
6 #define PIXELDEADMAPCONDDATA_H
7 
9 #include <map>
10 
12  public:
13  typedef std::unordered_map<int, int> IntConditions;
16 
17  void setModuleStatus(const int chanNum, const int value);
18  int getModuleStatus(const int chanNum) const;
19  const IntConditions &moduleStatusMap() const { return m_moduleStatus; }
20 
21  void setChipStatus(const int chanNum, const int value);
22  int getChipStatus(const int chanNum) const;
23 
24  void clear();
25 
26  private:
29 
30 };
31 
32 CLASS_DEF( PixelDeadMapCondData , 395912873 , 1 )
33 
34 #include "AthenaKernel/CondCont.h"
36 
37 #endif
PixelDeadMapCondData::m_chipStatus
IntConditions m_chipStatus
Definition: PixelDeadMapCondData.h:28
athena.value
value
Definition: athena.py:124
PixelDeadMapCondData::clear
void clear()
Definition: PixelDeadMapCondData.cxx:37
checkCoolLatestUpdate.chanNum
chanNum
Definition: checkCoolLatestUpdate.py:27
PixelDeadMapCondData::~PixelDeadMapCondData
virtual ~PixelDeadMapCondData()
PixelDeadMapCondData::IntConditions
std::unordered_map< int, int > IntConditions
Definition: PixelDeadMapCondData.h:13
PixelDeadMapCondData::setModuleStatus
void setModuleStatus(const int chanNum, const int value)
Definition: PixelDeadMapCondData.cxx:16
PixelDeadMapCondData::setChipStatus
void setChipStatus(const int chanNum, const int value)
Definition: PixelDeadMapCondData.cxx:27
PixelDeadMapCondData::getChipStatus
int getChipStatus(const int chanNum) const
Definition: PixelDeadMapCondData.cxx:31
CONDCONT_DEF
CONDCONT_DEF(PixelDeadMapCondData, 598918393)
PixelDeadMapCondData::PixelDeadMapCondData
PixelDeadMapCondData()
Definition: PixelDeadMapCondData.cxx:7
PixelDeadMapCondData::m_moduleStatus
IntConditions m_moduleStatus
Definition: PixelDeadMapCondData.h:27
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
PixelDeadMapCondData::getModuleStatus
int getModuleStatus(const int chanNum) const
Definition: PixelDeadMapCondData.cxx:20
PixelDeadMapCondData
Definition: PixelDeadMapCondData.h:11
CLASS_DEF.h
macros to associate a CLID to a type
PixelDeadMapCondData::moduleStatusMap
const IntConditions & moduleStatusMap() const
Definition: PixelDeadMapCondData.h:19