CMS 3D CMS Logo

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

#include <CSCALCTStatusDigi.h>

Public Member Functions

 CSCALCTStatusDigi (const uint16_t *header, const uint16_t *trailer)
 Constructor for all variables. More...
 
 CSCALCTStatusDigi ()
 Default constructor. 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.

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

13  {
14  uint16_t headerSizeInBytes = 16;
15  uint16_t trailerSizeInBytes = 8;
16  memcpy(header_, header, headerSizeInBytes);
17  memcpy(trailer_, trailer, trailerSizeInBytes);
18 }
const uint16_t * trailer() const
uint16_t trailer_[4]
maximum header size is 116 words
uint16_t header_[116]
const uint16_t * header() const
Data Accessors.

◆ 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.

References header_.

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

24 { return header_; }
uint16_t header_[116]

◆ trailer()

const uint16_t* CSCALCTStatusDigi::trailer ( ) const
inline

Definition at line 25 of file CSCALCTStatusDigi.h.

References trailer_.

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

25 { return trailer_; }
uint16_t trailer_[4]
maximum header size is 116 words

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().