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

Go to the source code of this file.

Macros

#define STATUS_OFFSET_OF_DWORD   2
 
#define STATUS_OFFSET_IN_DWORD   0
 
#define STATUS_NUM_BITS   16
 
#define STATUS_MASK   0x0000ffff
 
#define SEQUENCE_NUMBER_OFFSET_OF_DWORD   3
 
#define SEQUENCE_NUMBER_OFFSET_IN_DWORD   24
 
#define SEQUENCE_NUMBER_NUM_BITS   8
 
#define SEQUENCE_NUMBER_MASK   0xff000000
 
#define SEQUENCE_CODE_OFFSET_OF_DWORD   3
 
#define SEQUENCE_CODE_OFFSET_IN_DWORD   16
 
#define SEQUENCE_CODE_NUM_BITS   8
 
#define SEQUENCE_CODE_MASK   0x00ff0000
 
#define SOURCE_ID_OFFSET_OF_DWORD   3
 
#define SOURCE_ID_OFFSET_IN_DWORD   0
 
#define SOURCE_ID_NUM_BITS   16
 
#define SOURCE_ID_MASK   0x0000ffff
 
#define DATA_TYPE_OFFSET_OF_DWORD   4
 
#define DATA_TYPE_OFFSET_IN_DWORD   24
 
#define DATA_TYPE_NUM_BITS   8
 
#define DATA_TYPE_MASK   0xff000000
 
#define FRAME_TYPE_OFFSET_OF_DWORD   4
 
#define FRAME_TYPE_OFFSET_IN_DWORD   16
 
#define FRAME_TYPE_NUM_BITS   8
 
#define FRAME_TYPE_MASK   0x00ff0000
 
#define ERROR_LENGTH_OFFSET_OF_DWORD   4
 
#define ERROR_LENGTH_OFFSET_IN_DWORD   0
 
#define ERROR_LENGTH_NUM_BITS   16
 
#define ERROR_LENGTH_MASK   0x0000ffff
 
#define HISTORY_LENGTH_OFFSET_OF_DWORD   5
 
#define HISTORY_LENGTH_OFFSET_IN_DWORD   16
 
#define HISTORY_LENGTH_NUM_BITS   16
 
#define HISTORY_LENGTH_MASK   0xffff0000
 
#define ALIGN_LENGTH_OFFSET_OF_DWORD   5
 
#define ALIGN_LENGTH_OFFSET_IN_DWORD   8
 
#define ALIGN_LENGTH_NUM_BITS   8
 
#define ALIGN_LENGTH_MASK   0x0000ff00
 
#define PADDING_OFFSET_OF_DWORD   5
 
#define PADDING_OFFSET_IN_DWORD   0
 
#define PADDING_NUM_BITS   8
 
#define PADDING_MASK   0x000000ff
 
#define ALIGN_OFFSET_OF_DWORD   6
 
#define V1_FRAMEHDR_VERSION   1
 
#define V1_FRAMEHDR_LENGTH   8
 
#define V1_FRAMEMARK   0xFFFFFF00
 
#define V1_ALIGN_LENGTH   2
 
#define V1_FRAME_QUANTUM   2
 

Variables

CONSTANT UINT v1FrameHdrVersion = V1_FRAMEHDR_VERSION
 
CONSTANT PHDWORD v1FrameHdrLength = V1_FRAMEHDR_LENGTH
 
CONSTANT PHDWORD v1FrameMark = V1_FRAMEMARK
 
CONSTANT UINT v1AlignLength = V1_ALIGN_LENGTH
 
CONSTANT UINT v1FrameQuantum = V1_FRAME_QUANTUM
 

Macro Definition Documentation

#define ALIGN_LENGTH_MASK   0x0000ff00

Definition at line 78 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 78 of file frameHdrV1.h

Referenced by getFrameAlignLengthV1(), and setFrameAlignLengthV1().

#define ALIGN_LENGTH_NUM_BITS   8

Definition at line 77 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 77 of file frameHdrV1.h

#define ALIGN_LENGTH_OFFSET_IN_DWORD   8

Definition at line 76 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 76 of file frameHdrV1.h

Referenced by getFrameAlignLengthV1(), and setFrameAlignLengthV1().

