PAASS
Software suite to Acquire and Analyze Data from Pixie16
unittest_encoded_data Namespace Reference

Namespaces

 R30474_250
 

Variables

unsigned int empty_buffer [2] = {0, 0}
 
unsigned int empty_module_buffer [2] = {2, 0}
 
unsigned int header_w_bad_headerlen [6]
 A header with a header length 20 instead of the true header length 4. More...
 
unsigned int header_w_bad_eventlen [6]
 A header where the event length doesn't match what it should be. More...
 

Detailed Description

This namespace contains Firmware / Frequency specific headers that are used to test the decoding of data. The headers that we have here include the 2 words that are inserted by poll2 so that the XiaListModeDataDecoder::DecodeBuffer method will function properly.

Variable Documentation

§ empty_buffer

unsigned int unittest_encoded_data::empty_buffer[2] = {0, 0}

Definition at line 51 of file UnitTestSampleData.hpp.

§ empty_module_buffer

unsigned int unittest_encoded_data::empty_module_buffer[2] = {2, 0}

Definition at line 54 of file UnitTestSampleData.hpp.

§ header_w_bad_eventlen

unsigned int unittest_encoded_data::header_w_bad_eventlen[6]
Initial value:
= {59, 0, 7749677, 123456789, 26001,
8128809}

A header where the event length doesn't match what it should be.

Definition at line 61 of file UnitTestSampleData.hpp.

§ header_w_bad_headerlen

unsigned int unittest_encoded_data::header_w_bad_headerlen[6]
Initial value:
= {4, 0, 3887149, 123456789, 26001,
2345}

A header with a header length 20 instead of the true header length 4.

Definition at line 57 of file UnitTestSampleData.hpp.