ATLAS Offline Software
Classes | Enumerations | Functions
SCT_ByteStreamErrors Namespace Reference

Classes

struct  ROOT6_NamespaceAutoloadHook
 Ensure that the enums are available from ROOT. More...
 

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)
 < More...
 
void addError (IDCInDetBSErrContainer::ErrorCode &errWord, ErrorType errType)
 

Enumeration Type Documentation

◆ ErrorType

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

SCT flagged condition error type enums used in SCT_Clusterization, SCT_FlaggedConditionTool. +.

Definition at line 178 of file SCT_ByteStreamErrors.h.

178  {
180  };

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  }

◆ 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]; }
SCT_DO_ENUM
#define SCT_DO_ENUM(e)
Definition: SCT_ByteStreamErrors.h:165
SCT_ERRORTYPELIST
#define SCT_ERRORTYPELIST(XYZ)
Specifications of the data format and errors is found in [1] http://www-eng.lbl.gov/~jmjoseph/Atlas-S...
Definition: SCT_ByteStreamErrors.h:125
SCT_ByteStreamErrors::makeError
IDCInDetBSErrContainer::ErrorCode makeError(ErrorType errType)
<
Definition: ISCT_ByteStreamErrorsTool.h:33