![]() |
ATLAS Offline Software
|
#include <CaloBadChannel.h>
Public Types | |
| enum | ProblemType { deadBit =0 , noisyBit =1 , affectedBit =2 } |
| typedef unsigned int | PosType |
| typedef unsigned int | BitWord |
Public Member Functions | |
| CaloBadChannel (BitWord rawStatus) | |
| CaloBadChannel () | |
| CaloBadChannel (const CaloBadChannel &rBad)=default | |
| CaloBadChannel (const CaloBadChannel *pBad) | |
| CaloBadChannel & | operator= (const CaloBadChannel &rBad)=default |
| bool | statusOK (ProblemType pb) const |
| bool | dead () const |
| bool | noisy () const |
| bool | affected () const |
| BitWord | packedData () const |
Static Public Member Functions | |
| static void | setBit (ProblemType pb, BitWord &word, bool value=true) |
| Sets the bit corresponding to "pb" inside the word passed as second argument to "value". | |
Private Attributes | |
| BitWord | m_word |
Definition at line 8 of file CaloBadChannel.h.
| typedef unsigned int CaloBadChannel::BitWord |
Definition at line 12 of file CaloBadChannel.h.
| typedef unsigned int CaloBadChannel::PosType |
Definition at line 11 of file CaloBadChannel.h.
|
inline |
Definition at line 16 of file CaloBadChannel.h.
|
inline |
Definition at line 17 of file CaloBadChannel.h.
|
default |
|
inline |
Definition at line 20 of file CaloBadChannel.h.
|
inline |
Definition at line 30 of file CaloBadChannel.h.
|
inline |
Definition at line 28 of file CaloBadChannel.h.
|
inline |
Definition at line 29 of file CaloBadChannel.h.
|
default |
|
inline |
Definition at line 32 of file CaloBadChannel.h.
|
inlinestatic |
Sets the bit corresponding to "pb" inside the word passed as second argument to "value".
This static method provides a convenient way of setting the bits of a CaloBadChannel, without compromizing the const interface of the class. The Bits should be set in a BitWord, and then the BitWord passed to the constructor of CaloBadChannel.
Definition at line 38 of file CaloBadChannel.h.
|
inline |
|
private |
Definition at line 46 of file CaloBadChannel.h.