ATLAS Offline Software
Enumerations | Functions
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 More...
 
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 ); }

◆ addServiceRecords()

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

Definition at line 29 of file PixelByteStreamErrors.h.

29 { errWord = errorCount; }

◆ makeError()

constexpr 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.

PixelByteStreamErrors::FEHammingCode
@ FEHammingCode
Definition: PixelByteStreamErrors.h:16
PixelByteStreamErrors::firstErrType
@ firstErrType
Definition: PixelByteStreamErrors.h:13
PixelByteStreamErrors::LinkMaskedByPPC
@ LinkMaskedByPPC
Definition: PixelByteStreamErrors.h:14
PixelByteStreamErrors::RODDataOVerflow
@ RODDataOVerflow
Definition: PixelByteStreamErrors.h:17
PixelByteStreamErrors::FEWarning
@ FEWarning
Definition: PixelByteStreamErrors.h:16
PixelByteStreamErrors::MCCBCIDEoECheck
@ MCCBCIDEoECheck
Definition: PixelByteStreamErrors.h:15
PixelByteStreamErrors::makeError
constexpr IDCInDetBSErrContainer::ErrorCode makeError(PixelErrorsEnum errType)
helper to be used in clients to fetch error information
Definition: PixelByteStreamErrors.h:21
PixelByteStreamErrors::Decoding
@ Decoding
Definition: PixelByteStreamErrors.h:14
PixelByteStreamErrors::TimeOut
@ TimeOut
Definition: PixelByteStreamErrors.h:13
PixelByteStreamErrors::RODTrailerBitError
@ RODTrailerBitError
Definition: PixelByteStreamErrors.h:17
PixelByteStreamErrors::BCID
@ BCID
Definition: PixelByteStreamErrors.h:13
PixelByteStreamErrors::RODHeaderLimit
@ RODHeaderLimit
Definition: PixelByteStreamErrors.h:17
PixelByteStreamErrors::Flagged
@ Flagged
Definition: PixelByteStreamErrors.h:14
PixelByteStreamErrors::lastErrType
@ lastErrType
Definition: PixelByteStreamErrors.h:18
MonDataType::Invalid
@ Invalid
PixelByteStreamErrors::FEEoCOverflow
@ FEEoCOverflow
Definition: PixelByteStreamErrors.h:16
PixelByteStreamErrors::Preamble
@ Preamble
Definition: PixelByteStreamErrors.h:13
PixelByteStreamErrors::MCCLVL1IDEoECheck
@ MCCLVL1IDEoECheck
Definition: PixelByteStreamErrors.h:15
PixelByteStreamErrors::ErrorsNumber
@ ErrorsNumber
Definition: PixelByteStreamErrors.h:18
PixelByteStreamErrors::MaskedROB
@ MaskedROB
Definition: PixelByteStreamErrors.h:14
PixelByteStreamErrors::MCCHitOverflow
@ MCCHitOverflow
Definition: PixelByteStreamErrors.h:15
PixelByteStreamErrors::MCCLVL1IDCheck
@ MCCLVL1IDCheck
Definition: PixelByteStreamErrors.h:15
PixelByteStreamErrors::MCCEoEOverflow
@ MCCEoEOverflow
Definition: PixelByteStreamErrors.h:15
PixelByteStreamErrors::FEHitParity
@ FEHitParity
Definition: PixelByteStreamErrors.h:16
PixelByteStreamErrors::FERegisterParity
@ FERegisterParity
Definition: PixelByteStreamErrors.h:16
PixelByteStreamErrors::BadFE
@ BadFE
Definition: PixelByteStreamErrors.h:14
PixelByteStreamErrors::MCCUndefined
@ MCCUndefined
Definition: PixelByteStreamErrors.h:15
PixelByteStreamErrors::Limit
@ Limit
Definition: PixelByteStreamErrors.h:14
PixelByteStreamErrors::TruncatedROB
@ TruncatedROB
Definition: PixelByteStreamErrors.h:14
PixelByteStreamErrors::Trailer
@ Trailer
Definition: PixelByteStreamErrors.h:13
PixelByteStreamErrors::LVL1ID
@ LVL1ID
Definition: PixelByteStreamErrors.h:13