CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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_.

14 {
15  uint16_t headerSizeInBytes =16;
16  uint16_t trailerSizeInBytes =8;
17  memcpy(header_, header, headerSizeInBytes);
18  memcpy(trailer_, trailer, trailerSizeInBytes);
19 }
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 23 of file CSCALCTStatusDigi.h.

23 {}

Member Function Documentation

const uint16_t* CSCALCTStatusDigi::header ( ) const
inline

Data Accessors.

Definition at line 26 of file CSCALCTStatusDigi.h.

References header_.

Referenced by CSCALCTHeader::CSCALCTHeader().

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

Definition at line 27 of file CSCALCTStatusDigi.h.

References trailer_.

Referenced by CSCALCTTrailer::CSCALCTTrailer().

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

Member Data Documentation

uint16_t CSCALCTStatusDigi::header_[116]
private

Definition at line 33 of file CSCALCTStatusDigi.h.

Referenced by CSCALCTStatusDigi(), and header().

uint16_t CSCALCTStatusDigi::trailer_[4]
private

maximum header size is 116 words

Definition at line 34 of file CSCALCTStatusDigi.h.

Referenced by CSCALCTStatusDigi(), and trailer().