test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
CSCDMBStatusDigi Class Reference

#include <CSCDMBStatusDigi.h>

Public Member Functions

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

Private Attributes

uint16_t header_ [8]
 
uint16_t trailer_ [8]
 

Detailed Description

Digi for CSC DMB info available in DDU

Definition at line 15 of file CSCDMBStatusDigi.h.

Constructor & Destructor Documentation

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

Constructor for all variables.

Definition at line 12 of file CSCDMBStatusDigi.cc.

References header_, and trailer_.

13 {
14  uint16_t headerSizeInBytes =16;
15  uint16_t trailerSizeInBytes =16;
16  memcpy(header_, header, headerSizeInBytes);
17  memcpy(trailer_, trailer, trailerSizeInBytes);
18 }
uint16_t trailer_[8]
uint16_t header_[8]
const uint16_t * trailer() const
const uint16_t * header() const
Data Accessors.
CSCDMBStatusDigi::CSCDMBStatusDigi ( )
inline

Default constructor.

Definition at line 23 of file CSCDMBStatusDigi.h.

23 {}

Member Function Documentation

const uint16_t* CSCDMBStatusDigi::header ( ) const
inline

Data Accessors.

Definition at line 26 of file CSCDMBStatusDigi.h.

References header_.

Referenced by CSCDMBHeader::CSCDMBHeader().

26 {return header_;}
uint16_t header_[8]
const uint16_t* CSCDMBStatusDigi::trailer ( ) const
inline

Definition at line 27 of file CSCDMBStatusDigi.h.

References trailer_.

Referenced by CSCDMBTrailer::CSCDMBTrailer().

27 {return trailer_;}
uint16_t trailer_[8]

Member Data Documentation

uint16_t CSCDMBStatusDigi::header_[8]
private

Definition at line 31 of file CSCDMBStatusDigi.h.

Referenced by CSCDMBStatusDigi(), and header().

uint16_t CSCDMBStatusDigi::trailer_[8]
private

Definition at line 32 of file CSCDMBStatusDigi.h.

Referenced by CSCDMBStatusDigi(), and trailer().