1 #ifndef CSCALCTTrailer_h
2 #define CSCALCTTrailer_h
18 void setCRC(
unsigned int crc) {
crc0 = crc&0x7FF;
crc1 = (crc >> 11) & 0x7FF;}
31 void setCRC(
unsigned int crc) {
crc0 = crc&0x7FF;
crc1 = (crc >> 11) & 0x7FF;}
69 <<
"couldn't access data: ALCT firmware version is bad/not defined!";
92 <<
"couldn't setCRC: ALCT firmware version is bad/not defined!";
110 <<
"couldn't getCRC: ALCT firmware version is bad/not defined!";
127 <<
"couldn't check: ALCT firmware version is bad/not defined!";
144 <<
"couldn't wordCount: ALCT firmware version is bad/not defined!";
161 <<
"couldn't CRCcheck: ALCT firmware version is bad/not defined!";
CSCALCTTrailer(const CSCALCTStatusDigi &digi)
const uint16_t * trailer() const
unsigned FrameCount() const
void setCRC(unsigned int crc)
short unsigned int sizeInWords() const
CSCALCTTrailer2006 alctTrailer2006()
static std::atomic< bool > debug
unsigned alctCRCCheck() const
static std::atomic< unsigned short int > firmwareVersion
CSCALCTTrailer2007 trailer2007
CSCALCTTrailer(int size, int firmVersion)
needed for packing
static int sizeInWords()
in 16-bit frames
CSCALCTTrailer2006 trailer2006
short unsigned int sizeInWords() const
void setCRC(unsigned int crc)
CSCALCTTrailer2007 alctTrailer2007()
static void setDebug(bool debugValue)
unsigned short int theOriginalBuffer[4]
tuple size
Write out results.
void setCRC(unsigned int crc)