CMS 3D CMS Logo

Public Member Functions | Private Attributes

CSCTMBStatusDigi Class Reference

#include <CSCTMBStatusDigi.h>

List of all members.

Public Member Functions

 CSCTMBStatusDigi (const uint16_t *header, const uint16_t *trailer)
 Constructor for all variables.
 CSCTMBStatusDigi ()
 Default constructor.
const uint16_t * header () const
 Data Accessors.
const uint16_t * trailer () const

Private Attributes

uint16_t header_ [43]
uint16_t trailer_ [8]

Detailed Description

Digi for CSC TMB info available in DDU

Date:
2009/05/09 20:23:33
Revision:
1.10

Digi for CSC TMB info available in DDU

Date:
2009/05/09 20:23:34
Revision:
1.9

Definition at line 17 of file CSCTMBStatusDigi.h.


Constructor & Destructor Documentation

CSCTMBStatusDigi::CSCTMBStatusDigi ( const uint16_t *  header,
const uint16_t *  trailer 
)

Constructor for all variables.

Definition at line 14 of file CSCTMBStatusDigi.cc.

References header_, and trailer_.

{
  uint16_t headerSizeInBytes =54;
  uint16_t trailerSizeInBytes =16;
  memcpy(header_, header, headerSizeInBytes);
  memcpy(trailer_, trailer, trailerSizeInBytes);
}
CSCTMBStatusDigi::CSCTMBStatusDigi ( ) [inline]

Default constructor.

Definition at line 25 of file CSCTMBStatusDigi.h.

{}

Member Function Documentation

const uint16_t* CSCTMBStatusDigi::header ( ) const [inline]

Data Accessors.

Definition at line 28 of file CSCTMBStatusDigi.h.

References header_.

{return header_;}
const uint16_t* CSCTMBStatusDigi::trailer ( ) const [inline]

Definition at line 29 of file CSCTMBStatusDigi.h.

References trailer_.

Referenced by CSCTMBTrailer::CSCTMBTrailer().

{return trailer_;}

Member Data Documentation

uint16_t CSCTMBStatusDigi::header_[43] [private]

Definition at line 33 of file CSCTMBStatusDigi.h.

Referenced by CSCTMBStatusDigi(), and header().

uint16_t CSCTMBStatusDigi::trailer_[8] [private]

Definition at line 34 of file CSCTMBStatusDigi.h.

Referenced by CSCTMBStatusDigi(), and trailer().