ATLAS Offline Software
InnerDetector
InDetConditions
PixelConditionsData
src
PixelDeadMapCondData.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/PixelDeadMapCondData.h
"
6
7
PixelDeadMapCondData::PixelDeadMapCondData
():
8
m_moduleStatus(),
9
m_chipStatus()
10
{
11
}
12
13
PixelDeadMapCondData::~PixelDeadMapCondData
() =
default
;
14
15
// Module status
16
void
PixelDeadMapCondData::setModuleStatus
(
const
int
chanNum
,
const
int
value
) {
17
m_moduleStatus
[
chanNum
] =
value
;
18
}
19
20
int
PixelDeadMapCondData::getModuleStatus
(
const
int
chanNum
)
const
{
21
auto
itr =
m_moduleStatus
.find(
chanNum
);
22
if
(itr!=
m_moduleStatus
.end()) {
return
itr->second; }
23
return
0;
24
}
25
26
// Chip (FE) status
27
void
PixelDeadMapCondData::setChipStatus
(
const
int
chanNum
,
const
int
value
) {
28
m_chipStatus
[
chanNum
] =
value
;
29
}
30
31
int
PixelDeadMapCondData::getChipStatus
(
const
int
chanNum
)
const
{
32
auto
itr =
m_chipStatus
.find(
chanNum
);
33
if
(itr!=
m_chipStatus
.end()) {
return
itr->second; }
34
return
0;
35
}
36
37
void
PixelDeadMapCondData::clear
() {
38
m_moduleStatus
.clear();
39
m_chipStatus
.clear();
40
}
41
PixelDeadMapCondData.h
PixelDeadMapCondData::m_chipStatus
IntConditions m_chipStatus
Definition:
PixelDeadMapCondData.h:28
athena.value
value
Definition:
athena.py:124
PixelDeadMapCondData::clear
void clear()
Definition:
PixelDeadMapCondData.cxx:37
checkCoolLatestUpdate.chanNum
chanNum
Definition:
checkCoolLatestUpdate.py:27
PixelDeadMapCondData::~PixelDeadMapCondData
virtual ~PixelDeadMapCondData()
PixelDeadMapCondData::setModuleStatus
void setModuleStatus(const int chanNum, const int value)
Definition:
PixelDeadMapCondData.cxx:16
PixelDeadMapCondData::setChipStatus
void setChipStatus(const int chanNum, const int value)
Definition:
PixelDeadMapCondData.cxx:27
PixelDeadMapCondData::getChipStatus
int getChipStatus(const int chanNum) const
Definition:
PixelDeadMapCondData.cxx:31
PixelDeadMapCondData::PixelDeadMapCondData
PixelDeadMapCondData()
Definition:
PixelDeadMapCondData.cxx:7
PixelDeadMapCondData::m_moduleStatus
IntConditions m_moduleStatus
Definition:
PixelDeadMapCondData.h:27
PixelDeadMapCondData::getModuleStatus
int getModuleStatus(const int chanNum) const
Definition:
PixelDeadMapCondData.cxx:20
Generated on Thu Nov 7 2024 21:23:47 for ATLAS Offline Software by
1.8.18