ChanDeadErrorCode class for L1Calo error codes Adapted from /LVL1/l1calo/coolL1Calo/coolL1Calo/ChanDeadCode.h.
More...
#include <ChanDeadErrorCode.h>
|
| enum | ChanDeadBits {
BadLvdsBit = 0
, BadAdcBit = 0
, BadMcmBit = 1
, FrontEndDeadBit = 4
,
ReceiverDeadBit = 5
, HighVoltsOffBit = 6
, LowVoltsOffBit = 7
, NoisyTowerBit = 8
,
PSCellsMaskedBit = 16
, FrontCellsMaskedBit = 17
, MiddleCellsMaskedBit = 18
, BackCellsMaskedBit = 19
} |
ChanDeadErrorCode class for L1Calo error codes Adapted from /LVL1/l1calo/coolL1Calo/coolL1Calo/ChanDeadCode.h.
- Author
- Damien Prieur damie.nosp@m.n.pr.nosp@m.ieur@.nosp@m.cern.nosp@m..ch
Definition at line 20 of file ChanDeadErrorCode.h.
◆ ChanDeadBits
| Enumerator |
|---|
| BadLvdsBit | |
| BadAdcBit | |
| BadMcmBit | |
| FrontEndDeadBit | |
| ReceiverDeadBit | |
| HighVoltsOffBit | |
| LowVoltsOffBit | |
| NoisyTowerBit | |
| PSCellsMaskedBit | |
| FrontCellsMaskedBit | |
| MiddleCellsMaskedBit | |
| BackCellsMaskedBit | |
Definition at line 26 of file ChanDeadErrorCode.h.
26 {
27
29
30
31
32
33
34
35
38
39
45
46
47
52 };
◆ ChanDeadErrorCode() [1/3]
| ChanDeadErrorCode::ChanDeadErrorCode |
( |
| ) |
|
◆ ChanDeadErrorCode() [2/3]
| ChanDeadErrorCode::ChanDeadErrorCode |
( |
unsigned int | errorCode | ) |
|
◆ ~ChanDeadErrorCode()
| virtual ChanDeadErrorCode::~ChanDeadErrorCode |
( |
| ) |
|
|
inlinevirtual |
◆ ChanDeadErrorCode() [3/3]
◆ backCellsMasked() [1/2]
| bool ChanDeadErrorCode::backCellsMasked |
( |
| ) |
const |
|
inline |
◆ backCellsMasked() [2/2]
| void ChanDeadErrorCode::backCellsMasked |
( |
bool | bad | ) |
|
|
inline |
◆ badAdc() [1/2]
| bool ChanDeadErrorCode::badAdc |
( |
| ) |
const |
|
inline |
◆ badAdc() [2/2]
| void ChanDeadErrorCode::badAdc |
( |
bool | bad | ) |
|
|
inline |
◆ badLvds() [1/2]
| bool ChanDeadErrorCode::badLvds |
( |
| ) |
const |
|
inline |
◆ badLvds() [2/2]
| void ChanDeadErrorCode::badLvds |
( |
bool | bad | ) |
|
|
inline |
◆ badMcm() [1/2]
| bool ChanDeadErrorCode::badMcm |
( |
| ) |
const |
|
inline |
◆ badMcm() [2/2]
| void ChanDeadErrorCode::badMcm |
( |
bool | bad | ) |
|
|
inline |
◆ bitIsSet()
| bool AbstractErrorCode::bitIsSet |
( |
unsigned int | number | ) |
const |
|
protectedinherited |
Definition at line 7 of file AbstractErrorCode.cxx.
7 {
8 unsigned int correspondingNumber = (
unsigned int) (1<<
number);
9
10 bool isSet( (
m_errorCode & correspondingNumber) > 0);
11
12 return isSet;
13}
std::string number(const double &d, const std::string &s)
◆ chanValid()
| bool ChanDeadErrorCode::chanValid |
( |
| ) |
const |
|
inline |
◆ errorCode() [1/2]
| unsigned int AbstractErrorCode::errorCode |
( |
| ) |
const |
|
inlineinherited |
◆ errorCode() [2/2]
| void AbstractErrorCode::errorCode |
( |
unsigned int | code | ) |
|
|
inlineprotectedinherited |
◆ frontCellsMasked() [1/2]
| bool ChanDeadErrorCode::frontCellsMasked |
( |
| ) |
const |
|
inline |
◆ frontCellsMasked() [2/2]
| void ChanDeadErrorCode::frontCellsMasked |
( |
bool | bad | ) |
|
|
inline |
◆ frontEndDead() [1/2]
| bool ChanDeadErrorCode::frontEndDead |
( |
| ) |
const |
|
inline |
◆ frontEndDead() [2/2]
| void ChanDeadErrorCode::frontEndDead |
( |
bool | bad | ) |
|
|
inline |
◆ highVoltsOff() [1/2]
| bool ChanDeadErrorCode::highVoltsOff |
( |
| ) |
const |
|
inline |
◆ highVoltsOff() [2/2]
| void ChanDeadErrorCode::highVoltsOff |
( |
bool | bad | ) |
|
|
inline |
◆ lowVoltsOff() [1/2]
| bool ChanDeadErrorCode::lowVoltsOff |
( |
| ) |
const |
|
inline |
◆ lowVoltsOff() [2/2]
| void ChanDeadErrorCode::lowVoltsOff |
( |
bool | bad | ) |
|
|
inline |
◆ middleCellsMasked() [1/2]
| bool ChanDeadErrorCode::middleCellsMasked |
( |
| ) |
const |
|
inline |
◆ middleCellsMasked() [2/2]
| void ChanDeadErrorCode::middleCellsMasked |
( |
bool | bad | ) |
|
|
inline |
◆ noisyTower() [1/2]
| bool ChanDeadErrorCode::noisyTower |
( |
| ) |
const |
|
inline |
◆ noisyTower() [2/2]
| void ChanDeadErrorCode::noisyTower |
( |
bool | bad | ) |
|
|
inline |
◆ operator=()
◆ operator|=()
◆ printStatus()
| std::string ChanDeadErrorCode::printStatus |
( |
| ) |
const |
Definition at line 33 of file ChanDeadErrorCode.cxx.
33 {
34
36
38
40 << ": BadAdcBit: "
42
44 << ": BadMcmBit: "
46
48 << ": FrontEndDeadBit: "
50
52 << ": ReceiverDeadBit: "
54
56 << ": HighVoltsOffBit: "
58
60 << ": LowVoltsOffBit: "
62
64 << ": NoisyTowerBit: "
66
68 << ": PSCellsMaskedBit: "
70
72 << ": FrontCellsMaskedBit: "
74
76 << ": MiddleCellsMaskedBit: "
78
80 << ": BackCellsMaskedBit: "
82
84}
◆ psCellsMasked() [1/2]
| bool ChanDeadErrorCode::psCellsMasked |
( |
| ) |
const |
|
inline |
◆ psCellsMasked() [2/2]
| void ChanDeadErrorCode::psCellsMasked |
( |
bool | bad | ) |
|
|
inline |
◆ receiverDead() [1/2]
| bool ChanDeadErrorCode::receiverDead |
( |
| ) |
const |
|
inline |
◆ receiverDead() [2/2]
| void ChanDeadErrorCode::receiverDead |
( |
bool | bad | ) |
|
|
inline |
◆ setBit()
| void AbstractErrorCode::setBit |
( |
unsigned int | number, |
|
|
bool | value ) |
|
protectedinherited |
◆ operator<<
◆ m_errorCode
| unsigned int AbstractErrorCode::m_errorCode |
|
privateinherited |
The documentation for this class was generated from the following files: