ATLAS Offline Software
InnerDetector
InDetConditions
PixelConditionsData
PixelConditionsData
PixelDCSStatusData.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 PIXELDCSSTATUSDATA_H
12
#define PIXELDCSSTATUSDATA_H
13
14
#include "
AthenaKernel/CLASS_DEF.h
"
15
#include <unordered_map>
16
17
#include "
AthenaKernel/CondCont.h
"
18
19
class
PixelDCSStatusData
{
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
27
enum
DCSModuleStatus
{
OK
,
WARNING
,
ERROR
,
FATAL
,
NOSTATUS
};
28
29
private
:
30
IntConditions
m_moduleStatus
;
31
};
32
33
CLASS_DEF
(
PixelDCSStatusData
, 345932844 , 1 )
34
35
CONDCONT_DEF
(
PixelDCSStatusData
, 578988344 );
36
37
#endif
PixelDCSStatusData::moduleStatusMap
const IntConditions & moduleStatusMap() const
Definition:
PixelDCSStatusData.h:25
CondCont.h
Hold mappings of ranges to condition objects.
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
Definition:
PixelDCSStatusData.h:19
PixelDCSStatusData::ERROR
@ ERROR
Definition:
PixelDCSStatusData.h:27
PixelDCSStatusData::getModuleStatus
int getModuleStatus(const int chanNum) const
Definition:
PixelDCSStatusData.cxx:11
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
PixelDCSStatusData::IntConditions
std::unordered_map< int, int > IntConditions
Definition:
PixelDCSStatusData.h:21
PixelDCSStatusData::DCSModuleStatus
DCSModuleStatus
Definition:
PixelDCSStatusData.h:27
CLASS_DEF.h
macros to associate a CLID to a type
CONDCONT_DEF
CONDCONT_DEF(PixelDCSStatusData, 578988344)
PixelDCSStatusData::setModuleStatus
void setModuleStatus(const int chanNum, const int value)
Definition:
PixelDCSStatusData.cxx:7
Generated on Thu Nov 7 2024 21:23:47 for ATLAS Offline Software by
1.8.18