CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
CSCALCTTrailer2006 Struct Reference

#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
 

Detailed Description

documented in flags http://www.phys.ufl.edu/~madorsky/alctv/alct2000_spec.PDF

Definition at line 12 of file CSCALCTTrailer.h.

Constructor & Destructor Documentation

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.

10  {
11  bzero(this, sizeInWords()*2);
12  e0dLine = 0xDE0D;
13  d_0=0xD;
14  d_1=0xD;
15  zero_0 = 0;
16  zero_1 = 0;
17  d_3 = 0xD;
18  reserved_3 = 1;
19 }
short unsigned int sizeInWords() const

Member Function Documentation

void CSCALCTTrailer2006::setSize ( int  size)
inline

Definition at line 14 of file CSCALCTTrailer.h.

References frameCount, and findQualityFiles::size.

Referenced by CSCALCTTrailer::CSCALCTTrailer().

14 {frameCount = size;}
tuple size
Write out results.
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().

15  {
16  return 4;
17  }

Member Data Documentation

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().