ATLAS Offline Software
InnerDetector
InDetConditions
PixelConditionsData
src
PixelDCSTemp.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
PixelConditionsData/PixelDCSTempData.h
"
6
7
void
PixelDCSTempData::setTemperature
(
const
int
chanNum
,
const
float
value
) {
8
m_temperature
[
chanNum
] =
value
;
9
}
10
11
float
PixelDCSTempData::getTemperature
(
const
int
chanNum
)
const
{
12
auto
itr =
m_temperature
.find(
chanNum
);
13
if
(itr!=
m_temperature
.end()) {
return
itr->second; }
14
return
-7.0;
// this is temporaly fix
15
}
16
17
athena.value
value
Definition:
athena.py:124
PixelDCSTempData::m_temperature
FloatConditions m_temperature
Definition:
PixelDCSTempData.h:26
checkCoolLatestUpdate.chanNum
chanNum
Definition:
checkCoolLatestUpdate.py:27
PixelDCSTempData.h
Store pixel temperature data in PixelDCSTempData.
PixelDCSTempData::setTemperature
void setTemperature(const int chanNum, const float value)
Definition:
PixelDCSTemp.cxx:7
PixelDCSTempData::getTemperature
float getTemperature(const int chanNum) const
Definition:
PixelDCSTemp.cxx:11
Generated on Sun Dec 22 2024 21:16:23 for ATLAS Offline Software by
1.8.18