Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
frameHdr.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file frameHdr.h
1 /*
2 ** frameHdr.h
3 **
4 ** Author: $Author: purschke $
5 ** Date: $Date: 2000/07/21 01:51:13 $
6 **
7 ** $Log: frameHdr.h,v $
8 ** Revision 1.1.1.1 2000/07/21 01:51:13 purschke
9 ** mlp -- adding the new automakified "basic" module to CVS.
10 **
11 **
12 ** Revision 1.4 1998/12/11 22:01:30 markacs
13 ** (stephen markacs) adding log into cvs tags
14 **
15 */
16 /*
17 **
18 */
19 
20 #ifndef _FRAMEHDR_
21 #define _FRAMEHDR_
22 
23 #include "framePublic.h"
24 #include "frameHdrV1.h"
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 #define FRAME_LENGTH_OFFSET_OF_DWORD 0
31 
32 #define FRAME_MARK_OFFSET_OF_DWORD 1
33 
34 #define FRAME_HDR_VERSION_OFFSET_OF_DWORD 2
35 #define FRAME_HDR_VERSION_OFFSET_IN_DWORD 24
36 #define FRAME_HDR_VERSION_NUM_BITS 8
37 #define FRAME_HDR_VERSION_MASK 0xff000000
38 
39 #define FRAME_HDR_LENGTH_OFFSET_OF_DWORD 2
40 #define FRAME_HDR_LENGTH_OFFSET_IN_DWORD 16
41 #define FRAME_HDR_LENGTH_NUM_BITS 8
42 #define FRAME_HDR_LENGTH_MASK 0x00ff0000
43 
44 #define FRAME_LENGTH_OFFSET 0
45 #define FRAME_MARK_OFFSET 1
46 
47 #define NUM_FRAME_VERSIONS 2 /* we have a dummy version 0 */
48 #define CURRENT_FRAME_HDR_VERSION 1
49 
53 
56 
57  /*
58  ** Define "current" header type for use in creating new frames
59  */
65 
67 
68  /* *** temporarily in framePublic.h *** typedef ALIGNBLKV1 ALIGNBLK; */
69 
70 #ifdef __cplusplus
71 }
72 #endif
73 
74 #endif
75 
76 
77 
78