#include <MdtHptdcReadOut.h>
|
| MdtHptdcReadOut () |
|
| ~MdtHptdcReadOut ()=default |
|
void | decodeWord (uint32_t dataWord) |
|
void | encodeWord (uint16_t headerVal) |
|
bool | is_BOT () const |
|
bool | is_EOT () const |
|
bool | is_TSM () const |
|
bool | is_TCM () const |
|
bool | is_TES () const |
|
uint16_t | tdcId () const |
|
uint16_t | ecnt () const |
|
uint16_t | bcId () const |
|
uint16_t | channel () const |
|
uint16_t | coarse () const |
|
uint16_t | fine () const |
|
uint16_t | width () const |
|
bool | errflag () const |
|
bool | isLeading () const |
|
uint32_t | makeBOT (uint16_t tdcId, uint16_t ecnt, uint16_t bcid) |
|
uint32_t | makeEOT (uint16_t tdcId, uint16_t ecnt, uint16_t wcnt) |
|
uint32_t | makeTSM (uint16_t tdcId, uint16_t channel, bool leading, uint16_t coarse, uint16_t fine) |
|
uint32_t | makeTCM (uint16_t tdcId, uint16_t channel, uint16_t width, uint16_t coarse, uint16_t fine) |
|
|
constexpr std::pair< uint32_t, uint16_t > | getBitsWord (const uint16_t bstart, const uint16_t bstop) |
|
uint32_t | getBits (std::pair< uint32_t, uint16_t > wordbstop) const |
|
|
static uint32_t | setBits (uint16_t nData, const uint16_t *inputData, const uint16_t *inputPos) |
|
static uint32_t | setBits (uint16_t nData, const uint32_t *inputData, const uint16_t *inputPos) |
|
Definition at line 15 of file MdtHptdcReadOut.h.
◆ MdtHptdcReadOut()
MdtHptdcReadOut::MdtHptdcReadOut |
( |
| ) |
|
◆ ~MdtHptdcReadOut()
MdtHptdcReadOut::~MdtHptdcReadOut |
( |
| ) |
|
|
default |
◆ bcId()
uint16_t MdtHptdcReadOut::bcId |
( |
| ) |
const |
|
inline |
◆ channel()
uint16_t MdtHptdcReadOut::channel |
( |
| ) |
const |
|
inline |
◆ coarse()
uint16_t MdtHptdcReadOut::coarse |
( |
| ) |
const |
|
inline |
◆ decodeWord()
void MdtHptdcReadOut::decodeWord |
( |
uint32_t |
dataWord | ) |
|
◆ ecnt()
uint16_t MdtHptdcReadOut::ecnt |
( |
| ) |
const |
|
inline |
◆ encodeWord()
void MdtHptdcReadOut::encodeWord |
( |
uint16_t |
headerVal | ) |
|
◆ errflag()
bool MdtHptdcReadOut::errflag |
( |
| ) |
const |
|
inline |
◆ fine()
uint16_t MdtHptdcReadOut::fine |
( |
| ) |
const |
|
inline |
◆ getBits()
uint32_t MdtReadOut::getBits |
( |
std::pair< uint32_t, uint16_t > |
wordbstop | ) |
const |
|
inlineprotectedinherited |
◆ getBitsWord()
constexpr std::pair<uint32_t, uint16_t> MdtReadOut::getBitsWord |
( |
const uint16_t |
bstart, |
|
|
const uint16_t |
bstop |
|
) |
| |
|
inlineconstexprprotectedinherited |
Definition at line 20 of file MdtReadOut.h.
22 for (
uint16_t i = bstop;
i < bstart;
i++) word = ((word | 1) << 1);
23 return std::make_pair(word, bstop);
◆ is_BOT()
bool MdtHptdcReadOut::is_BOT |
( |
| ) |
const |
|
inline |
◆ is_EOT()
bool MdtHptdcReadOut::is_EOT |
( |
| ) |
const |
|
inline |
◆ is_TCM()
bool MdtHptdcReadOut::is_TCM |
( |
| ) |
const |
|
inline |
◆ is_TES()
bool MdtHptdcReadOut::is_TES |
( |
| ) |
const |
|
inline |
◆ is_TSM()
bool MdtHptdcReadOut::is_TSM |
( |
| ) |
const |
|
inline |
◆ isLeading()
bool MdtHptdcReadOut::isLeading |
( |
| ) |
const |
|
inline |
◆ makeBOT()
uint32_t MdtHptdcReadOut::makeBOT |
( |
uint16_t |
tdcId, |
|
|
uint16_t |
ecnt, |
|
|
uint16_t |
bcid |
|
) |
| |
◆ makeEOT()
uint32_t MdtHptdcReadOut::makeEOT |
( |
uint16_t |
tdcId, |
|
|
uint16_t |
ecnt, |
|
|
uint16_t |
wcnt |
|
) |
| |
◆ makeTCM()
uint32_t MdtHptdcReadOut::makeTCM |
( |
uint16_t |
tdcId, |
|
|
uint16_t |
channel, |
|
|
uint16_t |
width, |
|
|
uint16_t |
coarse, |
|
|
uint16_t |
fine |
|
) |
| |
◆ makeTSM()
uint32_t MdtHptdcReadOut::makeTSM |
( |
uint16_t |
tdcId, |
|
|
uint16_t |
channel, |
|
|
bool |
leading, |
|
|
uint16_t |
coarse, |
|
|
uint16_t |
fine |
|
) |
| |
◆ setBits() [1/2]
uint32_t MdtReadOut::setBits |
( |
uint16_t |
nData, |
|
|
const uint16_t * |
inputData, |
|
|
const uint16_t * |
inputPos |
|
) |
| |
|
staticprotectedinherited |
◆ setBits() [2/2]
uint32_t MdtReadOut::setBits |
( |
uint16_t |
nData, |
|
|
const uint32_t * |
inputData, |
|
|
const uint16_t * |
inputPos |
|
) |
| |
|
staticprotectedinherited |
◆ setZero()
void MdtHptdcReadOut::setZero |
( |
| ) |
|
|
private |
◆ tdcId()
uint16_t MdtHptdcReadOut::tdcId |
( |
| ) |
const |
|
inline |
◆ width()
uint16_t MdtHptdcReadOut::width |
( |
| ) |
const |
|
inline |
◆ BOTVALUE1
constexpr uint16_t MdtHptdcReadOut::BOTVALUE1 = 0xa |
|
staticconstexprprivate |
◆ BOTVALUE2
constexpr uint16_t MdtHptdcReadOut::BOTVALUE2 = 0xb |
|
staticconstexprprivate |
◆ EOTVALUE
constexpr uint16_t MdtHptdcReadOut::EOTVALUE = 0xc |
|
staticconstexprprivate |
◆ HEADERBITS
constexpr uint16_t MdtHptdcReadOut::HEADERBITS = 0xf |
|
staticconstexprprivate |
◆ HEADERPOS
constexpr uint16_t MdtHptdcReadOut::HEADERPOS = 28 |
|
staticconstexprprivate |
◆ m_bcId
uint16_t MdtHptdcReadOut::m_bcId |
|
private |
◆ m_channel
uint16_t MdtHptdcReadOut::m_channel |
|
private |
◆ m_coarse
uint16_t MdtHptdcReadOut::m_coarse |
|
private |
◆ m_dataWord
uint32_t MdtHptdcReadOut::m_dataWord |
|
private |
◆ m_ecnt
uint16_t MdtHptdcReadOut::m_ecnt |
|
private |
◆ m_errflag
bool MdtHptdcReadOut::m_errflag |
|
private |
◆ m_fine
uint16_t MdtHptdcReadOut::m_fine |
|
private |
◆ m_leading
bool MdtHptdcReadOut::m_leading |
|
private |
◆ m_tdcId
uint16_t MdtHptdcReadOut::m_tdcId |
|
private |
◆ m_wcnt
uint16_t MdtHptdcReadOut::m_wcnt |
|
private |
◆ m_width
uint16_t MdtHptdcReadOut::m_width |
|
private |
◆ m_word
uint32_t MdtReadOut::m_word |
|
protectedinherited |
◆ m_wordHeader
uint16_t MdtHptdcReadOut::m_wordHeader |
|
private |
◆ TCMVALUE
constexpr uint16_t MdtHptdcReadOut::TCMVALUE = 0x9 |
|
staticconstexprprivate |
◆ TESVALUE
constexpr uint16_t MdtHptdcReadOut::TESVALUE = 0x6 |
|
staticconstexprprivate |
◆ TSMVALUE_LEAD
constexpr uint16_t MdtHptdcReadOut::TSMVALUE_LEAD = 0x4 |
|
staticconstexprprivate |
◆ TSMVALUE_TAIL
constexpr uint16_t MdtHptdcReadOut::TSMVALUE_TAIL = 0x5 |
|
staticconstexprprivate |
The documentation for this class was generated from the following files: