Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
errorBlock.h File Reference
#include "phenixOnline.h"
+ Include dependency graph for errorBlock.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  errorEntryV1
 

Macros

#define ERROR_ENTRY_V1_LENGTH   sizeof(ERRORENTRYV1)/4
 

Typedefs

typedef struct errorEntryV1 ERRORENTRYV1
 
typedef struct errorEntryV1ERRORENTRYV1_ptr
 

Enumerations

enum  daqErrorCodes { InvalidFrameHeader = 1, InvalidSourceId = 2, InvalidFrameType = 3 }
 

Functions

VALUE_ret calcNumErrorsV1 (UINT)
 
void endianSwapErrorV1 (ERRORENTRYV1_ptr, ERRORENTRYV1_ptr)
 

Variables

CONSTANT UINT errorEntryV1Length = ERROR_ENTRY_V1_LENGTH
 

Macro Definition Documentation

#define ERROR_ENTRY_V1_LENGTH   sizeof(ERRORENTRYV1)/4

Definition at line 48 of file errorBlock.h.

View newest version in sPHENIX GitHub at line 48 of file errorBlock.h

Typedef Documentation

typedef struct errorEntryV1 ERRORENTRYV1

Definition at line 46 of file errorBlock.h.

View newest version in sPHENIX GitHub at line 46 of file errorBlock.h

typedef struct errorEntryV1 * ERRORENTRYV1_ptr

Definition at line 46 of file errorBlock.h.

View newest version in sPHENIX GitHub at line 46 of file errorBlock.h

Enumeration Type Documentation

Enumerator:
InvalidFrameHeader 
InvalidSourceId 
InvalidFrameType 

Definition at line 51 of file errorBlock.h.

View newest version in sPHENIX GitHub at line 51 of file errorBlock.h

Function Documentation

VALUE_ret calcNumErrorsV1 ( UINT  )

Definition at line 18 of file errorBlock.C.

View newest version in sPHENIX GitHub at line 18 of file errorBlock.C

References errorEntryV1Length, and valueFailure.

Referenced by A_Event::dumpErrorBlock(), and getPacketV1NumErrors().

+ Here is the caller graph for this function:

void endianSwapErrorV1 ( ERRORENTRYV1_ptr  ,
ERRORENTRYV1_ptr   
)

Definition at line 26 of file errorBlock.C.

View newest version in sPHENIX GitHub at line 26 of file errorBlock.C

Referenced by endianSwapError().

+ Here is the caller graph for this function:

Variable Documentation

CONSTANT UINT errorEntryV1Length = ERROR_ENTRY_V1_LENGTH

Definition at line 49 of file errorBlock.h.

View newest version in sPHENIX GitHub at line 49 of file errorBlock.h

Referenced by appendPacketError(), and calcNumErrorsV1().