CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CSCDMBStatusDigi Class Reference

#include <CSCDMBStatusDigi.h>

Public Member Functions

 CSCDMBStatusDigi ()
 Default constructor. More...
 
 CSCDMBStatusDigi (const uint16_t *header, const uint16_t *trailer)
 Constructor for all variables. 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() [1/2]

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

Constructor for all variables.

Definition at line 12 of file CSCDMBStatusDigi.cc.

12  {
13  uint16_t headerSizeInBytes = 16;
14  uint16_t trailerSizeInBytes = 16;
15  memcpy(header_, header, headerSizeInBytes);
16  memcpy(trailer_, trailer, trailerSizeInBytes);
17 }

References header(), header_, trailer(), and trailer_.

◆ CSCDMBStatusDigi() [2/2]

CSCDMBStatusDigi::CSCDMBStatusDigi ( )
inline

Default constructor.

Definition at line 21 of file CSCDMBStatusDigi.h.

21 {}

Member Function Documentation

◆ header()

const uint16_t* CSCDMBStatusDigi::header ( ) const
inline

Data Accessors.

Definition at line 24 of file CSCDMBStatusDigi.h.

24 { return header_; }

References header_.

Referenced by CSCDMBStatusDigi().

◆ trailer()

const uint16_t* CSCDMBStatusDigi::trailer ( ) const
inline

Definition at line 25 of file CSCDMBStatusDigi.h.

25 { return trailer_; }

References trailer_.

Referenced by CSCDMBStatusDigi().

Member Data Documentation

◆ header_

uint16_t CSCDMBStatusDigi::header_[8]
private

Definition at line 28 of file CSCDMBStatusDigi.h.

Referenced by CSCDMBStatusDigi(), and header().

◆ trailer_

uint16_t CSCDMBStatusDigi::trailer_[8]
private

Definition at line 29 of file CSCDMBStatusDigi.h.

Referenced by CSCDMBStatusDigi(), and trailer().

CSCDMBStatusDigi::header_
uint16_t header_[8]
Definition: CSCDMBStatusDigi.h:28
CSCDMBStatusDigi::header
const uint16_t * header() const
Data Accessors.
Definition: CSCDMBStatusDigi.h:24
CSCDMBStatusDigi::trailer
const uint16_t * trailer() const
Definition: CSCDMBStatusDigi.h:25
CSCDMBStatusDigi::trailer_
uint16_t trailer_[8]
Definition: CSCDMBStatusDigi.h:29