CMS 3D CMS Logo

CSCDMBTrailer Class Reference

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

List of all members.

Public Member Functions

bool check () const
 CSCDMBTrailer (const CSCDMBStatusDigi &digi)
 CSCDMBTrailer ()
unsigned short * data () const
unsigned short * data ()
void setEventInformation (const CSCDMBHeader &)
 @ NEEDS TO BE DONE

Static Public Member Functions

static unsigned sizeInWords ()

Public Attributes

unsigned alct_empty: 1
unsigned alct_endtimeout: 1
unsigned alct_full: 1
unsigned alct_half: 1
unsigned alct_timeout: 1
unsigned cfeb_empty: 5
unsigned cfeb_endtimeout: 5
unsigned cfeb_full: 5
unsigned cfeb_half: 5
unsigned cfeb_movlp: 5
unsigned cfeb_starttimeout: 5
unsigned crate_id: 8
unsigned ddu_code_1: 4
unsigned ddu_code_2: 4
unsigned ddu_code_3: 4
unsigned ddu_code_4: 4
unsigned ddu_code_5: 4
unsigned ddu_code_6: 4
unsigned ddu_code_7: 4
unsigned ddu_code_8: 4
unsigned dmb_bxn: 4
unsigned dmb_crc_1: 11
unsigned dmb_crc_2: 11
unsigned dmb_id: 4
unsigned dmb_l1pipe: 8
unsigned dmb_parity_1: 1
unsigned dmb_parity_2: 1
unsigned L1a_counter: 8
unsigned tmb_empty: 1
unsigned tmb_endtimeout: 1
unsigned tmb_full: 1
unsigned tmb_half: 1
unsigned tmb_timeout: 1


Detailed Description

Definition at line 7 of file CSCDMBTrailer.h.


Constructor & Destructor Documentation

CSCDMBTrailer::CSCDMBTrailer (  )  [inline]

Definition at line 9 of file CSCDMBTrailer.h.

References ddu_code_1, ddu_code_2, ddu_code_3, ddu_code_4, ddu_code_5, ddu_code_6, ddu_code_7, ddu_code_8, and sizeInWords().

00010     {
00011       bzero(this, sizeInWords()*2);
00012       ddu_code_1 = ddu_code_2 = ddu_code_3 = ddu_code_4 = 0xF;
00013       ddu_code_5 = ddu_code_6 = ddu_code_7 = ddu_code_8 = 0xE;
00014     }

CSCDMBTrailer::CSCDMBTrailer ( const CSCDMBStatusDigi digi  )  [inline]

Definition at line 16 of file CSCDMBTrailer.h.

References sizeInWords(), and CSCDMBStatusDigi::trailer().

00017     {
00018       memcpy(this, digi.trailer(), sizeInWords()*2);
00019     }


Member Function Documentation

bool CSCDMBTrailer::check (  )  const [inline]

Definition at line 70 of file CSCDMBTrailer.h.

References ddu_code_1, ddu_code_2, ddu_code_3, ddu_code_4, ddu_code_5, ddu_code_6, ddu_code_7, and ddu_code_8.

00070                      {return ddu_code_1 == 0xF && ddu_code_2 == 0xF
00071                           && ddu_code_3 == 0xF && ddu_code_4 == 0xF
00072                           && ddu_code_5 == 0xE && ddu_code_6 == 0xE
00073                           && ddu_code_7 == 0xE && ddu_code_8 == 0xE;}

unsigned short* CSCDMBTrailer::data (  )  const [inline]

Definition at line 26 of file CSCDMBTrailer.h.

00026 {return (unsigned short *) this;}

unsigned short* CSCDMBTrailer::data (  )  [inline]

Definition at line 25 of file CSCDMBTrailer.h.

Referenced by CSCEventData::pack().

00025 {return (unsigned short *) this;}

void CSCDMBTrailer::setEventInformation ( const CSCDMBHeader  )  [inline]

@ NEEDS TO BE DONE

Definition at line 23 of file CSCDMBTrailer.h.

00023 {};

static unsigned CSCDMBTrailer::sizeInWords (  )  [inline, static]

Definition at line 75 of file CSCDMBTrailer.h.

Referenced by CSCDMBTrailer(), CSCEventData::CSCEventData(), and CSCEventData::pack().

00075 {return 8;}


Member Data Documentation

unsigned CSCDMBTrailer::alct_empty

Definition at line 41 of file CSCDMBTrailer.h.

Referenced by cscdqm::EventProcessor::processCSC().

unsigned CSCDMBTrailer::alct_endtimeout

Definition at line 47 of file CSCDMBTrailer.h.

Referenced by cscdqm::EventProcessor::processCSC().

unsigned CSCDMBTrailer::alct_full

Definition at line 55 of file CSCDMBTrailer.h.

Referenced by cscdqm::EventProcessor::processCSC().

