CMS 3D CMS Logo

Public Member Functions | Static Public Member Functions | Public Attributes

CSCDMBTrailer Class Reference

#include <CSCDMBTrailer.h>

List of all members.

Public Member Functions

bool check () const
 CSCDMBTrailer (const CSCDMBStatusDigi &digi)
 CSCDMBTrailer ()
unsigned short * data ()
unsigned short * data () const
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]
CSCDMBTrailer::CSCDMBTrailer ( const CSCDMBStatusDigi digi) [inline]

Definition at line 16 of file CSCDMBTrailer.h.

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

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

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.

                     {return ddu_code_1 == 0xF && ddu_code_2 == 0xF
                          && ddu_code_3 == 0xF && ddu_code_4 == 0xF
                          && ddu_code_5 == 0xE && ddu_code_6 == 0xE
                          && ddu_code_7 == 0xE && ddu_code_8 == 0xE;}
unsigned short* CSCDMBTrailer::data ( ) [inline]

Definition at line 25 of file CSCDMBTrailer.h.

Referenced by CSCEventData::pack().

{return (unsigned short *) this;}
unsigned short* CSCDMBTrailer::data ( ) const [inline]

Definition at line 26 of file CSCDMBTrailer.h.

{return (unsigned short *) this;}
void CSCDMBTrailer::setEventInformation ( const CSCDMBHeader ) [inline]

@ NEEDS TO BE DONE

Definition at line 23 of file CSCDMBTrailer.h.

{};
static unsigned CSCDMBTrailer::sizeInWords ( ) [inline, static]

Definition at line 75 of file CSCDMBTrailer.h.

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

{return 8;}

Member Data Documentation

Definition at line 41 of file CSCDMBTrailer.h.

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

Definition at line 47 of file CSCDMBTrailer.h.

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

Definition at line 55 of file CSCDMBTrailer.h.

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

Definition at line 34 of file CSCDMBTrailer.h.

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

Definition at line 39 of file CSCDMBTrailer.h.

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

Definition at line 52 of file CSCDMBTrailer.h.

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

Definition at line 48 of file CSCDMBTrailer.h.

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

Definition at line 53 of file CSCDMBTrailer.h.

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

Definition at line 32 of file CSCDMBTrailer.h.

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

Definition at line 35 of file CSCDMBTrailer.h.

Definition at line 45 of file CSCDMBTrailer.h.

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

Definition at line 59 of file CSCDMBTrailer.h.

Definition at line 30 of file CSCDMBTrailer.h.

Referenced by check(), and CSCDMBTrailer().

Definition at line 36 of file CSCDMBTrailer.h.

Referenced by check(), and CSCDMBTrailer().

Definition at line 43 of file CSCDMBTrailer.h.

Referenced by check(), and CSCDMBTrailer().

Definition at line 49 of file CSCDMBTrailer.h.

Referenced by check(), and CSCDMBTrailer().

Definition at line 56 of file CSCDMBTrailer.h.

Referenced by check(), and CSCDMBTrailer().

Definition at line 60 of file CSCDMBTrailer.h.

Referenced by check(), and CSCDMBTrailer().

Definition at line 64 of file CSCDMBTrailer.h.

Referenced by check(), and CSCDMBTrailer().

Definition at line 68 of file CSCDMBTrailer.h.

Referenced by check(), and CSCDMBTrailer().

Definition at line 29 of file CSCDMBTrailer.h.

Definition at line 62 of file CSCDMBTrailer.h.

Definition at line 66 of file CSCDMBTrailer.h.

Definition at line 58 of file CSCDMBTrailer.h.

Definition at line 42 of file CSCDMBTrailer.h.

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

Definition at line 63 of file CSCDMBTrailer.h.

Definition at line 67 of file CSCDMBTrailer.h.

Definition at line 28 of file CSCDMBTrailer.h.

Definition at line 40 of file CSCDMBTrailer.h.

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

Definition at line 46 of file CSCDMBTrailer.h.

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

Definition at line 54 of file CSCDMBTrailer.h.

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

Definition at line 33 of file CSCDMBTrailer.h.

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

Definition at line 38 of file CSCDMBTrailer.h.

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