#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.
References name(), AlCaHLTBitMon_QueryRunRegistry::string, type(), and where().
ReadoutError::ReadoutError | ( | const LinkBoardElectronicIndex & | path, |
const ReadoutErrorType & | type | ||
) |
Definition at line 7 of file ReadoutError.cc.
References LinkBoardElectronicIndex::dccId, LinkBoardElectronicIndex::dccInputChannelNum, LinkBoardElectronicIndex::lbNumInLink, LinkBoardElectronicIndex::tbLinkInputNum, 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(), VIDSelectorBase.VIDSelectorBase::initialize(), and Vispa.Views.PropertyView.Property::valueChanged().
|
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(), name(), ReadoutError(), and Vispa.Views.PropertyView.Property::valueChanged().
|
inline |
Definition at line 34 of file ReadoutError.h.
References theError.
Referenced by RPCRawDataCounts::addReadoutError().
ReadoutError::ReadoutErrorType ReadoutError::type | ( | ) | const |
Definition at line 14 of file ReadoutError.cc.
References theError.
Referenced by RPCMonitorRaw::analyze(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputCommands(), name(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), ReadoutError(), and RPCRecordFormatter::recordUnpack().
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 RPCMonitorRaw::analyze(), and ReadoutError().
|
private |
Definition at line 37 of file ReadoutError.h.
Referenced by rawCode(), ReadoutError(), type(), and where().