CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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::CSCALCTStatusDigi ( const uint16_t *  header,
const uint16_t *  trailer 
)

Constructor for all variables.

Definition at line 13 of file CSCALCTStatusDigi.cc.

References header_, 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::CSCALCTStatusDigi ( )
inline

Default constructor.

Definition at line 21 of file CSCALCTStatusDigi.h.

21 {}

Member Function Documentation

const uint16_t* CSCALCTStatusDigi::header ( ) const
inline

Data Accessors.

Definition at line 24 of file CSCALCTStatusDigi.h.

References header_.

Referenced by CSCALCTHeader::CSCALCTHeader().

24 { return header_; }
uint16_t header_[116]
const uint16_t* CSCALCTStatusDigi::trailer ( ) const
inline

Definition at line 25 of file CSCALCTStatusDigi.h.

References trailer_.

Referenced by CSCALCTTrailer::CSCALCTTrailer().

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

Member Data Documentation

uint16_t CSCALCTStatusDigi::header_[116]
private

Definition at line 28 of file CSCALCTStatusDigi.h.

Referenced by CSCALCTStatusDigi(), and header().

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