#include <MdtRODReadOut.h>
|
| 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 17 of file MdtRODReadOut.h.
◆ MdtRODReadOut()
| MdtRODReadOut::MdtRODReadOut |
( |
| ) |
|
◆ ~MdtRODReadOut()
| MdtRODReadOut::~MdtRODReadOut |
( |
| ) |
|
|
default |
◆ bcId()
| uint16_t MdtRODReadOut::bcId |
( |
| ) |
const |
|
inline |
◆ decodeFooter()
| void MdtRODReadOut::decodeFooter |
( |
const std::vector< uint32_t > & | p | ) |
|
◆ decodeHeader()
| void MdtRODReadOut::decodeHeader |
( |
const std::vector< uint32_t > & | p | ) |
|
Definition at line 19 of file MdtRODReadOut.cxx.
19 {
20
22
25 <<
"ROD Start of header marker not found" <<
endmsg;
26 }
30 }
31
32
33
37
38
41
42
45
46
49}
#define REPORT_MESSAGE_WITH_CONTEXT(LVL, CONTEXT_NAME)
Report a message, with an explicitly specified context name.
static constexpr uint32_t s_RODstart
static constexpr uint32_t s_RODheadersize
uint32_t getBits(std::pair< uint32_t, uint16_t > wordbstop) const
constexpr std::pair< uint32_t, uint16_t > getBitsWord(const uint16_t bstart, const uint16_t bstop)
◆ encodeFooter()
| uint32_t * MdtRODReadOut::encodeFooter |
( |
| ) |
|
|
static |
◆ getBits()
| uint32_t MdtReadOut::getBits |
( |
std::pair< uint32_t, uint16_t > | wordbstop | ) |
const |
|
inlineprotectedinherited |
◆ getBitsWord()
| 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.
20 {
22 for (uint16_t i = bstop;
i < bstart;
i++) word = ((word | 1) << 1);
23 return std::make_pair(word, bstop);
24 }
◆ lvl1Id()
| uint32_t MdtRODReadOut::lvl1Id |
( |
| ) |
const |
|
inline |
◆ makeFormatVersion()
| uint32_t MdtRODReadOut::makeFormatVersion |
( |
| ) |
|
|
inlineconstexpr |
Definition at line 44 of file MdtRODReadOut.h.
static constexpr uint32_t s_RODversion
◆ makeHeaderMarker()
| uint32_t MdtRODReadOut::makeHeaderMarker |
( |
| ) |
|
|
inlineconstexpr |
◆ makeHeaderSize()
| uint32_t MdtRODReadOut::makeHeaderSize |
( |
| ) |
|
|
inlineconstexpr |
◆ makeRODId()
| uint32_t MdtRODReadOut::makeRODId |
( |
uint16_t | subdet, |
|
|
uint16_t | mrod ) |
Definition at line 54 of file MdtRODReadOut.cxx.
54 {
55 uint16_t inputData[4] = {0, 0, subdet, mrod};
56 uint16_t inputPos[4] = {24, 16, 8, 0};
58
59 return setBits(nData, inputData, inputPos);
60}
static uint32_t setBits(uint16_t nData, const uint16_t *inputData, const uint16_t *inputPos)
◆ mrodId()
| uint16_t MdtRODReadOut::mrodId |
( |
| ) |
const |
|
inline |
◆ setBits() [1/2]
| uint32_t MdtReadOut::setBits |
( |
uint16_t | nData, |
|
|
const uint16_t * | inputData, |
|
|
const uint16_t * | inputPos ) |
|
staticprotectedinherited |
Definition at line 14 of file MdtReadOut.cxx.
14 {
18 for (uint16_t i = 0;
i < nData;
i++) {
20 pos = *(inputPos +
i);
22 }
24}
◆ setBits() [2/2]
| uint32_t MdtReadOut::setBits |
( |
uint16_t | nData, |
|
|
const uint32_t * | inputData, |
|
|
const uint16_t * | inputPos ) |
|
staticprotectedinherited |
Definition at line 27 of file MdtReadOut.cxx.
27 {
31 for (uint16_t i = 0;
i < nData;
i++) {
33 pos = *(inputPos +
i);
35 }
37}
◆ setZero()
| void MdtRODReadOut::setZero |
( |
| ) |
|
|
private |
◆ subdetId()
| uint16_t MdtRODReadOut::subdetId |
( |
| ) |
const |
|
inline |
◆ trigtypeId()
| uint16_t MdtRODReadOut::trigtypeId |
( |
| ) |
const |
|
inline |
◆ m_bcId
| uint16_t MdtRODReadOut::m_bcId |
|
private |
◆ m_lvl1Id
| uint32_t MdtRODReadOut::m_lvl1Id |
|
private |
◆ m_mrodId
| uint16_t MdtRODReadOut::m_mrodId |
|
private |
◆ m_subdetId
| uint16_t MdtRODReadOut::m_subdetId |
|
private |
◆ m_triggerTypeId
| uint16_t MdtRODReadOut::m_triggerTypeId |
|
private |
◆ m_word
| uint32_t MdtReadOut::m_word |
|
protectedinherited |
◆ s_RODheadersize
| uint32_t MdtRODReadOut::s_RODheadersize = 0x8 |
|
staticconstexprprivate |
◆ s_RODstart
| uint32_t MdtRODReadOut::s_RODstart = 0xee1234ee |
|
staticconstexprprivate |
◆ s_RODversion
| uint32_t MdtRODReadOut::s_RODversion = 0 |
|
staticconstexprprivate |
The documentation for this class was generated from the following files: