ATLAS Offline Software
TgcByteStreamData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONTGC_CNVTOOLS_TGCBYTESTREAMDATA_H
6 #define MUONTGC_CNVTOOLS_TGCBYTESTREAMDATA_H
7 
9 
10 #include <cstring> // This file is needed to use memset.
11 
12 const uint32_t TGC_BYTESTREAM_HEADER = 0xee1234ee;
16 
19 {
20  unsigned rodid: 8;
21  unsigned fill1: 8;
22  unsigned side: 8;
23  unsigned fill2: 8;
24 
25  TGC_BYTESTREAM_SOURCEID() { memset(this, 0, sizeof(*this)); }
26 };
27 
30 {
31  unsigned badBcID: 1;
32  unsigned badL1Id: 1;
33  unsigned timedout: 1;
34  unsigned badData: 1;
35  unsigned overflow: 1;
36  unsigned fill1: 11;
37 
38  TGC_BYTESTREAM_ERRORS() { memset(this, 0, sizeof(*this)); }
39 };
40 
43 {
44  unsigned mergedHitBCs: 1;
45  unsigned mergedTrackletBCs: 1;
46  unsigned sortedHits: 1;
47  unsigned sortedTracklets: 1;
48  unsigned fill1: 10;
49  unsigned hasRoI: 1;
50  unsigned fakeSsw: 1;
51 
52  unsigned fill2: 1;
53  unsigned raw: 1;
54  unsigned hitsRO: 1;
55  unsigned trkRO: 1;
56  unsigned hitsCH: 1;
57  unsigned trkCH: 1;
58  unsigned fill3: 2;
59  unsigned hipt: 1;
60  unsigned sl: 1;
61  unsigned fill4: 6;
62 
63  TGC_BYTESTREAM_LOCALSTATUS() { memset(this, 0, sizeof(*this)); }
64 };
65 
68 {
69  unsigned count: 24;
70  unsigned id: 8;
71 };
72 
75 {
76  unsigned channel: 8;
77  unsigned sbId: 5;
78  unsigned sbType: 3;
79  unsigned adj: 1;
80  unsigned ldbId: 4;
81  unsigned bcBitmap: 3;
82  unsigned tracklet: 6;
83  unsigned fill1: 1;
84  unsigned ok: 1;
85 
86  TGC_BYTESTREAM_READOUTHIT() { memset(this, 0, sizeof(*this)); }
87 };
88 
91 {
92  unsigned rphi: 5;
93  unsigned subm: 2;
94  unsigned seg: 1;
95  signed delta: 4;
96  unsigned sbId: 5;
97  unsigned ldbId: 4;
98  unsigned bcBitmap: 3;
99  unsigned trkType: 3;
100  unsigned fill1: 1;
101  unsigned slbType: 3;
102  unsigned ok: 1;
103 
104  TGC_BYTESTREAM_READOUTTRACKLET() { memset(this, 0, sizeof(*this)); }
105 };
106 
109 {
110  unsigned phi: 4;
111  unsigned subc: 2;
112  unsigned fill1: 1;
113  unsigned seg: 1;
114  unsigned fill2: 4;
115  unsigned sbId: 5;
116  unsigned ldbId: 4;
117  unsigned bcBitmap: 3;
118  unsigned trkType: 3;
119  unsigned fill3: 1;
120  unsigned slbType: 3;
121  unsigned ok: 1;
122 
123  TGC_BYTESTREAM_READOUTTRIPLETSTRIP() { memset(this, 0, sizeof(*this)); }
124 };
125 
128 {
129  signed delta: 5;
130  unsigned sub: 1;
131  unsigned hitId: 3;
132  unsigned hipt: 1;
133  unsigned cand: 1;
134  unsigned chip: 2;
135  unsigned sector: 3;
136  unsigned fwd: 1;
137  unsigned strip: 1;
138  unsigned bcBitmap: 3;
139  unsigned fill1: 11;
140 
141  TGC_BYTESTREAM_HIPT() { memset(this, 0, sizeof(*this)); }
142 };
143 
146 {
147  unsigned inner: 8;
148  unsigned fill1: 1;
149  unsigned hipt: 1;
150  unsigned cand: 1;
151  unsigned chip: 2;
152  unsigned sector: 3;
153  unsigned fwd: 1;
154  unsigned strip: 1;
155  unsigned bcBitmap: 3;
156  unsigned fill2: 11;
157 
158  TGC_BYTESTREAM_HIPT_INNER() { memset(this, 0, sizeof(*this)); }
159 };
160 
163 {
164  unsigned roi: 8;
165  unsigned overlap: 1;
166  unsigned threshold: 3;
167  unsigned fill1: 1;
168  unsigned bcId: 3;
169  unsigned sign: 1;
170  unsigned cand: 1;
171  unsigned sector: 3;
172  unsigned fwd: 1;
173  unsigned bcBitmap: 3;
174  unsigned cand2plus: 1;
175  unsigned veto: 1;
176  unsigned fill2: 5;
177 
178  TGC_BYTESTREAM_SL() { memset(this, 0, sizeof(*this)); }
179 };
180 
181 /**********************/
183 /**********************/
184 
186 {
187  unsigned roi: 8;
188  unsigned pt: 4;
189  unsigned charge: 1;
190  unsigned coinflag: 3;
191  unsigned innerflag: 4;
192  unsigned fill1: 2;
193  unsigned bcBitmap: 2;
194  unsigned sector: 4;
195  unsigned fwd: 1;
196  unsigned type: 3;
197 
198  TGC_BYTESTREAM_NSL_ROI() { memset(this, 0, sizeof(*this)); }
199 };
200 
202 {
203  unsigned eta: 8;
204  unsigned phi: 6;
205  unsigned fill1: 3;
206  unsigned input: 3;
207  unsigned cand: 2;
208  unsigned bcBitmap: 2;
209  unsigned sector: 4;
210  unsigned fwd: 1;
211  unsigned type: 3;
212 
213  TGC_BYTESTREAM_NSW_POS() { memset(this, 0, sizeof(*this)); }
214 };
215 
217 {
218  unsigned angle: 5;
219  unsigned phires: 1;
220  unsigned lowres: 1;
221  unsigned fill1: 2;
222  unsigned nswid: 4;
223  unsigned bcid: 4;
224  unsigned input: 3;
225  unsigned cand: 2;
226  unsigned bcBitmap: 2;
227  unsigned sector: 4;
228  unsigned fwd: 1;
229  unsigned type: 3;
230 
231  TGC_BYTESTREAM_NSW_ANG() { memset(this, 0, sizeof(*this)); }
232 };
233 
235 {
236  unsigned eta: 6;
237  unsigned phi: 6;
238  unsigned fill1: 8;
239  unsigned cand: 2;
240  unsigned bcBitmap: 2;
241  unsigned sector: 4;
242  unsigned fwd: 1;
243  unsigned type: 3;
244 
245  TGC_BYTESTREAM_RPCBIS78_POS() { memset(this, 0, sizeof(*this)); }
246 };
248 {
249  unsigned fill1: 4;
250  unsigned deta: 3;
251  unsigned dphi: 3;
252  unsigned flag: 2;
253  unsigned fill2: 1;
254  unsigned bcid: 4;
255  unsigned fill3: 3;
256  unsigned cand: 2;
257  unsigned bcBitmap: 2;
258  unsigned sector: 4;
259  unsigned fwd: 1;
260  unsigned type: 3;
261 
262  TGC_BYTESTREAM_RPCBIS78_COIN() { memset(this, 0, sizeof(*this)); }
263 };
264 
266 {
267  unsigned ei: 8;
268  unsigned fi: 8;
269  unsigned chamberid: 3;
270  unsigned fill1: 3;
271  unsigned bcBitmap: 2;
272  unsigned sector: 4;
273  unsigned fwd: 1;
274  unsigned type: 3;
275 
276  TGC_BYTESTREAM_NSL_EIFI() { memset(this, 0, sizeof(*this)); }
277 };
278 
280 {
281  signed delta: 5;
282  unsigned sub: 1;
283  unsigned hitId: 3;
284  unsigned hipt: 1;
285  unsigned cand: 1;
286  unsigned chip: 2;
287  unsigned strip: 1;
288  unsigned fill1: 8;
289  unsigned bcBitmap: 2;
290  unsigned sector: 4;
291  unsigned fwd: 1;
292  unsigned type: 3;
293 
294  TGC_BYTESTREAM_NSL_HIPT() { memset(this, 0, sizeof(*this)); }
295 };
296 
298 {
299  unsigned module: 12;
300  unsigned bcid: 4;
301  unsigned fill1: 6;
302  unsigned bcBitmap: 2;
303  unsigned sector: 4;
304  unsigned fwd: 1;
305  unsigned type: 3;
306 
307  TGC_BYTESTREAM_NSL_TMDB() { memset(this, 0, sizeof(*this)); }
308 };
309 
310 /*****************************/
312 /*****************************/
313 
314 
315 template <typename DEST, typename SRC> DEST* my_pointer_cast(SRC* src) {
316  void* ptr = src;
317  return reinterpret_cast<DEST*>(ptr);
318 }
319 template <class T> inline uint32_t toBS32(T& data) { return *(my_pointer_cast<uint32_t>(&data)); }
320 template <class T> inline uint16_t toBS16(T& data) { return *(my_pointer_cast<uint16_t>(&data)); }
321 template <class T> inline void fromBS32(uint32_t data, T& s) { s = *(my_pointer_cast<T>(&data)); }
322 template <class T> inline void fromBS16(uint16_t data, T& s) { s = *(my_pointer_cast<T>(&data)); }
323 inline uint8_t low8(uint32_t data) { return (uint8_t)(data & 0x000000ff); }
324 inline uint16_t low16(uint32_t data) { return (uint16_t)(data & 0x0000ffff); }
325 inline uint16_t high16(uint32_t data) { return (uint16_t)(data >> 16); }
326 inline uint16_t bcId(uint32_t data) { return data & 0xfff; }
327 
328 inline int fragmentCount(uint32_t data, int id)
329 {
332  if(counter.id != (unsigned int)id)
333  {
334  REPORT_MESSAGE_WITH_CONTEXT(MSG::ERROR, "TgcByteStreamData")
335  << "Requested count of frament " << id << ", data is for fragment " << counter.id << endmsg;
336  return 0;
337  }
338  return counter.count;
339 }
340 
342 {
343  return (uint32_t)((high16 << 16) | low16);
344 }
345 
346 inline uint32_t from8(uint8_t high8, uint8_t highmid8, uint8_t lowmid8, uint8_t low8)
347 {
348  return (uint32_t)((high8 << 24) | (highmid8 << 16) | (lowmid8 << 8) | low8);
349 }
350 
351 inline unsigned bcBitmap(uint16_t bcTag)
352 {
353  return (bcTag == 1 ? 4 :
354  ((bcTag == 0 || bcTag == 2) ? 2 :
355  (bcTag == 3 ? 1 :
356  0)));
357 }
358 
359 inline unsigned bcTag(unsigned bcBitMap)
360 {
361  return (bcBitMap == 4 ? 1 :
362  (bcBitMap == 2 ? 2 :
363  (bcBitMap == 1 ? 3 :
364  0)));
365 }
366 
367 #endif // MUONTGC_CNVTOOLS_TGCBYTESTREAMDATA_H
TGC_BYTESTREAM_NSW_POS::fill1
unsigned fill1
Definition: TgcByteStreamData.h:205
TGC_BYTESTREAM_SOURCEID::rodid
unsigned rodid
Definition: TgcByteStreamData.h:20
TGC_BYTESTREAM_NSL_HIPT::fwd
unsigned fwd
Definition: TgcByteStreamData.h:291
TGC_BYTESTREAM_READOUTTRIPLETSTRIP::TGC_BYTESTREAM_READOUTTRIPLETSTRIP
TGC_BYTESTREAM_READOUTTRIPLETSTRIP()
Definition: TgcByteStreamData.h:123
TGC_BYTESTREAM_NSW_ANG
Definition: TgcByteStreamData.h:217
TGC_BYTESTREAM_NSL_EIFI::TGC_BYTESTREAM_NSL_EIFI
TGC_BYTESTREAM_NSL_EIFI()
Definition: TgcByteStreamData.h:276
TGC_BYTESTREAM_RPCBIS78_COIN::TGC_BYTESTREAM_RPCBIS78_COIN
TGC_BYTESTREAM_RPCBIS78_COIN()
Definition: TgcByteStreamData.h:262
TGC_BYTESTREAM_NSL_HIPT::chip
unsigned chip
Definition: TgcByteStreamData.h:286
TGC_BYTESTREAM_READOUTTRIPLETSTRIP::fill1
unsigned fill1
Definition: TgcByteStreamData.h:112
TGC_BYTESTREAM_RPCBIS78_COIN::flag
unsigned flag
Definition: TgcByteStreamData.h:252
TGC_BYTESTREAM_READOUTTRIPLETSTRIP::ok
unsigned ok
Definition: TgcByteStreamData.h:121
TGC_BYTESTREAM_RPCBIS78_POS::fwd
unsigned fwd
Definition: TgcByteStreamData.h:242
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
TGC_BYTESTREAM_NSW_POS::fwd
unsigned fwd
Definition: TgcByteStreamData.h:210
TGC_BYTESTREAM_SOURCEID::fill2
unsigned fill2
Definition: TgcByteStreamData.h:23
TGC_BYTESTREAM_HIPT::hitId
unsigned hitId
Definition: TgcByteStreamData.h:131
TGC_BYTESTREAM_NSL_TMDB
Definition: TgcByteStreamData.h:298
TGC_BYTESTREAM_HIPT_INNER::fwd
unsigned fwd
Definition: TgcByteStreamData.h:153
TGC_BYTESTREAM_HIPT_INNER::sector
unsigned sector
Definition: TgcByteStreamData.h:152
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
TGC_BYTESTREAM_READOUTTRACKLET::seg
unsigned seg
Definition: TgcByteStreamData.h:94
TGC_BYTESTREAM_NSL_TMDB::bcid
unsigned bcid
Definition: TgcByteStreamData.h:300
TGC_BYTESTREAM_NSL_EIFI::fill1
unsigned fill1
Definition: TgcByteStreamData.h:270
TGC_BYTESTREAM_SL::cand2plus
unsigned cand2plus
Definition: TgcByteStreamData.h:174
TGC_BYTESTREAM_NSL_HIPT::strip
unsigned strip
Definition: TgcByteStreamData.h:287
TGC_BYTESTREAM_LOCALSTATUS::fill2
unsigned fill2
Definition: TgcByteStreamData.h:52
TGC_BYTESTREAM_LOCALSTATUS::hitsCH
unsigned hitsCH
Definition: TgcByteStreamData.h:56
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:557
TGC_BYTESTREAM_NSW_ANG::nswid
unsigned nswid
Definition: TgcByteStreamData.h:222
TGC_BYTESTREAM_READOUTHIT::sbId
unsigned sbId
Definition: TgcByteStreamData.h:77
TGC_BYTESTREAM_NSL_HIPT::bcBitmap
unsigned bcBitmap
Definition: TgcByteStreamData.h:289
TGC_BYTESTREAM_NSL_TMDB::type
unsigned type
Definition: TgcByteStreamData.h:305
TGC_BYTESTREAM_READOUTTRIPLETSTRIP::slbType
unsigned slbType
Definition: TgcByteStreamData.h:120
TGC_BYTESTREAM_SOURCEID::fill1
unsigned fill1
Definition: TgcByteStreamData.h:21
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
WriteCellNoiseToCool.src
src
Definition: WriteCellNoiseToCool.py:513
TGC_BYTESTREAM_STATUSSIZE
const uint32_t TGC_BYTESTREAM_STATUSSIZE
Definition: TgcByteStreamData.h:15
TGC_BYTESTREAM_ERRORS
The struct for errors in ByteStream.
Definition: TgcByteStreamData.h:30
TGC_BYTESTREAM_NSW_ANG::lowres
unsigned lowres
Definition: TgcByteStreamData.h:220
from8
uint32_t from8(uint8_t high8, uint8_t highmid8, uint8_t lowmid8, uint8_t low8)
Definition: TgcByteStreamData.h:346
TGC_BYTESTREAM_HIPT_INNER::fill1
unsigned fill1
Definition: TgcByteStreamData.h:148
TGC_BYTESTREAM_HIPT_INNER::bcBitmap
unsigned bcBitmap
Definition: TgcByteStreamData.h:155
TGC_BYTESTREAM_NSW_ANG::cand
unsigned cand
Definition: TgcByteStreamData.h:225
TGC_BYTESTREAM_READOUTTRACKLET::sbId
unsigned sbId
Definition: TgcByteStreamData.h:96
TGC_BYTESTREAM_LOCALSTATUS::raw
unsigned raw
Definition: TgcByteStreamData.h:53
TGC_BYTESTREAM_NSL_HIPT::TGC_BYTESTREAM_NSL_HIPT
TGC_BYTESTREAM_NSL_HIPT()
Definition: TgcByteStreamData.h:294
TGC_BYTESTREAM_ERRORS::badBcID
unsigned badBcID
Definition: TgcByteStreamData.h:31
TGC_BYTESTREAM_READOUTTRACKLET::fill1
unsigned fill1
Definition: TgcByteStreamData.h:100
TGC_BYTESTREAM_RPCBIS78_COIN::fwd
unsigned fwd
Definition: TgcByteStreamData.h:259
TGC_BYTESTREAM_NSL_EIFI::fi
unsigned fi
Definition: TgcByteStreamData.h:268
TGC_BYTESTREAM_NSL_ROI::coinflag
unsigned coinflag
Definition: TgcByteStreamData.h:190
TGC_BYTESTREAM_RPCBIS78_COIN::fill1
unsigned fill1
Definition: TgcByteStreamData.h:249
TGC_BYTESTREAM_RPCBIS78_COIN
Definition: TgcByteStreamData.h:248
TGC_BYTESTREAM_NSL_EIFI::type
unsigned type
Definition: TgcByteStreamData.h:274
TGC_BYTESTREAM_READOUTTRIPLETSTRIP::fill2
unsigned fill2
Definition: TgcByteStreamData.h:114
TGC_BYTESTREAM_READOUTHIT::ldbId
unsigned ldbId
Definition: TgcByteStreamData.h:80
high16
uint16_t high16(uint32_t data)
Definition: TgcByteStreamData.h:325
TGC_BYTESTREAM_HIPT::sector
unsigned sector
Definition: TgcByteStreamData.h:135
TGC_BYTESTREAM_NSL_EIFI::fwd
unsigned fwd
Definition: TgcByteStreamData.h:273
TGC_BYTESTREAM_READOUTHIT::fill1
unsigned fill1
Definition: TgcByteStreamData.h:83
TGC_BYTESTREAM_NSL_TMDB::TGC_BYTESTREAM_NSL_TMDB
TGC_BYTESTREAM_NSL_TMDB()
Definition: TgcByteStreamData.h:307
TGC_BYTESTREAM_READOUTTRACKLET::delta
signed delta
Definition: TgcByteStreamData.h:95
TGC_BYTESTREAM_SL::overlap
unsigned overlap
Definition: TgcByteStreamData.h:165
TGC_BYTESTREAM_NSW_POS::bcBitmap
unsigned bcBitmap
Definition: TgcByteStreamData.h:208
TGC_BYTESTREAM_READOUTHIT::adj
unsigned adj
Definition: TgcByteStreamData.h:79
TGC_BYTESTREAM_READOUTTRACKLET::slbType
unsigned slbType
Definition: TgcByteStreamData.h:101
TGC_BYTESTREAM_ERRORS::badL1Id
unsigned badL1Id
Definition: TgcByteStreamData.h:32
TGC_BYTESTREAM_LOCALSTATUS::sortedTracklets
unsigned sortedTracklets
Definition: TgcByteStreamData.h:47
TGC_BYTESTREAM_READOUTTRIPLETSTRIP::bcBitmap
unsigned bcBitmap
Definition: TgcByteStreamData.h:117
TGC_BYTESTREAM_RPCBIS78_POS::bcBitmap
unsigned bcBitmap
Definition: TgcByteStreamData.h:240
TGC_BYTESTREAM_NSL_ROI::innerflag
unsigned innerflag
Definition: TgcByteStreamData.h:191
dbg::ptr
void * ptr(T *p)
Definition: SGImplSvc.cxx:74
TGC_BYTESTREAM_HIPT::cand
unsigned cand
Definition: TgcByteStreamData.h:133
toBS16
uint16_t toBS16(T &data)
Definition: TgcByteStreamData.h:320
TGC_BYTESTREAM_HEADERSIZE
const uint32_t TGC_BYTESTREAM_HEADERSIZE
Definition: TgcByteStreamData.h:13
TGC_BYTESTREAM_SL::threshold
unsigned threshold
Definition: TgcByteStreamData.h:166
TGC_BYTESTREAM_RPCBIS78_COIN::bcBitmap
unsigned bcBitmap
Definition: TgcByteStreamData.h:257
TGC_BYTESTREAM_ERRORS::overflow
unsigned overflow
Definition: TgcByteStreamData.h:35
TGC_BYTESTREAM_NSW_ANG::fill1
unsigned fill1
Definition: TgcByteStreamData.h:221
TGC_BYTESTREAM_SOURCEID::TGC_BYTESTREAM_SOURCEID
TGC_BYTESTREAM_SOURCEID()
Definition: TgcByteStreamData.h:25
TGC_BYTESTREAM_LOCALSTATUS::hasRoI
unsigned hasRoI
Definition: TgcByteStreamData.h:49
TGC_BYTESTREAM_RPCBIS78_POS::phi
unsigned phi
Definition: TgcByteStreamData.h:237
TGC_BYTESTREAM_NSL_ROI::roi
unsigned roi
Definition: TgcByteStreamData.h:187
TGC_BYTESTREAM_NSW_ANG::sector
unsigned sector
Definition: TgcByteStreamData.h:227
TGC_BYTESTREAM_LOCALSTATUS::mergedTrackletBCs
unsigned mergedTrackletBCs
Definition: TgcByteStreamData.h:45
TGC_BYTESTREAM_NSL_HIPT::cand
unsigned cand
Definition: TgcByteStreamData.h:285
TGC_BYTESTREAM_HIPT_INNER::TGC_BYTESTREAM_HIPT_INNER
TGC_BYTESTREAM_HIPT_INNER()
Definition: TgcByteStreamData.h:158
TGC_BYTESTREAM_NSW_POS::phi
unsigned phi
Definition: TgcByteStreamData.h:204
TGC_BYTESTREAM_NSL_HIPT::sub
unsigned sub
Definition: TgcByteStreamData.h:282
TGC_BYTESTREAM_HIPT::hipt
unsigned hipt
Definition: TgcByteStreamData.h:132
fragmentCount
int fragmentCount(uint32_t data, int id)
Definition: TgcByteStreamData.h:328
TGC_BYTESTREAM_HIPT::bcBitmap
unsigned bcBitmap
Definition: TgcByteStreamData.h:138
my_pointer_cast
DEST * my_pointer_cast(SRC *src)
end of structs for NewSL
Definition: TgcByteStreamData.h:315
TGC_BYTESTREAM_NSL_ROI::fwd
unsigned fwd
Definition: TgcByteStreamData.h:195
TGC_BYTESTREAM_READOUTTRIPLETSTRIP
The struct for triplet strip in ByteStream.
Definition: TgcByteStreamData.h:109
TGC_BYTESTREAM_NSL_TMDB::sector
unsigned sector
Definition: TgcByteStreamData.h:303
low8
uint8_t low8(uint32_t data)
Definition: TgcByteStreamData.h:323
TGC_BYTESTREAM_HIPT::sub
unsigned sub
Definition: TgcByteStreamData.h:130
TGC_BYTESTREAM_ERRORS::TGC_BYTESTREAM_ERRORS
TGC_BYTESTREAM_ERRORS()
Definition: TgcByteStreamData.h:38
TGC_BYTESTREAM_NSW_POS::sector
unsigned sector
Definition: TgcByteStreamData.h:209
TGC_BYTESTREAM_READOUTTRACKLET
The struct for tracklet in ByteStream.
Definition: TgcByteStreamData.h:91
TGC_BYTESTREAM_READOUTTRIPLETSTRIP::sbId
unsigned sbId
Definition: TgcByteStreamData.h:115
TGC_BYTESTREAM_NSW_POS
Definition: TgcByteStreamData.h:202
TGC_BYTESTREAM_NSL_ROI::TGC_BYTESTREAM_NSL_ROI
TGC_BYTESTREAM_NSL_ROI()
Definition: TgcByteStreamData.h:198
TGC_BYTESTREAM_LOCALSTATUS::sl
unsigned sl
Definition: TgcByteStreamData.h:60
TGC_BYTESTREAM_HIPT
The struct for HiPt in ByteStream.
Definition: TgcByteStreamData.h:128
TGC_BYTESTREAM_NSW_ANG::bcid
unsigned bcid
Definition: TgcByteStreamData.h:223
TGC_BYTESTREAM_RPCBIS78_POS::type
unsigned type
Definition: TgcByteStreamData.h:243
TGC_BYTESTREAM_SOURCEID
The struct for source ID in ByteStream.
Definition: TgcByteStreamData.h:19
TGC_BYTESTREAM_NSL_HIPT
Definition: TgcByteStreamData.h:280
TGC_BYTESTREAM_READOUTTRIPLETSTRIP::fill3
unsigned fill3
Definition: TgcByteStreamData.h:119
TGC_BYTESTREAM_LOCALSTATUS::fill3
unsigned fill3
Definition: TgcByteStreamData.h:58
TGC_BYTESTREAM_RPCBIS78_POS::TGC_BYTESTREAM_RPCBIS78_POS
TGC_BYTESTREAM_RPCBIS78_POS()
Definition: TgcByteStreamData.h:245
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
TGC_BYTESTREAM_HIPT::chip
unsigned chip
Definition: TgcByteStreamData.h:134
TGC_BYTESTREAM_LOCALSTATUS::mergedHitBCs
unsigned mergedHitBCs
Definition: TgcByteStreamData.h:44
TGC_BYTESTREAM_NSL_HIPT::sector
unsigned sector
Definition: TgcByteStreamData.h:290
TGC_BYTESTREAM_RPCBIS78_COIN::sector
unsigned sector
Definition: TgcByteStreamData.h:258
TGC_BYTESTREAM_NSL_EIFI::sector
unsigned sector
Definition: TgcByteStreamData.h:272
TGC_BYTESTREAM_NSL_EIFI::ei
unsigned ei
Definition: TgcByteStreamData.h:267
TGC_BYTESTREAM_LOCALSTATUS::fill4
unsigned fill4
Definition: TgcByteStreamData.h:61
TGC_BYTESTREAM_READOUTTRIPLETSTRIP::seg
unsigned seg
Definition: TgcByteStreamData.h:113
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
TGC_BYTESTREAM_HIPT_INNER::cand
unsigned cand
Definition: TgcByteStreamData.h:150
TGC_BYTESTREAM_LOCALSTATUS::TGC_BYTESTREAM_LOCALSTATUS
TGC_BYTESTREAM_LOCALSTATUS()
Definition: TgcByteStreamData.h:63
TGC_BYTESTREAM_HIPT_INNER::hipt
unsigned hipt
Definition: TgcByteStreamData.h:149
TGC_BYTESTREAM_RPCBIS78_COIN::dphi
unsigned dphi
Definition: TgcByteStreamData.h:251
fromBS32
void fromBS32(uint32_t data, T &s)
Definition: TgcByteStreamData.h:321
TGC_BYTESTREAM_NSL_HIPT::delta
signed delta
Definition: TgcByteStreamData.h:281
TGC_BYTESTREAM_HIPT_INNER::strip
unsigned strip
Definition: TgcByteStreamData.h:154
TGC_BYTESTREAM_HIPT_INNER::chip
unsigned chip
Definition: TgcByteStreamData.h:151
TGC_BYTESTREAM_READOUTTRIPLETSTRIP::ldbId
unsigned ldbId
Definition: TgcByteStreamData.h:116
TGC_BYTESTREAM_NSW_ANG::fwd
unsigned fwd
Definition: TgcByteStreamData.h:228
TGC_BYTESTREAM_SL::fill1
unsigned fill1
Definition: TgcByteStreamData.h:167
TGC_BYTESTREAM_READOUTHIT
The struct for hit in ByteStream.
Definition: TgcByteStreamData.h:75
TGC_BYTESTREAM_HIPT_INNER::fill2
unsigned fill2
Definition: TgcByteStreamData.h:156
TGC_BYTESTREAM_READOUTHIT::tracklet
unsigned tracklet
Definition: TgcByteStreamData.h:82
TGC_BYTESTREAM_RPCBIS78_POS::cand
unsigned cand
Definition: TgcByteStreamData.h:239
TGC_BYTESTREAM_SL::sign
unsigned sign
Definition: TgcByteStreamData.h:169
TGC_BYTESTREAM_READOUTTRIPLETSTRIP::phi
unsigned phi
Definition: TgcByteStreamData.h:110
TGC_BYTESTREAM_SL::veto
unsigned veto
Definition: TgcByteStreamData.h:175
from16
uint32_t from16(uint16_t high16, uint16_t low16)
Definition: TgcByteStreamData.h:341
TGC_BYTESTREAM_NSL_TMDB::bcBitmap
unsigned bcBitmap
Definition: TgcByteStreamData.h:302
TGC_BYTESTREAM_HIPT::fill1
unsigned fill1
Definition: TgcByteStreamData.h:139
TGC_BYTESTREAM_HIPT_INNER
The struct for Inner trigger bits in ByteStream.
Definition: TgcByteStreamData.h:146
TGC_BYTESTREAM_RPCBIS78_POS::fill1
unsigned fill1
Definition: TgcByteStreamData.h:238
TGC_BYTESTREAM_READOUTTRACKLET::TGC_BYTESTREAM_READOUTTRACKLET
TGC_BYTESTREAM_READOUTTRACKLET()
Definition: TgcByteStreamData.h:104
TGC_BYTESTREAM_SL::fwd
unsigned fwd
Definition: TgcByteStreamData.h:172
TGC_BYTESTREAM_NSL_TMDB::fwd
unsigned fwd
Definition: TgcByteStreamData.h:304
TGC_BYTESTREAM_SL::bcBitmap
unsigned bcBitmap
Definition: TgcByteStreamData.h:173
TGC_BYTESTREAM_LOCALSTATUS::sortedHits
unsigned sortedHits
Definition: TgcByteStreamData.h:46
TGC_BYTESTREAM_READOUTHIT::bcBitmap
unsigned bcBitmap
Definition: TgcByteStreamData.h:81
TGC_BYTESTREAM_NSL_EIFI::chamberid
unsigned chamberid
Definition: TgcByteStreamData.h:269
TGC_BYTESTREAM_SL::sector
unsigned sector
Definition: TgcByteStreamData.h:171
TGC_BYTESTREAM_FRAGMENTCOUNT::count
unsigned count
Definition: TgcByteStreamData.h:69
TGC_BYTESTREAM_NSL_ROI::charge
unsigned charge
Definition: TgcByteStreamData.h:189
TGC_BYTESTREAM_READOUTHIT::sbType
unsigned sbType
Definition: TgcByteStreamData.h:78
TGC_BYTESTREAM_NSW_ANG::type
unsigned type
Definition: TgcByteStreamData.h:229
bcBitmap
unsigned bcBitmap(uint16_t bcTag)
Definition: TgcByteStreamData.h:351
TGC_BYTESTREAM_SL::TGC_BYTESTREAM_SL
TGC_BYTESTREAM_SL()
Definition: TgcByteStreamData.h:178
TGC_BYTESTREAM_NSL_EIFI
Definition: TgcByteStreamData.h:266
TGC_BYTESTREAM_READOUTTRACKLET::ldbId
unsigned ldbId
Definition: TgcByteStreamData.h:97
TGC_BYTESTREAM_HIPT::strip
unsigned strip
Definition: TgcByteStreamData.h:137
TGC_BYTESTREAM_NSW_POS::eta
unsigned eta
Definition: TgcByteStreamData.h:203
TGC_BYTESTREAM_LOCALSTATUS::fill1
unsigned fill1
Definition: TgcByteStreamData.h:48
TGC_BYTESTREAM_READOUTTRACKLET::subm
unsigned subm
Definition: TgcByteStreamData.h:93
REPORT_MESSAGE_WITH_CONTEXT
#define REPORT_MESSAGE_WITH_CONTEXT(LVL, CONTEXT_NAME)
Report a message, with an explicitly specified context name.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:345
TGC_BYTESTREAM_SL::cand
unsigned cand
Definition: TgcByteStreamData.h:170
TGC_BYTESTREAM_NSL_HIPT::hitId
unsigned hitId
Definition: TgcByteStreamData.h:283
TGC_BYTESTREAM_FRAGMENTCOUNT::id
unsigned id
Definition: TgcByteStreamData.h:70
TGC_BYTESTREAM_READOUTTRACKLET::rphi
unsigned rphi
Definition: TgcByteStreamData.h:92
bcId
uint16_t bcId(uint32_t data)
Definition: TgcByteStreamData.h:326
TGC_BYTESTREAM_NSW_ANG::bcBitmap
unsigned bcBitmap
Definition: TgcByteStreamData.h:226
TGC_BYTESTREAM_RPCBIS78_POS
Definition: TgcByteStreamData.h:235
TGC_BYTESTREAM_NSL_HIPT::type
unsigned type
Definition: TgcByteStreamData.h:292
TGC_BYTESTREAM_NSL_HIPT::hipt
unsigned hipt
Definition: TgcByteStreamData.h:284
TGC_BYTESTREAM_NSL_EIFI::bcBitmap
unsigned bcBitmap
Definition: TgcByteStreamData.h:271
fromBS16
void fromBS16(uint16_t data, T &s)
Definition: TgcByteStreamData.h:322
TGC_BYTESTREAM_SL::bcId
unsigned bcId
Definition: TgcByteStreamData.h:168
errorcheck.h
Helpers for checking error return status codes and reporting errors.
TGC_BYTESTREAM_RPCBIS78_POS::eta
unsigned eta
Definition: TgcByteStreamData.h:236
TGC_BYTESTREAM_HIPT::delta
signed delta
Definition: TgcByteStreamData.h:129
TGC_BYTESTREAM_ERRORS::timedout
unsigned timedout
Definition: TgcByteStreamData.h:33
TGC_BYTESTREAM_HIPT::TGC_BYTESTREAM_HIPT
TGC_BYTESTREAM_HIPT()
Definition: TgcByteStreamData.h:141
TGC_BYTESTREAM_LOCALSTATUS
The struct for local status in ByteStream.
Definition: TgcByteStreamData.h:43
TGC_BYTESTREAM_RPCBIS78_COIN::deta
unsigned deta
Definition: TgcByteStreamData.h:250
TGC_BYTESTREAM_READOUTHIT::ok
unsigned ok
Definition: TgcByteStreamData.h:84
TGC_BYTESTREAM_NSL_TMDB::fill1
unsigned fill1
Definition: TgcByteStreamData.h:301
TGC_BYTESTREAM_NSL_ROI::fill1
unsigned fill1
Definition: TgcByteStreamData.h:192
TGC_BYTESTREAM_SL::fill2
unsigned fill2
Definition: TgcByteStreamData.h:176
TGC_BYTESTREAM_NSL_TMDB::module
unsigned module
Definition: TgcByteStreamData.h:299
TGC_BYTESTREAM_RPCBIS78_COIN::fill2
unsigned fill2
Definition: TgcByteStreamData.h:253
TGC_BYTESTREAM_ERRORS::fill1
unsigned fill1
Definition: TgcByteStreamData.h:36
TGC_BYTESTREAM_NSW_POS::TGC_BYTESTREAM_NSW_POS
TGC_BYTESTREAM_NSW_POS()
Definition: TgcByteStreamData.h:213
low16
uint16_t low16(uint32_t data)
Definition: TgcByteStreamData.h:324
TGC_BYTESTREAM_READOUTTRIPLETSTRIP::subc
unsigned subc
Definition: TgcByteStreamData.h:111
TGC_BYTESTREAM_RPCBIS78_COIN::type
unsigned type
Definition: TgcByteStreamData.h:260
TGC_BYTESTREAM_READOUTTRIPLETSTRIP::trkType
unsigned trkType
Definition: TgcByteStreamData.h:118
TGC_BYTESTREAM_SL
The struct for SL in ByteStream.
Definition: TgcByteStreamData.h:163
TGC_BYTESTREAM_READOUTTRACKLET::trkType
unsigned trkType
Definition: TgcByteStreamData.h:99
TGC_BYTESTREAM_NSW_ANG::input
unsigned input
Definition: TgcByteStreamData.h:224
TGC_BYTESTREAM_HEADERVERSION
const uint32_t TGC_BYTESTREAM_HEADERVERSION
Definition: TgcByteStreamData.h:14
bcTag
unsigned bcTag(unsigned bcBitMap)
Definition: TgcByteStreamData.h:359
TGC_BYTESTREAM_READOUTHIT::channel
unsigned channel
Definition: TgcByteStreamData.h:76
TGC_BYTESTREAM_SOURCEID::side
unsigned side
Definition: TgcByteStreamData.h:22
TGC_BYTESTREAM_HIPT::fwd
unsigned fwd
Definition: TgcByteStreamData.h:136
TGC_BYTESTREAM_LOCALSTATUS::trkCH
unsigned trkCH
Definition: TgcByteStreamData.h:57
TGC_BYTESTREAM_NSW_POS::type
unsigned type
Definition: TgcByteStreamData.h:211
TGC_BYTESTREAM_NSW_ANG::TGC_BYTESTREAM_NSW_ANG
TGC_BYTESTREAM_NSW_ANG()
Definition: TgcByteStreamData.h:231
TGC_BYTESTREAM_NSL_ROI::sector
unsigned sector
Definition: TgcByteStreamData.h:194
TGC_BYTESTREAM_NSL_ROI::pt
unsigned pt
Definition: TgcByteStreamData.h:188
TGC_BYTESTREAM_HEADER
const uint32_t TGC_BYTESTREAM_HEADER
Definition: TgcByteStreamData.h:12
TGC_BYTESTREAM_NSW_ANG::phires
unsigned phires
Definition: TgcByteStreamData.h:219
TGC_BYTESTREAM_LOCALSTATUS::hitsRO
unsigned hitsRO
Definition: TgcByteStreamData.h:54
TGC_BYTESTREAM_NSL_ROI::type
unsigned type
Definition: TgcByteStreamData.h:196
python.panic.DEST
string DEST
Definition: panic.py:3
TGC_BYTESTREAM_NSW_POS::input
unsigned input
Definition: TgcByteStreamData.h:206
test_pyathena.counter
counter
Definition: test_pyathena.py:15
toBS32
uint32_t toBS32(T &data)
Definition: TgcByteStreamData.h:319
TGC_BYTESTREAM_RPCBIS78_COIN::cand
unsigned cand
Definition: TgcByteStreamData.h:256
TGC_BYTESTREAM_FRAGMENTCOUNT
The struct for fragment count in ByteStream.
Definition: TgcByteStreamData.h:68
TGC_BYTESTREAM_NSL_ROI
structs for NewSL
Definition: TgcByteStreamData.h:186
TGC_BYTESTREAM_LOCALSTATUS::hipt
unsigned hipt
Definition: TgcByteStreamData.h:59
TGC_BYTESTREAM_RPCBIS78_COIN::bcid
unsigned bcid
Definition: TgcByteStreamData.h:254
TGC_BYTESTREAM_LOCALSTATUS::trkRO
unsigned trkRO
Definition: TgcByteStreamData.h:55
TGC_BYTESTREAM_SL::roi
unsigned roi
Definition: TgcByteStreamData.h:164
TGC_BYTESTREAM_HIPT_INNER::inner
unsigned inner
Definition: TgcByteStreamData.h:147
TGC_BYTESTREAM_READOUTTRACKLET::ok
unsigned ok
Definition: TgcByteStreamData.h:102
TGC_BYTESTREAM_LOCALSTATUS::fakeSsw
unsigned fakeSsw
Definition: TgcByteStreamData.h:50
TGC_BYTESTREAM_NSL_ROI::bcBitmap
unsigned bcBitmap
Definition: TgcByteStreamData.h:193
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35
TGC_BYTESTREAM_RPCBIS78_POS::sector
unsigned sector
Definition: TgcByteStreamData.h:241
TGC_BYTESTREAM_RPCBIS78_COIN::fill3
unsigned fill3
Definition: TgcByteStreamData.h:255
TGC_BYTESTREAM_READOUTTRACKLET::bcBitmap
unsigned bcBitmap
Definition: TgcByteStreamData.h:98
TGC_BYTESTREAM_NSW_POS::cand
unsigned cand
Definition: TgcByteStreamData.h:207
TGC_BYTESTREAM_NSL_HIPT::fill1
unsigned fill1
Definition: TgcByteStreamData.h:288
TGC_BYTESTREAM_READOUTHIT::TGC_BYTESTREAM_READOUTHIT
TGC_BYTESTREAM_READOUTHIT()
Definition: TgcByteStreamData.h:86
TGC_BYTESTREAM_NSW_ANG::angle
unsigned angle
Definition: TgcByteStreamData.h:218
TGC_BYTESTREAM_ERRORS::badData
unsigned badData
Definition: TgcByteStreamData.h:34