ATLAS Offline Software
PixelTDAQData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
11 #ifndef PIXELTDAQDATA_H
12 #define PIXELTDAQDATA_H
13 
14 #include "AthenaKernel/CLASS_DEF.h"
15 #include <unordered_map>
16 
17 #include "AthenaKernel/CondCont.h"
18 
20  public:
21  typedef std::unordered_map<int, int> IntConditions;
22  void setModuleStatus(const int chanNum, const int value);
23  int getModuleStatus(const int chanNum) const;
24 
25  const IntConditions &moduleStatusMap() const { return m_moduleStatus; }
26  private:
28 };
29 
30 CLASS_DEF( PixelTDAQData , 345932866 , 1 )
31 
33 
34 #endif
CondCont.h
Hold mappings of ranges to condition objects.
CONDCONT_DEF
CONDCONT_DEF(PixelTDAQData, 578988366)
athena.value
value
Definition: athena.py:122
PixelTDAQData
Definition: PixelTDAQData.h:19
checkCoolLatestUpdate.chanNum
chanNum
Definition: checkCoolLatestUpdate.py:27
PixelTDAQData::getModuleStatus
int getModuleStatus(const int chanNum) const
Definition: PixelTDAQData.cxx:11
PixelTDAQData::moduleStatusMap
const IntConditions & moduleStatusMap() const
Definition: PixelTDAQData.h:25
PixelTDAQData::IntConditions
std::unordered_map< int, int > IntConditions
Definition: PixelTDAQData.h:21
PixelTDAQData::m_moduleStatus
IntConditions m_moduleStatus
Definition: PixelTDAQData.h:27
PixelTDAQData::setModuleStatus
void setModuleStatus(const int chanNum, const int value)
Definition: PixelTDAQData.cxx:7
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
CLASS_DEF.h
macros to associate a CLID to a type