CMS 3D CMS Logo

CSCALCTTrailer2006 Struct Reference

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

#include <EventFilter/CSCRawToDigi/interface/CSCALCTTrailer.h>

List of all members.

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 https://www.phys.ufl.edu/~madorsky/alctv/alct2000_spec.PDF

Definition at line 12 of file CSCALCTTrailer.h.


Constructor & Destructor Documentation

CSCALCTTrailer2006::CSCALCTTrailer2006 (  )  [inline]

size of the trailer

Definition at line 13 of file CSCALCTTrailer.h.

References d_0, d_1, d_3, e0dLine, reserved_3, sizeInWords(), zero_0, and zero_1.

00013                        {
00014     bzero(this,  sizeInWords()*2); 
00015       e0dLine = 0xDE0D;
00016       d_0=0xD;
00017       d_1=0xD;
00018       zero_0 = 0;
00019       zero_1 = 0;
00020       d_3 = 0xD;
00021       reserved_3 = 1;
00022   }


Member Function Documentation

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

Definition at line 23 of file CSCALCTTrailer.h.

References frameCount.

Referenced by CSCALCTTrailer::CSCALCTTrailer().

00023 {frameCount = size;}

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

size of ALCT Header

Definition at line 24 of file CSCALCTTrailer.h.

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

00024                                          { 
00025     return 4;
00026   }


Member Data Documentation

unsigned CSCALCTTrailer2006::crc0

Definition at line 27 of file CSCALCTTrailer.h.

Referenced by CSCALCTTrailer::getCRC().

unsigned CSCALCTTrailer2006::crc1

Definition at line 28 of file CSCALCTTrailer.h.

Referenced by CSCALCTTrailer::getCRC().

unsigned CSCALCTTrailer2006::d_0

Definition at line 27 of file CSCALCTTrailer.h.

Referenced by CSCALCTTrailer2006().

unsigned CSCALCTTrailer2006::d_1

Definition at line 28 of file CSCALCTTrailer.h.

Referenced by CSCALCTTrailer2006().

unsigned CSCALCTTrailer2006::d_3

Definition at line 30 of file CSCALCTTrailer.h.

Referenced by CSCALCTTrailer2006().

unsigned CSCALCTTrailer2006::e0dLine

Definition at line 29 of file CSCALCTTrailer.h.

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

unsigned CSCALCTTrailer2006::frameCount

Definition at line 30 of file CSCALCTTrailer.h.

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

unsigned CSCALCTTrailer2006::reserved_3

Definition at line 30 of file CSCALCTTrailer.h.

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

unsigned CSCALCTTrailer2006::zero_0

Definition at line 27 of file CSCALCTTrailer.h.

Referenced by CSCALCTTrailer2006().

unsigned CSCALCTTrailer2006::zero_1

Definition at line 28 of file CSCALCTTrailer.h.

Referenced by CSCALCTTrailer2006().


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:17:03 2009 for CMSSW by  doxygen 1.5.4