unsigned CSCDMBTrailer::alct_half

Definition at line 34 of file CSCDMBTrailer.h.

Referenced by cscdqm::EventProcessor::processCSC().

unsigned CSCDMBTrailer::alct_timeout

Definition at line 39 of file CSCDMBTrailer.h.

Referenced by cscdqm::EventProcessor::processCSC().

unsigned CSCDMBTrailer::cfeb_empty

Definition at line 52 of file CSCDMBTrailer.h.

Referenced by cscdqm::EventProcessor::processCSC().

unsigned CSCDMBTrailer::cfeb_endtimeout

Definition at line 48 of file CSCDMBTrailer.h.

Referenced by CSCEventData::CSCEventData(), and cscdqm::EventProcessor::processCSC().

unsigned CSCDMBTrailer::cfeb_full

Definition at line 53 of file CSCDMBTrailer.h.

Referenced by cscdqm::EventProcessor::processCSC().

unsigned CSCDMBTrailer::cfeb_half

Definition at line 32 of file CSCDMBTrailer.h.

Referenced by cscdqm::EventProcessor::processCSC().

unsigned CSCDMBTrailer::cfeb_movlp

Definition at line 35 of file CSCDMBTrailer.h.

unsigned CSCDMBTrailer::cfeb_starttimeout

Definition at line 45 of file CSCDMBTrailer.h.

Referenced by CSCEventData::CSCEventData(), and cscdqm::EventProcessor::processCSC().

unsigned CSCDMBTrailer::crate_id

Definition at line 59 of file CSCDMBTrailer.h.

unsigned CSCDMBTrailer::ddu_code_1

Definition at line 30 of file CSCDMBTrailer.h.

Referenced by check(), and CSCDMBTrailer().

unsigned CSCDMBTrailer::ddu_code_2

Definition at line 36 of file CSCDMBTrailer.h.

Referenced by check(), and CSCDMBTrailer().

unsigned CSCDMBTrailer::ddu_code_3

Definition at line 43 of file CSCDMBTrailer.h.

Referenced by check(), and CSCDMBTrailer().

unsigned CSCDMBTrailer::ddu_code_4

Definition at line 49 of file CSCDMBTrailer.h.

Referenced by check(), and CSCDMBTrailer().

unsigned CSCDMBTrailer::ddu_code_5

Definition at line 56 of file CSCDMBTrailer.h.

Referenced by check(), and CSCDMBTrailer().

unsigned CSCDMBTrailer::ddu_code_6

Definition at line 60 of file CSCDMBTrailer.h.

Referenced by check(), and CSCDMBTrailer().

unsigned CSCDMBTrailer::ddu_code_7

Definition at line 64 of file CSCDMBTrailer.h.

Referenced by check(), and CSCDMBTrailer().

unsigned CSCDMBTrailer::ddu_code_8

Definition at line 68 of file CSCDMBTrailer.h.

Referenced by check(), and CSCDMBTrailer().

unsigned CSCDMBTrailer::dmb_bxn

Definition at line 29 of file CSCDMBTrailer.h.

unsigned CSCDMBTrailer::dmb_crc_1

Definition at line 62 of file CSCDMBTrailer.h.

unsigned CSCDMBTrailer::dmb_crc_2

Definition at line 66 of file CSCDMBTrailer.h.

unsigned CSCDMBTrailer::dmb_id

Definition at line 58 of file CSCDMBTrailer.h.

unsigned CSCDMBTrailer::dmb_l1pipe

Definition at line 42 of file CSCDMBTrailer.h.

Referenced by cscdqm::EventProcessor::processCSC().

unsigned CSCDMBTrailer::dmb_parity_1

Definition at line 63 of file CSCDMBTrailer.h.

unsigned CSCDMBTrailer::dmb_parity_2

Definition at line 67 of file CSCDMBTrailer.h.

unsigned CSCDMBTrailer::L1a_counter

Definition at line 28 of file CSCDMBTrailer.h.

unsigned CSCDMBTrailer::tmb_empty

Definition at line 40 of file CSCDMBTrailer.h.

Referenced by cscdqm::EventProcessor::processCSC().

unsigned CSCDMBTrailer::tmb_endtimeout

Definition at line 46 of file CSCDMBTrailer.h.

Referenced by cscdqm::EventProcessor::processCSC().

unsigned CSCDMBTrailer::tmb_full

Definition at line 54 of file CSCDMBTrailer.h.

Referenced by cscdqm::EventProcessor::processCSC().

unsigned CSCDMBTrailer::tmb_half

Definition at line 33 of file CSCDMBTrailer.h.

Referenced by cscdqm::EventProcessor::processCSC().

unsigned CSCDMBTrailer::tmb_timeout

Definition at line 38 of file CSCDMBTrailer.h.

Referenced by cscdqm::EventProcessor::processCSC().


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