ATLAS Offline Software
InnerDetector
InDetConditions
PixelConditionsData
PixelConditionsData
PixelDCSStateData.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 PIXELDCSSTATEDATA_H
12
#define PIXELDCSSTATEDATA_H
13
14
#include "
AthenaKernel/CLASS_DEF.h
"
15
#include <unordered_map>
16
17
#include "
AthenaKernel/CondCont.h
"
18
19
class
PixelDCSStateData
{
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
enum
DCSModuleState
{
READY
,
ON
,
UNKNOWN
,
TRANSITION
,
UNDEFINED
,
26
DISABLED
,
LOCKED_OUT
,
STANDBY
,
OFF
,
27
NOSTATE
};
28
const
IntConditions
&
moduleStatusMap
()
const
{
return
m_moduleStatus
; }
29
30
private
:
31
IntConditions
m_moduleStatus
;
32
};
33
34
CLASS_DEF
(
PixelDCSStateData
, 345932855 , 1 )
35
36
CONDCONT_DEF
(
PixelDCSStateData
, 578988355 );
37
38
#endif
PixelDCSStateData::LOCKED_OUT
@ LOCKED_OUT
Definition:
PixelDCSStateData.h:26
PixelDCSStateData::setModuleStatus
void setModuleStatus(const int chanNum, const int value)
Definition:
PixelDCSStateData.cxx:7
PixelDCSStateData
Definition:
PixelDCSStateData.h:19
CondCont.h
Hold mappings of ranges to condition objects.
PixelDCSStateData::DCSModuleState
DCSModuleState
Definition:
PixelDCSStateData.h:25
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::IntConditions
std::unordered_map< int, int > IntConditions
Definition:
PixelDCSStateData.h:21
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
CONDCONT_DEF
CONDCONT_DEF(PixelDCSStateData, 578988355)
PixelDCSStateData::getModuleStatus
int getModuleStatus(const int chanNum) const
Definition:
PixelDCSStateData.cxx:11
PixelDCSStateData::moduleStatusMap
const IntConditions & moduleStatusMap() const
Definition:
PixelDCSStateData.h:28
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
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
CLASS_DEF.h
macros to associate a CLID to a type
Generated on Thu Nov 7 2024 21:23:47 for ATLAS Offline Software by
1.8.18