![]() |
ATLAS Offline Software
|
Holds information from the FEB Error Summary. More...
#include <LArFebErrorSummary.h>
Public Types | |
enum | LArFebErrorType { Parity, BCID, SampleHeader, EVTID, ScacStatus, ScaOutOfRange, GainMismatch, TypeMismatch, NumOfSamples, EmptyDataBlock, DspBlockSize, CheckSum, MissingHeader, BadGain, N_LArFebErrorType } |
Public Member Functions | |
LArFebErrorSummary () | |
Constructor with FEB Id. More... | |
~LArFebErrorSummary () | |
Destructor. More... | |
bool | set_feb_error (unsigned int febid, uint16_t e) |
Add another FEB error record, return true if added successfully. More... | |
uint16_t | feb_error (HWIdentifier febid) const |
get error for feb More... | |
const std::map< unsigned int, uint16_t > & | get_all_febs () const |
get all febs with error More... | |
void | clear () |
clear internal map More... | |
Static Public Member Functions | |
static std::string | error_to_string (uint16_t error) |
interpret the error in string More... | |
Private Attributes | |
std::map< unsigned int, uint16_t > | m_feb_errors |
error is stored in a map with key = feb id More... | |
Static Private Attributes | |
static const std::string | m_errorStrings [N_LArFebErrorType] |
Holds information from the FEB Error Summary.
Definition at line 22 of file LArFebErrorSummary.h.
Enumerator | |
---|---|
Parity | |
BCID | |
SampleHeader | |
EVTID | |
ScacStatus | |
ScaOutOfRange | |
GainMismatch | |
TypeMismatch | |
NumOfSamples | |
EmptyDataBlock | |
DspBlockSize | |
CheckSum | |
MissingHeader | |
BadGain | |
N_LArFebErrorType |
Definition at line 26 of file LArFebErrorSummary.h.
|
default |
Constructor with FEB Id.
|
default |
Destructor.
void LArFebErrorSummary::clear | ( | ) |
clear internal map
Definition at line 52 of file LArFebErrorSummary.cxx.
|
static |
uint16_t LArFebErrorSummary::feb_error | ( | HWIdentifier | febid | ) | const |
get error for feb
Definition at line 20 of file LArFebErrorSummary.cxx.
const std::map< unsigned int, uint16_t > & LArFebErrorSummary::get_all_febs | ( | ) | const |
get all febs with error
Definition at line 47 of file LArFebErrorSummary.cxx.
bool LArFebErrorSummary::set_feb_error | ( | unsigned int | febid, |
uint16_t | e | ||
) |
Add another FEB error record, return true if added successfully.
Definition at line 34 of file LArFebErrorSummary.cxx.
|
staticprivate |
Definition at line 57 of file LArFebErrorSummary.h.
|
private |
error is stored in a map with key = feb id
Definition at line 55 of file LArFebErrorSummary.h.