#define ALIGN_LENGTH_OFFSET_OF_DWORD   5

Definition at line 75 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 75 of file frameHdrV1.h

Referenced by getFrameAlignLengthV1(), and setFrameAlignLengthV1().

#define ALIGN_OFFSET_OF_DWORD   6

Definition at line 85 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 85 of file frameHdrV1.h

Referenced by findFrameAlignBlockV1(), getAlignBlockV1(), and setAlignBlockV1().

#define DATA_TYPE_MASK   0xff000000

Definition at line 58 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 58 of file frameHdrV1.h

Referenced by getFrameDataTypeV1(), and setDataTypeV1().

#define DATA_TYPE_NUM_BITS   8

Definition at line 57 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 57 of file frameHdrV1.h

#define DATA_TYPE_OFFSET_IN_DWORD   24

Definition at line 56 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 56 of file frameHdrV1.h

Referenced by getFrameDataTypeV1(), and setDataTypeV1().

#define DATA_TYPE_OFFSET_OF_DWORD   4

Definition at line 55 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 55 of file frameHdrV1.h

Referenced by getFrameDataTypeV1(), and setDataTypeV1().

#define ERROR_LENGTH_MASK   0x0000ffff

Definition at line 68 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 68 of file frameHdrV1.h

Referenced by adjustFrameErrorLengthV1(), getFrameErrorLengthV1(), and setFrameErrorLengthV1().

#define ERROR_LENGTH_NUM_BITS   16

Definition at line 67 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 67 of file frameHdrV1.h

#define ERROR_LENGTH_OFFSET_IN_DWORD   0

Definition at line 66 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 66 of file frameHdrV1.h

Referenced by adjustFrameErrorLengthV1(), getFrameErrorLengthV1(), and setFrameErrorLengthV1().

#define ERROR_LENGTH_OFFSET_OF_DWORD   4

Definition at line 65 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 65 of file frameHdrV1.h

Referenced by adjustFrameErrorLengthV1(), getFrameErrorLengthV1(), and setFrameErrorLengthV1().

#define FRAME_TYPE_MASK   0x00ff0000

Definition at line 63 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 63 of file frameHdrV1.h

Referenced by getFrameTypeV1(), and setFrameTypeV1().

#define FRAME_TYPE_NUM_BITS   8

Definition at line 62 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 62 of file frameHdrV1.h

#define FRAME_TYPE_OFFSET_IN_DWORD   16

Definition at line 61 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 61 of file frameHdrV1.h

Referenced by getFrameTypeV1(), and setFrameTypeV1().

#define FRAME_TYPE_OFFSET_OF_DWORD   4

Definition at line 60 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 60 of file frameHdrV1.h

Referenced by getFrameTypeV1(), and setFrameTypeV1().

#define HISTORY_LENGTH_MASK   0xffff0000

Definition at line 73 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 73 of file frameHdrV1.h

Referenced by adjustFrameHistoryLengthV1(), getFrameHistoryLengthV1(), and setFrameHistoryLengthV1().

#define HISTORY_LENGTH_NUM_BITS   16

Definition at line 72 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 72 of file frameHdrV1.h

#define HISTORY_LENGTH_OFFSET_IN_DWORD   16

Definition at line 71 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 71 of file frameHdrV1.h

Referenced by adjustFrameHistoryLengthV1(), getFrameHistoryLengthV1(), and setFrameHistoryLengthV1().

#define HISTORY_LENGTH_OFFSET_OF_DWORD   5

Definition at line 70 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 70 of file frameHdrV1.h

Referenced by adjustFrameHistoryLengthV1(), getFrameHistoryLengthV1(), and setFrameHistoryLengthV1().

#define PADDING_MASK   0x000000ff

Definition at line 83 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 83 of file frameHdrV1.h

Referenced by getFramePaddingV1(), and setFramePaddingV1().

#define PADDING_NUM_BITS   8

Definition at line 82 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 82 of file frameHdrV1.h

#define PADDING_OFFSET_IN_DWORD   0

Definition at line 81 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 81 of file frameHdrV1.h

Referenced by getFramePaddingV1(), and setFramePaddingV1().

#define PADDING_OFFSET_OF_DWORD   5

