#include <CSCDDUEventData.h>
Public Member Functions | |
void | add (CSCEventData &, int dmbId, int dduInput, unsigned int format_version=2005) |
for making events. Sets the bxnum and lvl1num inside the chamber event More... | |
bool | check () const |
const std::vector< CSCEventData > & | cscData () const |
accessor to data More... | |
CSCDDUEventData (const CSCDDUHeader &) | |
CSCDDUEventData (unsigned short *buf, CSCDCCExaminer *examiner=NULL) | |
CSCDCCHeader | dccHeader () const |
CSCDCCTrailer | dccTrailer () const |
void | decodeStatus (int status) const |
void | decodeStatus () const |
CSCDDUHeader | header () const |
boost::dynamic_bitset | pack () |
Alex check this 16 or 64. More... | |
int | size () const |
int | sizeInWords () const |
CSCDDUTrailer | trailer () const |
uint16_t | trailer0 () const |
~CSCDDUEventData () | |
Static Public Member Functions | |
static void | setDebug (bool value) |
static void | setErrorMask (unsigned int value) |
Public Attributes | |
long unsigned int | errorstat |
trailer info More... | |
Static Public Attributes | |
static std::atomic< bool > | debug {false} |
static std::atomic< unsigned int > | errMask {0xFFFFFFFF} |
Protected Member Functions | |
void | unpack_data (unsigned short *buf, CSCDCCExaminer *examiner=NULL) |
a good test routine would be to unpack data, then pack it again. More... | |
Protected Attributes | |
std::vector< CSCEventData > | theData |
CSCDCCHeader | theDCCHeader |
CSCDCCTrailer | theDCCTrailer |
CSCDDUHeader | theDDUHeader |
CSCDDUTrailer | theDDUTrailer |
uint16_t | theDDUTrailer0 |
uint16_t | theFormatVersion |
int | theSizeInWords |
Definition at line 19 of file CSCDDUEventData.h.
|
explicit |
Definition at line 26 of file CSCDDUEventData.cc.
|
explicit |
CSCDDUEventData::~CSCDDUEventData | ( | ) |
Definition at line 37 of file CSCDDUEventData.cc.
void CSCDDUEventData::add | ( | CSCEventData & | , |
int | dmbId, | ||
int | dduInput, | ||
unsigned int | format_version = 2005 |
||
) |
for making events. Sets the bxnum and lvl1num inside the chamber event
Definition at line 42 of file CSCDDUEventData.cc.
Referenced by counter.Counter::register().
bool CSCDDUEventData::check | ( | ) | const |
Definition at line 335 of file CSCDDUEventData.cc.
Referenced by CSCDCCEventData::unpack_data().
|
inline |
accessor to data
Definition at line 34 of file CSCDDUEventData.h.
References theData.
Referenced by CSCDDUDataItr::CSCDDUDataItr(), and CSCDDUDataItr::operator*().
|
inline |
|
inline |
void CSCDDUEventData::decodeStatus | ( | int | status | ) | const |
prints out the error associated with this status from the header or trailer
this is a mask for printing out errors
Definition at line 59 of file CSCDDUEventData.cc.
void CSCDDUEventData::decodeStatus | ( | ) | const |
Definition at line 54 of file CSCDDUEventData.cc.
|
inline |
boost::dynamic_bitset CSCDDUEventData::pack | ( | ) |
Alex check this 16 or 64.
returns packed event data
Definition at line 347 of file CSCDDUEventData.cc.
Referenced by pyrootRender.interactiveRender::draw().
|
inlinestatic |
|
inlinestatic |
Definition at line 31 of file CSCDDUEventData.h.
References errMask, and relativeConstraints::value.
|
inline |
|
inline |
Definition at line 56 of file CSCDDUEventData.h.
References theSizeInWords.
Referenced by CSCDCCEventData::unpack_data().
|
inline |
|
inline |
|
protected |
a good test routine would be to unpack data, then pack it again.
To pack trailer 0
New Data Format 2013
Older Data format before 2013
Pack Trailer 0 (to access TTS)
Definition at line 160 of file CSCDDUEventData.cc.
|
static |
Definition at line 66 of file CSCDDUEventData.h.
Referenced by setDebug().
|
static |
Definition at line 67 of file CSCDDUEventData.h.
Referenced by setErrorMask().
long unsigned int CSCDDUEventData::errorstat |
trailer info
Definition at line 48 of file CSCDDUEventData.h.
|
protected |
Definition at line 76 of file CSCDDUEventData.h.
Referenced by cscData().
|
protected |
Definition at line 73 of file CSCDDUEventData.h.
Referenced by dccHeader().
|
protected |
Definition at line 78 of file CSCDDUEventData.h.
Referenced by dccTrailer().
|
protected |
Definition at line 74 of file CSCDDUEventData.h.
Referenced by header().
|
protected |
Definition at line 77 of file CSCDDUEventData.h.
Referenced by trailer().
|
protected |
Definition at line 79 of file CSCDDUEventData.h.
Referenced by trailer0().
|
protected |
Definition at line 81 of file CSCDDUEventData.h.
|
protected |
Definition at line 80 of file CSCDDUEventData.h.
Referenced by size(), and sizeInWords().