#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <assert.h>
#include "TMidasEvent.h"
#include "midasio.h"
Go to the source code of this file.
|
static const unsigned | TID_SIZE [] = {0, 1, 1, 1, 2, 2, 4, 4, 4, 4, 8, 1, 0, 0, 0, 0, 0, 8, 8} |
|
static const unsigned | TID_MAX = (sizeof(TID_SIZE)/sizeof(TID_SIZE[0])) |
|
◆ DWORD_SWAP
Value:
*(((
BYTE *)(x))+3) = _tmp; \
_tmp= *(((
BYTE *)(x))+1); \
*(((
BYTE *)(x))+1) = *(((
BYTE *)(x))+2); \
*(((
BYTE *)(x))+2) = _tmp; }
Byte swapping routine.
Definition at line 590 of file TMidasEvent.cxx.
◆ QWORD_SWAP
Value:
*(((
BYTE *)(x))+7) = _tmp; \
_tmp= *(((
BYTE *)(x))+1); \
*(((
BYTE *)(x))+1) = *(((
BYTE *)(x))+6); \
*(((
BYTE *)(x))+6) = _tmp; \
_tmp= *(((
BYTE *)(x))+2); \
*(((
BYTE *)(x))+2) = *(((
BYTE *)(x))+5); \
*(((
BYTE *)(x))+5) = _tmp; \
_tmp= *(((
BYTE *)(x))+3); \
*(((
BYTE *)(x))+3) = *(((
BYTE *)(x))+4); \
*(((
BYTE *)(x))+4) = _tmp; }
Byte swapping routine.
Definition at line 574 of file TMidasEvent.cxx.
◆ WORD_SWAP
◆ BYTE
◆ TMReadEvent()
◆ TMWriteEvent()
◆ TID_MAX
◆ TID_SIZE
const unsigned TID_SIZE[] = {0, 1, 1, 1, 2, 2, 4, 4, 4, 4, 8, 1, 0, 0, 0, 0, 0, 8, 8} |
|
static |