Definition at line 80 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 80 of file frameHdrV1.h

Referenced by getFramePaddingV1(), and setFramePaddingV1().

#define SEQUENCE_CODE_MASK   0x00ff0000

Definition at line 48 of file frameHdrV1.h.

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

#define SEQUENCE_CODE_NUM_BITS   8

Definition at line 47 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 47 of file frameHdrV1.h

#define SEQUENCE_CODE_OFFSET_IN_DWORD   16

Definition at line 46 of file frameHdrV1.h.

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

#define SEQUENCE_CODE_OFFSET_OF_DWORD   3

Definition at line 45 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 45 of file frameHdrV1.h

#define SEQUENCE_NUMBER_MASK   0xff000000

Definition at line 43 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 43 of file frameHdrV1.h

#define SEQUENCE_NUMBER_NUM_BITS   8

Definition at line 42 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 42 of file frameHdrV1.h

#define SEQUENCE_NUMBER_OFFSET_IN_DWORD   24

Definition at line 41 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 41 of file frameHdrV1.h

#define SEQUENCE_NUMBER_OFFSET_OF_DWORD   3

Definition at line 40 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 40 of file frameHdrV1.h

#define SOURCE_ID_MASK   0x0000ffff

Definition at line 53 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 53 of file frameHdrV1.h

Referenced by getFrameSourceIdV1(), and setSourceIdV1().

#define SOURCE_ID_NUM_BITS   16

Definition at line 52 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 52 of file frameHdrV1.h

#define SOURCE_ID_OFFSET_IN_DWORD   0

Definition at line 51 of file frameHdrV1.h.

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

Referenced by getFrameSourceIdV1(), and setSourceIdV1().

#define SOURCE_ID_OFFSET_OF_DWORD   3

Definition at line 50 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 50 of file frameHdrV1.h

Referenced by getFrameSourceIdV1(), and setSourceIdV1().

#define STATUS_MASK   0x0000ffff

Definition at line 38 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 38 of file frameHdrV1.h

Referenced by getFrameStatusV1(), orFrameStatusV1(), and setFrameStatusV1().

#define STATUS_NUM_BITS   16

Definition at line 37 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 37 of file frameHdrV1.h

Referenced by orFrameStatusV1().

#define STATUS_OFFSET_IN_DWORD   0

Definition at line 36 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 36 of file frameHdrV1.h

Referenced by getFrameStatusV1(), orFrameStatusV1(), and setFrameStatusV1().

#define STATUS_OFFSET_OF_DWORD   2

Definition at line 35 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 35 of file frameHdrV1.h

Referenced by getFrameStatusV1(), orFrameStatusV1(), and setFrameStatusV1().

#define V1_ALIGN_LENGTH   2

Definition at line 93 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 93 of file frameHdrV1.h

Referenced by makeFrameHdrV1().

#define V1_FRAME_QUANTUM   2

Definition at line 94 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 94 of file frameHdrV1.h

#define V1_FRAMEHDR_LENGTH   8

Definition at line 91 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 91 of file frameHdrV1.h

Referenced by makeFrameHdrV1(), and validFrameHdrV1().

#define V1_FRAMEHDR_VERSION   1

Definition at line 90 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 90 of file frameHdrV1.h

#define V1_FRAMEMARK   0xFFFFFF00

Definition at line 92 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 92 of file frameHdrV1.h

Variable Documentation

CONSTANT UINT v1AlignLength = V1_ALIGN_LENGTH

Definition at line 103 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 103 of file frameHdrV1.h

CONSTANT PHDWORD v1FrameHdrLength = V1_FRAMEHDR_LENGTH

Definition at line 101 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 101 of file frameHdrV1.h

CONSTANT UINT v1FrameHdrVersion = V1_FRAMEHDR_VERSION

Definition at line 100 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 100 of file frameHdrV1.h

CONSTANT PHDWORD v1FrameMark = V1_FRAMEMARK

Definition at line 102 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 102 of file frameHdrV1.h

CONSTANT UINT v1FrameQuantum = V1_FRAME_QUANTUM

Definition at line 104 of file frameHdrV1.h.

View newest version in sPHENIX GitHub at line 104 of file frameHdrV1.h