ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
frameV1Public.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file frameV1Public.h
1 /*
2 ** frameV1Public.h
3 **
4 ** Author: $Author: purschke $
5 ** Date: $Date: 2000/07/21 01:51:14 $
6 **
7 ** $Log: frameV1Public.h,v $
8 ** Revision 1.1.1.1 2000/07/21 01:51:14 purschke
9 ** mlp -- adding the new automakified "basic" module to CVS.
10 **
11 **
12 ** Revision 1.3 1998/12/11 22:01:44 markacs
13 ** (stephen markacs) adding log into cvs tags
14 **
15 */
16 /*
17 ** Public definitions for V1 frames.
18 **
19 */
20 
21 #ifndef _FRAMEV1PUBLIC_
22 #define _FRAMEV1PUBLIC_
23 
24 #include "phenixOnline.h"
25 
26 /*
27 ** Use C linkage for below structures
28 */
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 /*
34 ** alignment block definitions (still not fully specified)
35 */
36  struct dcmAlignBlk {
38  SWORD granuleEvtcnt; /* (lowest 16 bits) */
40  };
41  typedef struct dcmAlignBlk DCMALIGNBLK;
42 
43  struct dcbAlignBlk {
45  SWORD granuleEvtcnt; /* (lowest 16 bits) */
47  };
48  typedef struct dcbAlignBlk DCBALIGNBLK;
49 
50  struct sebAlignBlk {
53  };
54  typedef struct sebAlignBlk SEBALIGNBLK;
55 
56  struct atpAlignBlk {
59  };
60  typedef struct atpAlignBlk ATPALIGNBLK;
61 
62  /*
63  ** For now handle the alignment block as a union.
64  */
65  typedef union alignBlkV1 {
70  /* ONCSALIGNBLK oncs; */
71  } ALIGNBLKV1;
72 
73  /*
74  ** We point to V1 frames using PHDWORD pointers
75  */
76  typedef PHDWORD* V1FRAME_ptr;
77 
78 
79 #ifdef __cplusplus
80 }
81 /* end of extern "C" */
82 #endif
83 
84 #endif
85 /* end of ifndef _FRAMESV1_ */