ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
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
{
37
SWORD
timeStamp
;
38
SWORD
granuleEvtcnt
;
/* (lowest 16 bits) */
39
PHDWORD
partitionVec
;
40
};
41
typedef
struct
dcmAlignBlk
DCMALIGNBLK
;
42
43
struct
dcbAlignBlk
{
44
SWORD
timeStamp
;
45
SWORD
granuleEvtcnt
;
/* (lowest 16 bits) */
46
PHDWORD
partitionVec
;
47
};
48
typedef
struct
dcbAlignBlk
DCBALIGNBLK
;
49
50
struct
sebAlignBlk
{
51
PHDWORD
globalEventNum
;
52
PHDWORD
partitionVec
;
53
};
54
typedef
struct
sebAlignBlk
SEBALIGNBLK
;
55
56
struct
atpAlignBlk
{
57
PHDWORD
globalEventNum
;
58
PHDWORD
partitionVec
;
59
};
60
typedef
struct
atpAlignBlk
ATPALIGNBLK
;
61
62
/*
63
** For now handle the alignment block as a union.
64
*/
65
typedef
union
alignBlkV1
{
66
DCMALIGNBLK
dcm
;
67
DCBALIGNBLK
dcb
;
68
SEBALIGNBLK
seb
;
69
ATPALIGNBLK
atp
;
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_ */
online_distribution
blob
master
newbasic
frameV1Public.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:59
using
1.8.2 with
ECCE GitHub integration