CMS 3D CMS Logo

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

#include <CSCTMBStatusDigi.h>

Public Member Functions

 CSCTMBStatusDigi ()
 Default constructor. More...
 
 CSCTMBStatusDigi (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_ [43]
 
uint16_t trailer_ [8]
 

Detailed Description

Digi for CSC TMB info available in DDU

Definition at line 15 of file CSCTMBStatusDigi.h.

Constructor & Destructor Documentation

◆ CSCTMBStatusDigi() [1/2]

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

Constructor for all variables.

Definition at line 12 of file CSCTMBStatusDigi.cc.

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

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

◆ CSCTMBStatusDigi() [2/2]

CSCTMBStatusDigi::CSCTMBStatusDigi ( )
inline

Default constructor.

Definition at line 21 of file CSCTMBStatusDigi.h.

21 {}

Member Function Documentation

◆ header()

const uint16_t* CSCTMBStatusDigi::header ( ) const
inline

Data Accessors.

Definition at line 24 of file CSCTMBStatusDigi.h.

24 { return header_; }

References header_.

Referenced by CSCTMBStatusDigi().

◆ trailer()

const uint16_t* CSCTMBStatusDigi::trailer ( ) const
inline

Definition at line 25 of file CSCTMBStatusDigi.h.

25 { return trailer_; }

References trailer_.

Referenced by CSCTMBStatusDigi(), and CSCTMBTrailer::CSCTMBTrailer().

Member Data Documentation

◆ header_

uint16_t CSCTMBStatusDigi::header_[43]
private

Definition at line 28 of file CSCTMBStatusDigi.h.

Referenced by CSCTMBStatusDigi(), and header().

◆ trailer_

uint16_t CSCTMBStatusDigi::trailer_[8]
private

Definition at line 29 of file CSCTMBStatusDigi.h.

Referenced by CSCTMBStatusDigi(), and trailer().

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