#include <ReadoutError.h>
Public Types | |
enum | ReadoutErrorType { NoProblem = 0, HeaderCheckFail = 1, InconsitentFedId = 2, TrailerCheckFail = 3, InconsistentDataSize = 4, InvalidLB = 5, EmptyPackedStrips = 6, InvalidDetId = 7, InvalidStrip = 8, EOD = 9 } |
Public Member Functions | |
std::string | name () const |
unsigned int | rawCode () const |
ReadoutError (unsigned int rawCode=0) | |
ReadoutError (const LinkBoardElectronicIndex &, const ReadoutErrorType &) | |
ReadoutErrorType | type () const |
LinkBoardElectronicIndex | where () const |
Static Public Member Functions | |
static std::string | name (const ReadoutErrorType &code) |
Private Attributes | |
unsigned int | theError |
Definition at line 8 of file ReadoutError.h.
Enumerator | |
---|---|
NoProblem | |
HeaderCheckFail | |
InconsitentFedId | |
TrailerCheckFail | |
InconsistentDataSize | |
InvalidLB | |
EmptyPackedStrips | |
InvalidDetId | |
InvalidStrip | |
EOD |
Definition at line 10 of file ReadoutError.h.
|
inlineexplicit |
Definition at line 23 of file ReadoutError.h.
ReadoutError::ReadoutError | ( | const LinkBoardElectronicIndex & | path, |
const ReadoutErrorType & | type | ||
) |
Definition at line 7 of file ReadoutError.cc.
References EnsembleCalibrationLA_cfg::path, theError, and where().
|
static |
Definition at line 29 of file ReadoutError.cc.
References EmptyPackedStrips, EOD, HeaderCheckFail, InconsistentDataSize, InconsitentFedId, InvalidDetId, InvalidLB, InvalidStrip, mps_fire::result, AlCaHLTBitMon_QueryRunRegistry::string, and TrailerCheckFail.
Referenced by config.CFG::__str__(), validation.Sample::digest(), and VIDSelectorBase.VIDSelectorBase::initialize().
|
inline |
Definition at line 32 of file ReadoutError.h.
References name(), and type().
Referenced by config.CFG::__str__(), validation.Sample::digest(), RPCRawDataCountsHistoMaker::emptyReadoutErrorHisto(), RPCRawDataCountsHistoMaker::emptyReadoutErrorMapHisto(), VIDSelectorBase.VIDSelectorBase::initialize(), and name().
|
inline |
ReadoutError::ReadoutErrorType ReadoutError::type | ( | ) | const |
LinkBoardElectronicIndex ReadoutError::where | ( | ) | const |
Definition at line 19 of file ReadoutError.cc.
References data, LinkBoardElectronicIndex::dccId, LinkBoardElectronicIndex::dccInputChannelNum, LinkBoardElectronicIndex::lbNumInLink, LinkBoardElectronicIndex::tbLinkInputNum, and theError.
Referenced by ReadoutError().
|
private |
Definition at line 37 of file ReadoutError.h.
Referenced by rawCode(), ReadoutError(), type(), and where().