#include <MdtAmtReadOut.h>
|
| MdtAmtReadOut () |
|
| ~MdtAmtReadOut ()=default |
|
void | decodeWord (uint32_t dataWord) |
|
void | encodeWord (uint16_t headerVal) |
|
bool | is_BOT () |
|
bool | is_EOT () |
|
bool | is_TMC () |
|
bool | is_TSM () |
|
bool | is_TCM () |
|
bool | is_TES () |
|
bool | is_TWC () |
|
uint16_t | tdcId () |
|
uint16_t | ecnt () |
|
uint16_t | bcId () |
|
uint16_t | jt () |
|
uint16_t | channel () |
|
uint16_t | coarse () |
|
uint16_t | fine () |
|
uint16_t | width () |
|
bool | errflag () |
|
uint16_t | errstatus () |
|
uint32_t | masked () |
|
bool | isLeading () |
|
uint32_t | makeBOT (uint16_t tdcId, uint16_t ecnt, uint16_t bcid) |
|
uint32_t | makeEOT (uint16_t jt, uint16_t ecnt, uint16_t wcnt) |
|
uint32_t | makeTSM (uint16_t jt, uint16_t channel, bool leading, bool errflag, uint16_t coarse, uint16_t fine) |
|
uint32_t | makeTCM (uint16_t jt, uint16_t channel, uint16_t width, uint16_t coarse, uint16_t fine) |
|
uint32_t | makeTMC (uint16_t jt, uint32_t masked) |
|
|
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 MdtAmtReadOut.h.
◆ MdtAmtReadOut()
MdtAmtReadOut::MdtAmtReadOut |
( |
| ) |
|
◆ ~MdtAmtReadOut()
MdtAmtReadOut::~MdtAmtReadOut |
( |
| ) |
|
|
default |
◆ bcId()
uint16_t MdtAmtReadOut::bcId |
( |
| ) |
|
|
inline |
◆ channel()
uint16_t MdtAmtReadOut::channel |
( |
| ) |
|
|
inline |
◆ coarse()
uint16_t MdtAmtReadOut::coarse |
( |
| ) |
|
|
inline |
◆ decodeWord()
void MdtAmtReadOut::decodeWord |
( |
uint32_t |
dataWord | ) |
|
◆ ecnt()
uint16_t MdtAmtReadOut::ecnt |
( |
| ) |
|
|
inline |
◆ encodeWord()
void MdtAmtReadOut::encodeWord |
( |
uint16_t |
headerVal | ) |
|
◆ errflag()
bool MdtAmtReadOut::errflag |
( |
| ) |
|
|
inline |
◆ errstatus()
uint16_t MdtAmtReadOut::errstatus |
( |
| ) |
|
|
inline |
◆ fine()
uint16_t MdtAmtReadOut::fine |
( |
| ) |
|
|
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 MdtAmtReadOut::is_BOT |
( |
| ) |
|
|
inline |
◆ is_EOT()
bool MdtAmtReadOut::is_EOT |
( |
| ) |
|
|
inline |
◆ is_TCM()
bool MdtAmtReadOut::is_TCM |
( |
| ) |
|
|
inline |
◆ is_TES()
bool MdtAmtReadOut::is_TES |
( |
| ) |
|
|
inline |
◆ is_TMC()
bool MdtAmtReadOut::is_TMC |
( |
| ) |
|
|
inline |
◆ is_TSM()
bool MdtAmtReadOut::is_TSM |
( |
| ) |
|
|
inline |
◆ is_TWC()
bool MdtAmtReadOut::is_TWC |
( |
| ) |
|
|
inline |
◆ isLeading()
bool MdtAmtReadOut::isLeading |
( |
| ) |
|
|
inline |
◆ jt()
uint16_t MdtAmtReadOut::jt |
( |
| ) |
|
|
inline |
◆ makeBOT()
uint32_t MdtAmtReadOut::makeBOT |
( |
uint16_t |
tdcId, |
|
|
uint16_t |
ecnt, |
|
|
uint16_t |
bcid |
|
) |
| |
◆ makeEOT()
uint32_t MdtAmtReadOut::makeEOT |
( |
uint16_t |
jt, |
|
|
uint16_t |
ecnt, |
|
|
uint16_t |
wcnt |
|
) |
| |
◆ makeTCM()
uint32_t MdtAmtReadOut::makeTCM |
( |
uint16_t |
jt, |
|
|
uint16_t |
channel, |
|
|
uint16_t |
width, |
|
|
uint16_t |
coarse, |
|
|
uint16_t |
fine |
|
) |
| |
◆ makeTMC()
uint32_t MdtAmtReadOut::makeTMC |
( |
uint16_t |
jt, |
|
|
uint32_t |
masked |
|
) |
| |
◆ makeTSM()
uint32_t MdtAmtReadOut::makeTSM |
( |
uint16_t |
jt, |
|
|
uint16_t |
channel, |
|
|
bool |
leading, |
|
|
bool |
errflag, |
|
|
uint16_t |
coarse, |
|
|
uint16_t |
fine |
|
) |
| |
◆ masked()
uint32_t MdtAmtReadOut::masked |
( |
| ) |
|
|
inline |
◆ 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 MdtAmtReadOut::setZero |
( |
| ) |
|
|
private |
◆ tdcId()
uint16_t MdtAmtReadOut::tdcId |
( |
| ) |
|
|
inline |
◆ width()
uint16_t MdtAmtReadOut::width |
( |
| ) |
|
|
inline |
◆ m_bcId
uint16_t MdtAmtReadOut::m_bcId |
|
private |
◆ m_channel
uint16_t MdtAmtReadOut::m_channel |
|
private |
◆ m_coarse
uint16_t MdtAmtReadOut::m_coarse |
|
private |
◆ m_dataWord
uint32_t MdtAmtReadOut::m_dataWord |
|
private |
◆ m_ecnt
uint16_t MdtAmtReadOut::m_ecnt |
|
private |
◆ m_errflag
bool MdtAmtReadOut::m_errflag |
|
private |
◆ m_errstatus
uint16_t MdtAmtReadOut::m_errstatus |
|
private |
◆ m_fine
uint16_t MdtAmtReadOut::m_fine |
|
private |
◆ m_jt
uint16_t MdtAmtReadOut::m_jt |
|
private |
◆ m_leading
bool MdtAmtReadOut::m_leading |
|
private |
◆ m_masked
uint32_t MdtAmtReadOut::m_masked |
|
private |
◆ m_tdcId
uint16_t MdtAmtReadOut::m_tdcId |
|
private |
◆ m_wcnt
uint16_t MdtAmtReadOut::m_wcnt |
|
private |
◆ m_width
uint16_t MdtAmtReadOut::m_width |
|
private |
◆ m_word
uint32_t MdtReadOut::m_word |
|
protectedinherited |
◆ m_wordHeader
uint16_t MdtAmtReadOut::m_wordHeader |
|
private |
◆ s_BOTvalue1
constexpr uint16_t MdtAmtReadOut::s_BOTvalue1 = 0xa |
|
staticconstexprprivate |
◆ s_BOTvalue2
constexpr uint16_t MdtAmtReadOut::s_BOTvalue2 = 0xb |
|
staticconstexprprivate |
◆ s_EOTvalue
constexpr uint16_t MdtAmtReadOut::s_EOTvalue = 0xc |
|
staticconstexprprivate |
◆ s_headerBits
constexpr uint16_t MdtAmtReadOut::s_headerBits = 0xf |
|
staticconstexprprivate |
◆ s_headerPos
constexpr uint16_t MdtAmtReadOut::s_headerPos = 28 |
|
staticconstexprprivate |
◆ s_TCMvalue
constexpr uint16_t MdtAmtReadOut::s_TCMvalue = 0x4 |
|
staticconstexprprivate |
◆ s_TESvalue
constexpr uint16_t MdtAmtReadOut::s_TESvalue = 0x6 |
|
staticconstexprprivate |
◆ s_TMCvalue
constexpr uint16_t MdtAmtReadOut::s_TMCvalue = 0x2 |
|
staticconstexprprivate |
◆ s_TSMvalue
constexpr uint16_t MdtAmtReadOut::s_TSMvalue = 0x3 |
|
staticconstexprprivate |
◆ s_TWCvalue
constexpr uint16_t MdtAmtReadOut::s_TWCvalue = 0x8 |
|
staticconstexprprivate |
The documentation for this class was generated from the following files: