#include <CSCDDUStatusDigi.h>
Public Member Functions | |
CSCDDUStatusDigi (const uint16_t *header, const uint16_t *trailer, uint16_t tts) | |
Constructor for all variables. | |
CSCDDUStatusDigi () | |
Default constructor. | |
const uint16_t | getDDUTTS () const |
const uint16_t * | header () const |
Data Accessors. | |
void | print () const |
Print the content of CSCDDUStatusDigi. | |
const uint16_t * | trailer () const |
Private Attributes | |
uint16_t | header_ [12] |
uint16_t | trailer_ [12] |
uint16_t | tts_ |
Digi for CSC DDU info available in DDU
Digi for CSC DDU info available in DDU
Definition at line 17 of file CSCDDUStatusDigi.h.
CSCDDUStatusDigi::CSCDDUStatusDigi | ( | const uint16_t * | header, |
const uint16_t * | trailer, | ||
uint16_t | tts | ||
) |
CSCDDUStatusDigi::CSCDDUStatusDigi | ( | ) | [inline] |
const uint16_t CSCDDUStatusDigi::getDDUTTS | ( | ) | const |
Definition at line 23 of file CSCDDUStatusDigi.cc.
References tts_.
Referenced by print().
{ uint16_t ttsBits = (tts_ & 0x00F0) >> 4; return ttsBits; }
const uint16_t* CSCDDUStatusDigi::header | ( | ) | const [inline] |
Data Accessors.
Definition at line 28 of file CSCDDUStatusDigi.h.
References header_.
Referenced by CSCDDUHeader::CSCDDUHeader().
{ return header_;}
void CSCDDUStatusDigi::print | ( | void | ) | const |
Print the content of CSCDDUStatusDigi.
Definition at line 28 of file CSCDDUStatusDigi.cc.
References gather_cfg::cout, getDDUTTS(), header_, and trailer_.
const uint16_t* CSCDDUStatusDigi::trailer | ( | ) | const [inline] |
Definition at line 29 of file CSCDDUStatusDigi.h.
References trailer_.
Referenced by CSCDDUTrailer::CSCDDUTrailer().
{return trailer_;}
uint16_t CSCDDUStatusDigi::header_[12] [private] |
Definition at line 37 of file CSCDDUStatusDigi.h.
Referenced by CSCDDUStatusDigi(), header(), and print().
uint16_t CSCDDUStatusDigi::trailer_[12] [private] |
Definition at line 38 of file CSCDDUStatusDigi.h.
Referenced by CSCDDUStatusDigi(), print(), and trailer().
uint16_t CSCDDUStatusDigi::tts_ [private] |
Definition at line 39 of file CSCDDUStatusDigi.h.
Referenced by CSCDDUStatusDigi(), and getDDUTTS().