ATLAS Offline Software
Macros
TileRawChannel2Bytes5.cxx File Reference
#include "TileByteStream/TileRawChannel2Bytes5.h"
#include "TileEvent/TileRawChannel.h"
#include <algorithm>
#include <cmath>
Include dependency graph for TileRawChannel2Bytes5.cxx:

Go to the source code of this file.

Macros

#define UINT32   uint32_t
 
#define UINT16   uint16_t
 
#define INT32   int32_t
 
#define INT16   int16_t
 
#define verb   false
 
#define code_ped4   TileRawChannel2Bytes5::code_ped4
 
#define code_ped5   TileRawChannel2Bytes5::code_ped5
 
#define code_amp5   TileRawChannel2Bytes5::code_amp5
 
#define code_amp6   TileRawChannel2Bytes5::code_amp6
 
#define code_raws   TileRawChannel2Bytes5::code_raws
 
#define code_rawf   TileRawChannel2Bytes5::code_rawf
 
#define code_full   TileRawChannel2Bytes5::code_full
 
#define code_dump   TileRawChannel2Bytes5::code_dump
 
#define code_null   TileRawChannel2Bytes5::code_null
 
#define sbits(u, n)   (32 - 1 - (n) < _norm(u))
 Intrinsic functions which do not work correctly due to differences in byte ordering. More...
 
#define mvbits(u, n, i)   _extu(u, 32 - (n), 32 - (n + i))
 
#define mvbits_ex(u, n, i, i0)   mvbits(mvbits(u, n + i0, -(i0)), n, i)
 
#define nonsat_ene(ene)   ((0 < ene) && (ene < 0x7FFF))
 
#define _round(u, k)   (_ext(u + _sshl(0x1, k - 1), 0, k))
 
#define ssatbits(u, n)   _ext(_sshl(u, 32 - (n)), 0, 32 - (n))
 
#define saturate(u, n)   _ext(_sshl(u + _abs(u), 30 - (n)), 0, 31 - (n))
 
#define unpack_diff(diff, nbits, d2, d3, d5, d6, d7)
 
#define fill_samp(s1, s2, s3, s4, s5, s6, s7, s)
 

Macro Definition Documentation

◆ _round

#define _round (   u,
 
)    (_ext(u + _sshl(0x1, k - 1), 0, k))

Definition at line 206 of file TileRawChannel2Bytes5.cxx.

◆ code_amp5

#define code_amp5   TileRawChannel2Bytes5::code_amp5

Definition at line 20 of file TileRawChannel2Bytes5.cxx.

◆ code_amp6

#define code_amp6   TileRawChannel2Bytes5::code_amp6

Definition at line 21 of file TileRawChannel2Bytes5.cxx.

◆ code_dump

#define code_dump   TileRawChannel2Bytes5::code_dump

Definition at line 25 of file TileRawChannel2Bytes5.cxx.

◆ code_full

#define code_full   TileRawChannel2Bytes5::code_full

Definition at line 24 of file TileRawChannel2Bytes5.cxx.

◆ code_null

#define code_null   TileRawChannel2Bytes5::code_null

Definition at line 26 of file TileRawChannel2Bytes5.cxx.

◆ code_ped4

#define code_ped4   TileRawChannel2Bytes5::code_ped4

Definition at line 18 of file TileRawChannel2Bytes5.cxx.

◆ code_ped5

#define code_ped5   TileRawChannel2Bytes5::code_ped5

Definition at line 19 of file TileRawChannel2Bytes5.cxx.

◆ code_rawf

#define code_rawf   TileRawChannel2Bytes5::code_rawf

Definition at line 23 of file TileRawChannel2Bytes5.cxx.

◆ code_raws

#define code_raws   TileRawChannel2Bytes5::code_raws

Definition at line 22 of file TileRawChannel2Bytes5.cxx.

◆ fill_samp

#define fill_samp (   s1,
  s2,
  s3,
  s4,
  s5,
  s6,
  s7,
 
)
Value:
{ int i = 0; \
s[i++] = s1; \
s[i++] = s2; \
s[i++] = s3; \
s[i++] = s4; \
s[i++] = s5; \
s[i++] = s6; \
s[i++] = s7; \
}

Definition at line 283 of file TileRawChannel2Bytes5.cxx.

◆ INT16

#define INT16   int16_t

Definition at line 14 of file TileRawChannel2Bytes5.cxx.

◆ INT32

#define INT32   int32_t

Definition at line 13 of file TileRawChannel2Bytes5.cxx.

◆ mvbits

#define mvbits (   u,
  n,
 
)    _extu(u, 32 - (n), 32 - (n + i))

Definition at line 201 of file TileRawChannel2Bytes5.cxx.

◆ mvbits_ex

#define mvbits_ex (   u,
  n,
  i,
  i0 
)    mvbits(mvbits(u, n + i0, -(i0)), n, i)

Definition at line 202 of file TileRawChannel2Bytes5.cxx.

◆ nonsat_ene

#define nonsat_ene (   ene)    ((0 < ene) && (ene < 0x7FFF))

Definition at line 203 of file TileRawChannel2Bytes5.cxx.

◆ saturate

#define saturate (   u,
 
)    _ext(_sshl(u + _abs(u), 30 - (n)), 0, 31 - (n))

Definition at line 211 of file TileRawChannel2Bytes5.cxx.

◆ sbits

#define sbits (   u,
 
)    (32 - 1 - (n) < _norm(u))

Intrinsic functions which do not work correctly due to differences in byte ordering.

Definition at line 200 of file TileRawChannel2Bytes5.cxx.

◆ ssatbits

#define ssatbits (   u,
 
)    _ext(_sshl(u, 32 - (n)), 0, 32 - (n))

Definition at line 208 of file TileRawChannel2Bytes5.cxx.

◆ UINT16

#define UINT16   uint16_t

Definition at line 12 of file TileRawChannel2Bytes5.cxx.

◆ UINT32

#define UINT32   uint32_t

Definition at line 11 of file TileRawChannel2Bytes5.cxx.

◆ unpack_diff

#define unpack_diff (   diff,
  nbits,
  d2,
  d3,
  d5,
  d6,
  d7 
)
Value:
{ \
UINT32 u = _deal(_deal((diff >> nbits))); \
d5 = _ext(diff, 32 - nbits, 32 - nbits); \
d7 = _ext(u, 8 - nbits, 32 - nbits); \
d6 = _ext(u, 16 - nbits, 32 - nbits); \
d3 = _ext(u, 24 - nbits, 32 - nbits); \
d2 = _ext(u, 32 - nbits, 32 - nbits); \
}

Definition at line 273 of file TileRawChannel2Bytes5.cxx.

◆ verb

#define verb   false

Definition at line 16 of file TileRawChannel2Bytes5.cxx.

ReadCellNoiseFromCoolCompare.s1
s1
Definition: ReadCellNoiseFromCoolCompare.py:378
mc.diff
diff
Definition: mc.SFGenPy8_MuMu_DD.py:14
ReadCellNoiseFromCoolCompare.s4
s4
Definition: ReadCellNoiseFromCoolCompare.py:381
Trk::u
@ u
Enums for curvilinear frames.
Definition: ParamDefs.h:77
lumiFormat.i
int i
Definition: lumiFormat.py:85
ReadCellNoiseFromCoolCompare.s3
s3
Definition: ReadCellNoiseFromCoolCompare.py:380
ReadCellNoiseFromCoolCompare.s2
s2
Definition: ReadCellNoiseFromCoolCompare.py:379