CMS 3D CMS Logo

Public Member Functions | Public Attributes

CSCALCTTrailer2007 Struct Reference

#include <CSCALCTTrailer.h>

List of all members.

Public Member Functions

 CSCALCTTrailer2007 ()
void setSize (int size)
short unsigned int sizeInWords () const

Public Attributes

unsigned crc0:11
unsigned crc1:11
unsigned e0dLine:16
unsigned frameCount:11
unsigned reserved_0:4
unsigned reserved_1:4
unsigned reserved_3:1
unsigned reserved_4:4
unsigned zero_0:1
unsigned zero_1:1

Detailed Description

Definition at line 24 of file CSCALCTTrailer.h.


Constructor & Destructor Documentation

CSCALCTTrailer2007::CSCALCTTrailer2007 ( )

size of the trailer

Definition at line 22 of file CSCALCTTrailer.cc.

References e0dLine, reserved_0, reserved_1, reserved_3, reserved_4, and sizeInWords().

                                       {
  bzero(this,  sizeInWords()*2); 
  e0dLine = 0xDE0D;
  reserved_0 = 0xD;
  reserved_1 = 0xD;
  reserved_3 = 1;
  reserved_4 = 0xD;
}

Member Function Documentation

void CSCALCTTrailer2007::setSize ( int  size) [inline]

Definition at line 26 of file CSCALCTTrailer.h.

References frameCount, and findQualityFiles::size.

Referenced by CSCALCTTrailer::CSCALCTTrailer().

short unsigned int CSCALCTTrailer2007::sizeInWords ( ) const [inline]

size of ALCT Header

Definition at line 27 of file CSCALCTTrailer.h.

Referenced by CSCALCTTrailer::CSCALCTTrailer(), CSCALCTTrailer2007(), and CSCALCTTrailer::data().

                                         { 
    return 4;
  }

Member Data Documentation

Definition at line 31 of file CSCALCTTrailer.h.

Referenced by CSCALCTTrailer::getCRC().

Definition at line 32 of file CSCALCTTrailer.h.

Referenced by CSCALCTTrailer::getCRC().

Definition at line 30 of file CSCALCTTrailer.h.

Referenced by CSCALCTTrailer::check(), and CSCALCTTrailer2007().

Definition at line 33 of file CSCALCTTrailer.h.

Referenced by setSize(), and CSCALCTTrailer::wordCount().

Definition at line 31 of file CSCALCTTrailer.h.

Referenced by CSCALCTTrailer2007().

Definition at line 32 of file CSCALCTTrailer.h.

Referenced by CSCALCTTrailer2007().

Definition at line 33 of file CSCALCTTrailer.h.

Referenced by CSCALCTTrailer::alctCRCCheck(), and CSCALCTTrailer2007().

Definition at line 33 of file CSCALCTTrailer.h.

Referenced by CSCALCTTrailer2007().

Definition at line 31 of file CSCALCTTrailer.h.

Definition at line 32 of file CSCALCTTrailer.h.