#include <CSCALCTTrailer.h>
Public Member Functions | |
CSCALCTTrailer2006 () | |
void | setSize (int size) |
short unsigned int | sizeInWords () const |
Public Attributes | |
unsigned | crc0:11 |
unsigned | crc1:11 |
unsigned | d_0:4 |
unsigned | d_1:4 |
unsigned | d_3:4 |
unsigned | e0dLine:16 |
unsigned | frameCount:11 |
unsigned | reserved_3:1 |
unsigned | zero_0:1 |
unsigned | zero_1:1 |
documented in flags http://www.phys.ufl.edu/~madorsky/alctv/alct2000_spec.PDF
Definition at line 12 of file CSCALCTTrailer.h.
CSCALCTTrailer2006::CSCALCTTrailer2006 | ( | ) |
size of the trailer
Definition at line 10 of file CSCALCTTrailer.cc.
References d_0, d_1, d_3, e0dLine, reserved_3, sizeInWords(), zero_0, and zero_1.
{ bzero(this, sizeInWords()*2); e0dLine = 0xDE0D; d_0=0xD; d_1=0xD; zero_0 = 0; zero_1 = 0; d_3 = 0xD; reserved_3 = 1; }
void CSCALCTTrailer2006::setSize | ( | int | size | ) | [inline] |
Definition at line 14 of file CSCALCTTrailer.h.
References frameCount, and findQualityFiles::size.
Referenced by CSCALCTTrailer::CSCALCTTrailer().
{frameCount = size;}
short unsigned int CSCALCTTrailer2006::sizeInWords | ( | ) | const [inline] |
size of ALCT Header
Definition at line 15 of file CSCALCTTrailer.h.
Referenced by CSCALCTTrailer::CSCALCTTrailer(), CSCALCTTrailer2006(), and CSCALCTTrailer::data().
{
return 4;
}
unsigned CSCALCTTrailer2006::crc0 |
Definition at line 18 of file CSCALCTTrailer.h.
Referenced by CSCALCTTrailer::getCRC().
unsigned CSCALCTTrailer2006::crc1 |
Definition at line 19 of file CSCALCTTrailer.h.
Referenced by CSCALCTTrailer::getCRC().
unsigned CSCALCTTrailer2006::d_0 |
Definition at line 18 of file CSCALCTTrailer.h.
Referenced by CSCALCTTrailer2006().
unsigned CSCALCTTrailer2006::d_1 |
Definition at line 19 of file CSCALCTTrailer.h.
Referenced by CSCALCTTrailer2006().
unsigned CSCALCTTrailer2006::d_3 |
Definition at line 21 of file CSCALCTTrailer.h.
Referenced by CSCALCTTrailer2006().
unsigned CSCALCTTrailer2006::e0dLine |
Definition at line 20 of file CSCALCTTrailer.h.
Referenced by CSCALCTTrailer::check(), and CSCALCTTrailer2006().
unsigned CSCALCTTrailer2006::frameCount |
Definition at line 21 of file CSCALCTTrailer.h.
Referenced by setSize(), and CSCALCTTrailer::wordCount().
unsigned CSCALCTTrailer2006::reserved_3 |
Definition at line 21 of file CSCALCTTrailer.h.
Referenced by CSCALCTTrailer::alctCRCCheck(), and CSCALCTTrailer2006().
unsigned CSCALCTTrailer2006::zero_0 |
Definition at line 18 of file CSCALCTTrailer.h.
Referenced by CSCALCTTrailer2006().
unsigned CSCALCTTrailer2006::zero_1 |
Definition at line 19 of file CSCALCTTrailer.h.
Referenced by CSCALCTTrailer2006().