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

Go to the source code of this file.

Macros

#define NUM_PACKET_VERSIONS   2
 
#define CURRENT_PACKETHDR_VERSION   1
 

Typedefs

typedef PHDWORDPACKET_ptr
 
typedef struct errorEntryV1 PACKETERROR
 
typedef enum PacketStructEnum PACKETSTRUCTENUM
 

Enumerations

enum  PacketStructEnum {
  defaultStructure = 0, Unstructured = 0, Packets = 1, hitArray = 2,
  hitList = 3
}
 
enum  PacketStatusBits { errorBlockInvalid = 0 }
 

Variables

CONSTANT UINT numPacketVersions = NUM_PACKET_VERSIONS
 
CONSTANT UINT currentPacketHdrVersion = CURRENT_PACKETHDR_VERSION
 

Macro Definition Documentation

#define CURRENT_PACKETHDR_VERSION   1

Definition at line 56 of file packetPublic.h.

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

#define NUM_PACKET_VERSIONS   2

Definition at line 55 of file packetPublic.h.

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

Referenced by validPacketHdr().

Typedef Documentation

typedef PHDWORD* PACKET_ptr

Definition at line 41 of file packetPublic.h.

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

typedef struct errorEntryV1 PACKETERROR

Definition at line 50 of file packetPublic.h.

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

Definition at line 71 of file packetPublic.h.

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

Enumeration Type Documentation

Enumerator:
errorBlockInvalid 

Definition at line 76 of file packetPublic.h.

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

Enumerator:
defaultStructure 
Unstructured 
Packets 
hitArray 
hitList 

Definition at line 64 of file packetPublic.h.

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

Variable Documentation

CONSTANT UINT currentPacketHdrVersion = CURRENT_PACKETHDR_VERSION

Definition at line 59 of file packetPublic.h.

View newest version in sPHENIX GitHub at line 59 of file packetPublic.h

Referenced by currentPacket(), and makePacketHdr().

CONSTANT UINT numPacketVersions = NUM_PACKET_VERSIONS

Definition at line 58 of file packetPublic.h.

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

Referenced by getPacketHdrVersion(), and setPacketHdrVersion().