Coding conventions
[u/mrichter/AliRoot.git] / RAW / AliRawEventHeaderVersions.h
CommitLineData
f2dc6b20 1#ifndef ALIRAWEVENTHEADERVERSIONS_H
2#define ALIRAWEVENTHEADERVERSIONS_H
3
4#include "AliRawEventHeaderBase.h"
5
e258f0d3 6#undef INIT_HEADER_VARS
7#define INIT_HEADER_VARS fType(0), fRunNb(0), fDetectorPattern(0), fLdcId(0), fGdcId(0)
f2dc6b20 8START_EVENT_HEADER(3,1)
9
10 UInt_t fType; // event type
11 UInt_t fRunNb; // run number
12 UInt_t fId[2]; // id field
13 UInt_t fTriggerPattern[2]; // trigger pattern
04229271 14 UInt_t fDetectorPattern; // detector pattern
f2dc6b20 15 UInt_t fTypeAttribute[3]; // system (0,1) and user (2) attributes
16 UInt_t fLdcId; // LDC id
17 UInt_t fGdcId; // GDC id
18
19END_EVENT_HEADER(3,1)
20
21START_EVENT_HEADER(3,2)
22
23 UInt_t fType; // event type
24 UInt_t fRunNb; // run number
25 UInt_t fId[2]; // id field
26 UInt_t fTriggerPattern[2]; // trigger pattern
04229271 27 UInt_t fDetectorPattern; // detector pattern
f2dc6b20 28 UInt_t fTypeAttribute[3]; // system (0,1) and user (2) attributes
29 UInt_t fLdcId; // LDC id
30 UInt_t fGdcId; // GDC id
31
32END_EVENT_HEADER(3,2)
33
34START_EVENT_HEADER(3,3)
35
36 UInt_t fType; // event type
37 UInt_t fRunNb; // run number
38 UInt_t fId[2]; // id field
39 UInt_t fTriggerPattern[2]; // trigger pattern
04229271 40 UInt_t fDetectorPattern; // detector pattern
f2dc6b20 41 UInt_t fTypeAttribute[3]; // system (0,1) and user (2) attributes
42 UInt_t fLdcId; // LDC id
43 UInt_t fGdcId; // GDC id
44
45END_EVENT_HEADER(3,3)
46
e258f0d3 47#undef INIT_HEADER_VARS
48#define INIT_HEADER_VARS fType(0), fRunNb(0), fDetectorPattern(0), fLdcId(0), fGdcId(0), fTimestamp(0)
f2dc6b20 49START_EVENT_HEADER(3,4)
50
51 UInt_t fType; // event type
52 UInt_t fRunNb; // run number
53 UInt_t fId[2]; // id field
54 UInt_t fTriggerPattern[2]; // trigger pattern
04229271 55 UInt_t fDetectorPattern; // detector pattern
f2dc6b20 56 UInt_t fTypeAttribute[3]; // system (0,1) and user (2) attributes
57 UInt_t fLdcId; // LDC id
58 UInt_t fGdcId; // GDC id
59 UInt_t fTimestamp; // event timestamp
60
61END_EVENT_HEADER(3,4)
62
63START_EVENT_HEADER(3,5)
64
65 UInt_t fType; // event type
66 UInt_t fRunNb; // run number
67 UInt_t fId[2]; // id field
68 UInt_t fTriggerPattern[2]; // trigger pattern
04229271 69 UInt_t fDetectorPattern; // detector pattern
f2dc6b20 70 UInt_t fTypeAttribute[3]; // system (0,1) and user (2) attributes
71 UInt_t fLdcId; // LDC id
72 UInt_t fGdcId; // GDC id
73 UInt_t fTimestamp; // event timestamp
74
75END_EVENT_HEADER(3,5)
76
96218209 77START_EVENT_HEADER(3,6)
78
79 UInt_t fType; // event type
80 UInt_t fRunNb; // run number
81 UInt_t fId[2]; // id field
82 UInt_t fTriggerPattern[2]; // trigger pattern
04229271 83 UInt_t fDetectorPattern; // detector pattern
96218209 84 UInt_t fTypeAttribute[3]; // system (0,1) and user (2) attributes
85 UInt_t fLdcId; // LDC id
86 UInt_t fGdcId; // GDC id
87 UInt_t fTimestamp; // event timestamp
88
89END_EVENT_HEADER(3,6)
90
b3560413 91START_EVENT_HEADER(3,7)
92
93 UInt_t fType; // event type
94 UInt_t fRunNb; // run number
95 UInt_t fId[2]; // id field
96 UInt_t fTriggerPattern[2]; // trigger pattern
04229271 97 UInt_t fDetectorPattern; // detector pattern
b3560413 98 UInt_t fTypeAttribute[3]; // system (0,1) and user (2) attributes
99 UInt_t fLdcId; // LDC id
100 UInt_t fGdcId; // GDC id
101 UInt_t fTimestamp; // event timestamp
102
103END_EVENT_HEADER(3,7)
f2dc6b20 104
f61f53ea 105START_EVENT_HEADER(3,8)
106
107 UInt_t fType; // event type
108 UInt_t fRunNb; // run number
109 UInt_t fId[2]; // id field
110 UInt_t fTriggerPattern[2]; // trigger pattern
04229271 111 UInt_t fDetectorPattern; // detector pattern
f61f53ea 112 UInt_t fTypeAttribute[3]; // system (0,1) and user (2) attributes
113 UInt_t fLdcId; // LDC id
114 UInt_t fGdcId; // GDC id
115 UInt_t fTimestamp; // event timestamp
116
117END_EVENT_HEADER(3,8)
118
cab2f195 119START_EVENT_HEADER(3,9)
120
121 UInt_t fType; // event type
122 UInt_t fRunNb; // run number
123 UInt_t fId[2]; // id field
124 UInt_t fTriggerPattern[2]; // trigger pattern
04229271 125 UInt_t fDetectorPattern; // detector pattern
cab2f195 126 UInt_t fTypeAttribute[3]; // system (0,1) and user (2) attributes
127 UInt_t fLdcId; // LDC id
128 UInt_t fGdcId; // GDC id
129 UInt_t fTimestamp; // event timestamp
130
131END_EVENT_HEADER(3,9)
132
752f2225 133#undef INIT_HEADER_VARS
134#define INIT_HEADER_VARS fType(0), fRunNb(0), fDetectorPattern(0), fLdcId(0), fGdcId(0), fTimestamp(0), fTimestampUsec(0)
135START_EVENT_HEADER(3,11)
136
137 UInt_t fType; // event type
138 UInt_t fRunNb; // run number
139 UInt_t fId[2]; // id field
140 UInt_t fTriggerPattern[2]; // trigger pattern
141 UInt_t fDetectorPattern; // detector pattern
142 UInt_t fTypeAttribute[3]; // system (0,1) and user (2) attributes
143 UInt_t fLdcId; // LDC id
144 UInt_t fGdcId; // GDC id
145 UInt_t fTimestamp; // event timestamp
146 UInt_t fTimestampUsec; // event timestamp (microseconds)
147
148END_EVENT_HEADER(3,11)
149
0f4b3a37 150START_EVENT_HEADER(3,12)
151
152 UInt_t fType; // event type
153 UInt_t fRunNb; // run number
154 UInt_t fId[2]; // id field
155 UInt_t fTriggerPattern[2]; // trigger pattern
156 UInt_t fDetectorPattern; // detector pattern
157 UInt_t fTypeAttribute[3]; // system (0,1) and user (2) attributes
158 UInt_t fLdcId; // LDC id
159 UInt_t fGdcId; // GDC id
160 UInt_t fTimestamp; // event timestamp
161 UInt_t fTimestampUsec; // event timestamp (microseconds)
162
163END_EVENT_HEADER(3,12)
164
1a0cb373 165START_EVENT_HEADER(3,13)
166
167 UInt_t fType; // event type
168 UInt_t fRunNb; // run number
169 UInt_t fId[2]; // id field
170 UInt_t fTriggerPattern[2]; // trigger pattern
171 UInt_t fDetectorPattern; // detector pattern
172 UInt_t fTypeAttribute[3]; // system (0,1) and user (2) attributes
173 UInt_t fLdcId; // LDC id
174 UInt_t fGdcId; // GDC id
175 UInt_t fTimestamp; // event timestamp
176 UInt_t fTimestampUsec; // event timestamp (microseconds)
177
178END_EVENT_HEADER(3,13)
179
f2dc6b20 180#endif