9#include <rawdata/dataobjects/RawTLUFormat.h>
61 unsigned int prev_evenum,
unsigned int* cur_evenum)
68 if (prev_evenum != 0xFFFFFFFF && *cur_evenum != 0) {
69 if ((
unsigned int)(prev_evenum + 1) != *cur_evenum) {
70 sprintf(err_buf,
"Event # jump : i %d prev 0x%x cur 0x%x : Exiting...\n %s %s %d\n",
71 n, prev_evenum, *cur_evenum, __FILE__, __PRETTY_FUNCTION__, __LINE__);
78 sprintf(err_buf,
"invalid TLU event tag : blodk %d header eve # %u TLU tag %u. Exiting...\n %s %s %d\n",
85 sprintf(err_buf,
"invalid TLU packet length : block %d nwords %d must be %d : Exiting...\n %s %s %d\n",
86 n,
GetBlockNwords(n), SIZE_TLU_PACKET, __FILE__, __PRETTY_FUNCTION__, __LINE__);
91 sprintf(err_buf,
"invalid magic word : block %d magic word 0x%x must be 0x%x : Exiting...\n %s %s %d\n",
92 n,
GetMagicTrailer(n), TLU_MAGIC_TRAILER, __FILE__, __PRETTY_FUNCTION__, __LINE__);
97 printf(
"[DEBUG] ========== dump a data block : block # %d==========\n", n);
101 if (k % 10 == 9) printf(
"\n[DEBUG] ");
Abstract base class for different kinds of events.