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

Go to the source code of this file.

Macros

#define FRAME_LENGTH_OFFSET_OF_DWORD   0
 
#define FRAME_MARK_OFFSET_OF_DWORD   1
 
#define FRAME_HDR_VERSION_OFFSET_OF_DWORD   2
 
#define FRAME_HDR_VERSION_OFFSET_IN_DWORD   24
 
#define FRAME_HDR_VERSION_NUM_BITS   8
 
#define FRAME_HDR_VERSION_MASK   0xff000000
 
#define FRAME_HDR_LENGTH_OFFSET_OF_DWORD   2
 
#define FRAME_HDR_LENGTH_OFFSET_IN_DWORD   16
 
#define FRAME_HDR_LENGTH_NUM_BITS   8
 
#define FRAME_HDR_LENGTH_MASK   0x00ff0000
 
#define FRAME_LENGTH_OFFSET   0
 
#define FRAME_MARK_OFFSET   1
 
#define NUM_FRAME_VERSIONS   2 /* we have a dummy version 0 */
 
#define CURRENT_FRAME_HDR_VERSION   1
 

Variables

CONSTANT UINT numFrameVersions = NUM_FRAME_VERSIONS
 
CONSTANT UINT frameMarkV [NUM_FRAME_VERSIONS] = {0, V1_FRAMEMARK}
 
CONSTANT UINT frameHdrLengthV [NUM_FRAME_VERSIONS] = {0, V1_FRAMEHDR_LENGTH}
 
CONSTANT UINT frameLengthOffset = FRAME_LENGTH_OFFSET
 
CONSTANT UINT frameMarkOffset = FRAME_MARK_OFFSET
 
CONSTANT UINT currentFrameHdrVersion = CURRENT_FRAME_HDR_VERSION
 
CONSTANT UINT currentFrameHdrLength = V1_FRAMEHDR_LENGTH
 
CONSTANT UINT currentFrameMark = V1_FRAMEMARK
 
CONSTANT UINT currentAlignLength = V1_ALIGN_LENGTH
 
CONSTANT UINT currentFrameQuantum = V1_FRAME_QUANTUM
 
CONSTANT UINT maxFrameHdrLength = V1_FRAMEHDR_LENGTH
 

Macro Definition Documentation

#define CURRENT_FRAME_HDR_VERSION   1

Definition at line 48 of file frameHdr.h.

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

#define FRAME_HDR_LENGTH_MASK   0x00ff0000

Definition at line 42 of file frameHdr.h.

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

Referenced by getFrameHdrLength(), and setFrameHdrLength().

#define FRAME_HDR_LENGTH_NUM_BITS   8

Definition at line 41 of file frameHdr.h.

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

#define FRAME_HDR_LENGTH_OFFSET_IN_DWORD   16

Definition at line 40 of file frameHdr.h.

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

Referenced by getFrameHdrLength(), and setFrameHdrLength().

#define FRAME_HDR_LENGTH_OFFSET_OF_DWORD   2

Definition at line 39 of file frameHdr.h.

View newest version in sPHENIX GitHub at line 39 of file frameHdr.h

Referenced by getFrameHdrLength(), and setFrameHdrLength().

#define FRAME_HDR_VERSION_MASK   0xff000000

Definition at line 37 of file frameHdr.h.

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

Referenced by getFrameHdrVersion(), and setFrameHdrVersion().

#define FRAME_HDR_VERSION_NUM_BITS   8

Definition at line 36 of file frameHdr.h.

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

#define FRAME_HDR_VERSION_OFFSET_IN_DWORD   24

Definition at line 35 of file frameHdr.h.

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

Referenced by getFrameHdrVersion(), and setFrameHdrVersion().

#define FRAME_HDR_VERSION_OFFSET_OF_DWORD   2

Definition at line 34 of file frameHdr.h.

View newest version in sPHENIX GitHub at line 34 of file frameHdr.h

Referenced by getFrameHdrVersion(), and setFrameHdrVersion().

#define FRAME_LENGTH_OFFSET   0

Definition at line 44 of file frameHdr.h.

View newest version in sPHENIX GitHub at line 44 of file frameHdr.h

#define FRAME_LENGTH_OFFSET_OF_DWORD   0

Definition at line 30 of file frameHdr.h.

View newest version in sPHENIX GitHub at line 30 of file frameHdr.h

Referenced by getFrameLength(), and setFrameLength().

#define FRAME_MARK_OFFSET   1

Definition at line 45 of file frameHdr.h.

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

#define FRAME_MARK_OFFSET_OF_DWORD   1

Definition at line 32 of file frameHdr.h.

View newest version in sPHENIX GitHub at line 32 of file frameHdr.h

Referenced by getFrameMark(), and setFrameMark().

#define NUM_FRAME_VERSIONS   2 /* we have a dummy version 0 */

Definition at line 47 of file frameHdr.h.

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

Variable Documentation

CONSTANT UINT currentAlignLength = V1_ALIGN_LENGTH

Definition at line 63 of file frameHdr.h.

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

CONSTANT UINT currentFrameHdrLength = V1_FRAMEHDR_LENGTH

Definition at line 61 of file frameHdr.h.

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

Referenced by oEvent::addPacket(), oEvent::addUnstructPacketData(), and makeFrameHdrV1().

CONSTANT UINT currentFrameHdrVersion = CURRENT_FRAME_HDR_VERSION

Definition at line 60 of file frameHdr.h.

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

Referenced by currentFrameHdr(), makeFrameHdr(), and makeFrameHdrV1().

CONSTANT UINT currentFrameMark = V1_FRAMEMARK

Definition at line 62 of file frameHdr.h.

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

Referenced by makeFrameHdrV1().

CONSTANT UINT currentFrameQuantum = V1_FRAME_QUANTUM

Definition at line 64 of file frameHdr.h.

View newest version in sPHENIX GitHub at line 64 of file frameHdr.h

Referenced by adjustFrameLength().

Definition at line 52 of file frameHdr.h.

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

Referenced by checkFrameHdrVersion().

CONSTANT UINT frameLengthOffset = FRAME_LENGTH_OFFSET

Definition at line 54 of file frameHdr.h.

View newest version in sPHENIX GitHub at line 54 of file frameHdr.h

CONSTANT UINT frameMarkOffset = FRAME_MARK_OFFSET

Definition at line 55 of file frameHdr.h.

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

Definition at line 51 of file frameHdr.h.

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

Referenced by checkFrameHdrVersion(), and validFrameMark().

CONSTANT UINT maxFrameHdrLength = V1_FRAMEHDR_LENGTH

Definition at line 66 of file frameHdr.h.

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

Referenced by checkFrameEndianism().

CONSTANT UINT numFrameVersions = NUM_FRAME_VERSIONS

Definition at line 50 of file frameHdr.h.

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

Referenced by getFrameHdrVersion().