CMS 3D CMS Logo

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

#include <CSCALCTStatusDigi.h>

Public Member Functions

 CSCALCTStatusDigi ()
 Default constructor. More...
 
 CSCALCTStatusDigi (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_ [116]
 
uint16_t trailer_ [4]
 maximum header size is 116 words More...
 

Detailed Description

Digi for CSC ALCT info available in DDU

Definition at line 15 of file CSCALCTStatusDigi.h.

Constructor & Destructor Documentation

◆ CSCALCTStatusDigi() [1/2]

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

Constructor for all variables.

Definition at line 13 of file CSCALCTStatusDigi.cc.

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

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

◆ CSCALCTStatusDigi() [2/2]

CSCALCTStatusDigi::CSCALCTStatusDigi ( )
inline

Default constructor.

Definition at line 21 of file CSCALCTStatusDigi.h.

21 {}

Member Function Documentation

◆ header()

const uint16_t* CSCALCTStatusDigi::header ( ) const
inline

Data Accessors.

Definition at line 24 of file CSCALCTStatusDigi.h.

24 { return header_; }

References header_.

Referenced by CSCALCTHeader::CSCALCTHeader(), and CSCALCTStatusDigi().

◆ trailer()

const uint16_t* CSCALCTStatusDigi::trailer ( ) const
inline

Definition at line 25 of file CSCALCTStatusDigi.h.

25 { return trailer_; }

References trailer_.

Referenced by CSCALCTStatusDigi(), and CSCALCTTrailer::CSCALCTTrailer().

Member Data Documentation

◆ header_

uint16_t CSCALCTStatusDigi::header_[116]
private

Definition at line 28 of file CSCALCTStatusDigi.h.

Referenced by CSCALCTStatusDigi(), and header().

◆ trailer_

uint16_t CSCALCTStatusDigi::trailer_[4]
private

maximum header size is 116 words

Definition at line 29 of file CSCALCTStatusDigi.h.

Referenced by CSCALCTStatusDigi(), and trailer().

CSCALCTStatusDigi::header
const uint16_t * header() const
Data Accessors.
Definition: CSCALCTStatusDigi.h:24
CSCALCTStatusDigi::trailer
const uint16_t * trailer() const
Definition: CSCALCTStatusDigi.h:25
CSCALCTStatusDigi::header_
uint16_t header_[116]
Definition: CSCALCTStatusDigi.h:28
CSCALCTStatusDigi::trailer_
uint16_t trailer_[4]
maximum header size is 116 words
Definition: CSCALCTStatusDigi.h:29