ATLAS Offline Software
Loading...
Searching...
No Matches
PixelByteStreamErrors Namespace Reference

Enumerations

enum  PixelErrorsEnum {
  TimeOut =0 , firstErrType =TimeOut , BCID , LVL1ID ,
  Preamble , Trailer , Flagged , BadFE ,
  Decoding , Invalid , LinkMaskedByPPC , Limit ,
  TruncatedROB , MaskedROB , MCCUndefined , MCCLVL1IDEoECheck ,
  MCCBCIDEoECheck , MCCLVL1IDCheck , MCCEoEOverflow , MCCHitOverflow ,
  FEWarning , FEHitParity , FERegisterParity , FEHammingCode ,
  FEEoCOverflow , RODTrailerBitError , RODHeaderLimit , RODDataOVerflow ,
  lastErrType =RODDataOVerflow , ErrorsNumber =lastErrType+1
}
 < Possible errors in pixel data decoding More...

Functions

constexpr IDCInDetBSErrContainer::ErrorCode makeError (PixelErrorsEnum errType)
 helper to be used in clients to fetch error information
void addError (IDCInDetBSErrContainer::ErrorCode &errWord, PixelErrorsEnum errType)
void addServiceRecords (IDCInDetBSErrContainer::ErrorCode &errWord, uint64_t errorCount)

Enumeration Type Documentation

◆ PixelErrorsEnum

< Possible errors in pixel data decoding

Enumerator
TimeOut 
firstErrType 
BCID 
LVL1ID 
Preamble 
Trailer 
Flagged 
BadFE 
Decoding 
Invalid 
LinkMaskedByPPC 
Limit 
TruncatedROB 
MaskedROB 
MCCUndefined 
MCCLVL1IDEoECheck 
MCCBCIDEoECheck 
MCCLVL1IDCheck 
MCCEoEOverflow 
MCCHitOverflow 
FEWarning 
FEHitParity 
FERegisterParity 
FEHammingCode 
FEEoCOverflow 
RODTrailerBitError 
RODHeaderLimit 
RODDataOVerflow 
lastErrType 
ErrorsNumber 

Definition at line 13 of file PixelByteStreamErrors.h.

Function Documentation

◆ addError()

void PixelByteStreamErrors::addError ( IDCInDetBSErrContainer::ErrorCode & errWord,
PixelErrorsEnum errType )
inline

Definition at line 27 of file PixelByteStreamErrors.h.

27{ errWord |= makeError( errType ); }
constexpr IDCInDetBSErrContainer::ErrorCode makeError(PixelErrorsEnum errType)
helper to be used in clients to fetch error information

◆ addServiceRecords()

void PixelByteStreamErrors::addServiceRecords ( IDCInDetBSErrContainer::ErrorCode & errWord,
uint64_t errorCount )
inline

Definition at line 29 of file PixelByteStreamErrors.h.

29{ errWord = errorCount; }

◆ makeError()

IDCInDetBSErrContainer::ErrorCode PixelByteStreamErrors::makeError ( PixelErrorsEnum errType)
inlineconstexpr

helper to be used in clients to fetch error information

Definition at line 21 of file PixelByteStreamErrors.h.