#include <ErrorRCDM.h>
Public Member Functions | |
ErrorRCDM (const DataRecord r) | |
unsigned int | link () const |
std::string | print () const |
unsigned int | rmb () const |
Static Public Member Functions | |
static bool | matchType (const DataRecord &record) |
Static Private Attributes | |
static const unsigned int | LNK_MASK = 0x1F |
static const unsigned int | RCDM_TYPE_FLAG = 0x1C |
static const unsigned int | RCDM_TYPE_SHIFT = 11 |
static const unsigned int | RMB_MASK = 0x3F |
static const unsigned int | RMB_SHIFT = 5 |
Definition at line 10 of file ErrorRCDM.h.
rpcrawtodigi::ErrorRCDM::ErrorRCDM | ( | const DataRecord | r | ) | [inline] |
Definition at line 13 of file ErrorRCDM.h.
: DataRecord(r) {}
unsigned int ErrorRCDM::link | ( | ) | const |
Definition at line 15 of file ErrorRCDM.cc.
References LNK_MASK, and rpcrawtodigi::DataRecord::theData.
Referenced by print().
bool ErrorRCDM::matchType | ( | const DataRecord & | record | ) | [static] |
Definition at line 5 of file ErrorRCDM.cc.
References rpcrawtodigi::DataRecord::data(), RCDM_TYPE_FLAG, and RCDM_TYPE_SHIFT.
Referenced by rpcrawtodigi::DataRecord::print(), and rpcrawtodigi::DataRecord::type().
{ return ( RCDM_TYPE_FLAG == static_cast<unsigned int>(record.data() >> RCDM_TYPE_SHIFT) ); }
std::string ErrorRCDM::print | ( | void | ) | const |
Reimplemented from rpcrawtodigi::DataRecord.
Definition at line 21 of file ErrorRCDM.cc.
Referenced by rpcrawtodigi::EventRecords::print(), and rpcrawtodigi::DataRecord::print().
unsigned int ErrorRCDM::rmb | ( | ) | const |
Definition at line 10 of file ErrorRCDM.cc.
References RMB_MASK, RMB_SHIFT, and rpcrawtodigi::DataRecord::theData.
Referenced by print().
const unsigned int rpcrawtodigi::ErrorRCDM::LNK_MASK = 0x1F [static, private] |
Definition at line 28 of file ErrorRCDM.h.
Referenced by link().
const unsigned int rpcrawtodigi::ErrorRCDM::RCDM_TYPE_FLAG = 0x1C [static, private] |
Definition at line 22 of file ErrorRCDM.h.
Referenced by matchType().
const unsigned int rpcrawtodigi::ErrorRCDM::RCDM_TYPE_SHIFT = 11 [static, private] |
Definition at line 23 of file ErrorRCDM.h.
Referenced by matchType().
const unsigned int rpcrawtodigi::ErrorRCDM::RMB_MASK = 0x3F [static, private] |
Definition at line 25 of file ErrorRCDM.h.
Referenced by rmb().
const unsigned int rpcrawtodigi::ErrorRCDM::RMB_SHIFT = 5 [static, private] |
Definition at line 26 of file ErrorRCDM.h.
Referenced by rmb().