ATLAS Offline Software
InnerDetector
InDetConditions
PixelConditionsData
src
PixelDCSStateData.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
PixelConditionsData/PixelDCSStateData.h
"
6
7
void
PixelDCSStateData::setModuleStatus
(
const
int
chanNum
,
const
int
value
) {
8
m_moduleStatus
[
chanNum
] =
value
;
9
}
10
11
int
PixelDCSStateData::getModuleStatus
(
const
int
chanNum
)
const
{
12
auto
itr =
m_moduleStatus
.find(
chanNum
);
13
if
(itr!=
m_moduleStatus
.end()) {
return
itr->second; }
14
return
PixelDCSStateData::DCSModuleState::READY;
15
}
16
PixelDCSStateData::setModuleStatus
void setModuleStatus(const int chanNum, const int value)
Definition:
PixelDCSStateData.cxx:7
PixelDCSStateData.h
Store pixel DCS module state in PixelDCSStateData.
athena.value
value
Definition:
athena.py:124
checkCoolLatestUpdate.chanNum
chanNum
Definition:
checkCoolLatestUpdate.py:27
PixelDCSStateData::getModuleStatus
int getModuleStatus(const int chanNum) const
Definition:
PixelDCSStateData.cxx:11
PixelDCSStateData::m_moduleStatus
IntConditions m_moduleStatus
Definition:
PixelDCSStateData.h:31
Generated on Sun Dec 22 2024 21:16:23 for ATLAS Offline Software by
1.8.18