#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 11 of file ReadoutError.h.
|
inlineexplicit |
Definition at line 24 of file ReadoutError.h.
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 31 of file ReadoutError.cc.
References EmptyPackedStrips, EOD, HeaderCheckFail, InconsistentDataSize, InconsitentFedId, InvalidDetId, InvalidLB, InvalidStrip, query::result, AlCaHLTBitMon_QueryRunRegistry::string, and TrailerCheckFail.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), config.CFG::__str__(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), and Vispa.Views.PropertyView.Property::valueChanged().
|
inline |
Definition at line 33 of file ReadoutError.h.
References name(), and type().
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), config.CFG::__str__(), validation.Sample::digest(), RPCRawDataCountsHistoMaker::emptyReadoutErrorHisto(), RPCRawDataCountsHistoMaker::emptyReadoutErrorMapHisto(), VIDSelectorBase.VIDSelectorBase::initialize(), name(), and Vispa.Views.PropertyView.Property::valueChanged().
|
inline |
Definition at line 35 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 cuy.ValElement::__init__(), 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(), and RPCRecordFormatter::recordUnpack().
LinkBoardElectronicIndex ReadoutError::where | ( | ) | const |
Definition at line 20 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 38 of file ReadoutError.h.
Referenced by rawCode(), ReadoutError(), type(), and where().