CMS 3D CMS Logo

Public Member Functions | Private Attributes

CSCALCTStatusDigi Class Reference

#include <CSCALCTStatusDigi.h>

List of all members.

Public Member Functions

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

Private Attributes

uint16_t header_ [116]
uint16_t trailer_ [4]
 maximum header size is 116 words

Detailed Description

Digi for CSC ALCT info available in DDU

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

Digi for CSC ALCT info available in DDU

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

Definition at line 17 of file CSCALCTStatusDigi.h.


Constructor & Destructor Documentation

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

Constructor for all variables.

Definition at line 15 of file CSCALCTStatusDigi.cc.

References header_, and trailer_.

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

Default constructor.

Definition at line 25 of file CSCALCTStatusDigi.h.

{}

Member Function Documentation

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

Data Accessors.

Definition at line 28 of file CSCALCTStatusDigi.h.

References header_.

Referenced by CSCALCTHeader::CSCALCTHeader().

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

Definition at line 29 of file CSCALCTStatusDigi.h.

References trailer_.

Referenced by CSCALCTTrailer::CSCALCTTrailer().

{return trailer_;}

Member Data Documentation

uint16_t CSCALCTStatusDigi::header_[116] [private]

Definition at line 35 of file CSCALCTStatusDigi.h.

Referenced by CSCALCTStatusDigi(), and header().

uint16_t CSCALCTStatusDigi::trailer_[4] [private]

maximum header size is 116 words

Definition at line 36 of file CSCALCTStatusDigi.h.

Referenced by CSCALCTStatusDigi(), and trailer().