#include <HcalUMNioDigi.h>
Public Member Functions | |
uint16_t | bunchNumber () const |
uint32_t | eventNumber () const |
uint8_t | eventType () const |
uint32_t | getUserWord (int id) const |
bool | getUserWord (int id, uint32_t &value) const |
bool | hasUserWord (int id) const |
HcalUMNioDigi () | |
HcalUMNioDigi (const uint16_t *ptr, int words) | |
HcalUMNioDigi (const std::vector< uint16_t > &words) | |
uint16_t | idUserWord (int iword) const |
bool | invalid () const |
bool | isSpill () const |
int | numberUserWords () const |
uint32_t | orbitNumber () const |
uint32_t | runNumber () const |
uint16_t | spillCounter () const |
uint32_t | valueUserWord (int iword) const |
Private Attributes | |
std::vector< uint16_t > | payload_ |
This class contains the readout data from the uMNio uTCA card as when used for orbit gap operations.
Definition at line 15 of file HcalUMNioDigi.h.
HcalUMNioDigi::HcalUMNioDigi | ( | ) |
Definition at line 4 of file HcalUMNioDigi.cc.
HcalUMNioDigi::HcalUMNioDigi | ( | const uint16_t * | ptr, |
int | words | ||
) |
HcalUMNioDigi::HcalUMNioDigi | ( | const std::vector< uint16_t > & | words | ) |
Definition at line 11 of file HcalUMNioDigi.cc.
uint16_t HcalUMNioDigi::bunchNumber | ( | ) | const |
Definition at line 24 of file HcalUMNioDigi.cc.
References invalid(), and payload_.
Referenced by operator<<().
uint32_t HcalUMNioDigi::eventNumber | ( | ) | const |
Definition at line 29 of file HcalUMNioDigi.cc.
References invalid(), and payload_.
Referenced by operator<<().
uint8_t HcalUMNioDigi::eventType | ( | ) | const |
Definition at line 35 of file HcalUMNioDigi.cc.
References invalid(), and payload_.
Referenced by HFRaddamTask::_isApplicable(), QIE11Task::_isApplicable(), PedestalTask::_isApplicable(), LEDTask::_isApplicable(), LaserTask::_isApplicable(), and operator<<().
uint32_t HcalUMNioDigi::getUserWord | ( | int | id | ) | const |
Definition at line 71 of file HcalUMNioDigi.cc.
Referenced by hasUserWord().
bool HcalUMNioDigi::getUserWord | ( | int | id, |
uint32_t & | value | ||
) | const |
Definition at line 76 of file HcalUMNioDigi.cc.
References mps_fire::i, numberUserWords(), and payload_.
bool HcalUMNioDigi::hasUserWord | ( | int | id | ) | const |
Definition at line 67 of file HcalUMNioDigi.cc.
References getUserWord().
uint16_t HcalUMNioDigi::idUserWord | ( | int | iword | ) | const |
Definition at line 57 of file HcalUMNioDigi.cc.
References numberUserWords(), and payload_.
Referenced by operator<<().
|
inline |
Definition at line 30 of file HcalUMNioDigi.h.
References payload_.
Referenced by bunchNumber(), eventNumber(), eventType(), isSpill(), numberUserWords(), orbitNumber(), runNumber(), and spillCounter().
bool HcalUMNioDigi::isSpill | ( | ) | const |
int HcalUMNioDigi::numberUserWords | ( | ) | const |
Definition at line 51 of file HcalUMNioDigi.cc.
References invalid(), and payload_.
Referenced by getUserWord(), idUserWord(), operator<<(), and valueUserWord().
uint32_t HcalUMNioDigi::orbitNumber | ( | ) | const |
Definition at line 19 of file HcalUMNioDigi.cc.
References invalid(), and payload_.
Referenced by operator<<().
uint32_t HcalUMNioDigi::runNumber | ( | ) | const |
Definition at line 13 of file HcalUMNioDigi.cc.
References invalid(), and payload_.
Referenced by operator<<().
uint16_t HcalUMNioDigi::spillCounter | ( | ) | const |
uint32_t HcalUMNioDigi::valueUserWord | ( | int | iword | ) | const |
Definition at line 62 of file HcalUMNioDigi.cc.
References numberUserWords(), and payload_.
Referenced by QIE11Task::_isApplicable(), LaserTask::_isApplicable(), and operator<<().
|
private |
Definition at line 40 of file HcalUMNioDigi.h.
Referenced by bunchNumber(), eventNumber(), eventType(), getUserWord(), HcalUMNioDigi(), idUserWord(), invalid(), isSpill(), numberUserWords(), orbitNumber(), runNumber(), spillCounter(), and valueUserWord().