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

Enumerations

enum  ErrorType
 SCT byte stream error type enums used in SCT_RodDecoder, SCT_ByteStreamErrorsTool, SCTErrMonAlg. More...

Functions

ErrorType TempMaskedChipToBit (const int chip)
IDCInDetBSErrContainer::ErrorCode makeError (ErrorType errType)
 <
void addError (IDCInDetBSErrContainer::ErrorCode &errWord, ErrorType errType)

Enumeration Type Documentation

◆ ErrorType

SCT byte stream error type enums used in SCT_RodDecoder, SCT_ByteStreamErrorsTool, SCTErrMonAlg.

Definition at line 178 of file SCT_ByteStreamErrors.h.

178 {
180 };
#define SCT_ERRORTYPELIST(XYZ)
Specifications of the data format and errors is found in [1] http://www-eng.lbl.gov/~jmjoseph/Atlas-S...
#define SCT_DO_ENUM(e)

Function Documentation

◆ addError()

void SCT_ByteStreamErrors::addError ( IDCInDetBSErrContainer::ErrorCode & errWord,
ErrorType errType )
inline

Definition at line 43 of file ISCT_ByteStreamErrorsTool.h.

43 {
44 errWord |= makeError(errType);
45 }
IDCInDetBSErrContainer::ErrorCode makeError(ErrorType errType)
<

◆ makeError()

IDCInDetBSErrContainer::ErrorCode SCT_ByteStreamErrors::makeError ( ErrorType errType)
inline

<

for cases when error doe snot need to be accumulated

helper to be used in clients to fetch error information

Definition at line 33 of file ISCT_ByteStreamErrorsTool.h.

◆ TempMaskedChipToBit()

ErrorType SCT_ByteStreamErrors::TempMaskedChipToBit ( const int chip)
inline

Definition at line 278 of file SCT_ByteStreamErrors.h.

278 { return std::array<ErrorType, 6>{{
279 TempMaskedChip0,
280 TempMaskedChip1,
281 TempMaskedChip2,
282 TempMaskedChip3,
283 TempMaskedChip4,
284 TempMaskedChip5}}[chip]; }