9#include <rawdata/dataobjects/RawCOPPERFormat_v2.h>
32 for (
int i = 0; i < 4; i++) {
40#ifdef USE_B2LFEE_FORMAT_BOTH_VER1_AND_2
41void RawCOPPERFormat_v2::CheckB2LFEEHeaderVersion(
int n)
46 for (
int i = 0; i < 4; i++) {
49 if ((temp_buf[ 3 ] & 0x40000000) == 0) {
53 printf(
"[DEBUG] \033[31m");
54 printf(
"[DEBUG] ===Firmware ver. ERROR===\n ");
55 printf(
"[DEBUG] FTSW and b2tt firmwares was updated on Nov.22, 2013 and the header format attached by B2link was changed in the new firmwares.\n");
56 printf(
"[DEBUG] If you are going to take data now, Please update the firmware.\n");
57 printf(
"[DEBUG] For details, please see Nakao-san's e-mail [b2link_ml:0111] Re: [daq2ml:0159] beta version of trigger timing receiver firmware (b2tt) on bdaq SVN\n");
58 printf(
"[DEBUG] Or if you are going to read data taken before the update, please use basf2 software before svn rev. 7419\n");
59 printf(
"[DEBUG] About the format please see Nakao-san's B2GM slides(p. 13 and 15) http://kds.kek.jp/getFile.py/access?contribId=143&sessionId=38&resId=0&materialId=slides&confId=13911.\n");
60 printf(
"[DEBUG] Sorry for inconvenience.\n");
61 printf(
"[DEBUG] \033[0m");
64 sprintf(err_buf,
"FTSW and b2tt firmwares are old. Exiting...\n %s %s %d\n",
65 __FILE__, __PRETTY_FUNCTION__, __LINE__);
66 printf(
"%s\n", err_buf); fflush(stdout);
79 sprintf(err_buf,
"RawCOPPERFormat_v2 contains no FINESSE data. Exiting...\n %s %s %d\n",
80 __FILE__, __PRETTY_FUNCTION__, __LINE__);
81 printf(
"%s\n", err_buf); fflush(stdout);
Abstract base class for different kinds of events.