#include <Block.h>
Definition at line 54 of file Block.h.
◆ Block() [1/2]
l1t::Block::Block |
( |
const BlockHeader & |
h, |
|
|
const uint32_t * |
payload_start, |
|
|
const uint32_t * |
payload_end |
|
) |
| |
|
inline |
◆ Block() [2/2]
l1t::Block::Block |
( |
unsigned int |
id, |
|
|
const std::vector< uint32_t > & |
payload, |
|
|
unsigned int |
capID = 0 , |
|
|
unsigned int |
flags = 0 , |
|
|
block_t |
type = MP7 |
|
) |
| |
|
inline |
◆ amc() [1/2]
◆ amc() [2/2]
◆ getBxBlocks()
BxBlocks l1t::Block::getBxBlocks |
( |
unsigned int |
payloadWordsPerBx, |
|
|
bool |
bxHeader |
|
) |
| const |
Definition at line 42 of file Block.cc.
46 unsigned int wordsPerBx = payloadWordsPerBx;
51 unsigned int nBxBlocks =
payload_.size() / wordsPerBx;
52 for (
size_t bxCtr = 0; bxCtr < nBxBlocks; ++bxCtr) {
53 size_t startIdx = bxCtr * wordsPerBx;
54 auto startBxBlock =
payload_.cbegin() + startIdx;
57 bxBlocks.emplace_back(startBxBlock, startBxBlock + wordsPerBx);
59 bxBlocks.emplace_back(bxCtr, nBxBlocks, startBxBlock, startBxBlock + wordsPerBx);
References payload_.
◆ getSize()
unsigned int l1t::Block::getSize |
( |
| ) |
const |
|
inline |
◆ header()
◆ operator<()
bool l1t::Block::operator< |
( |
const Block & |
o | ) |
const |
|
inline |
◆ payload()
const std::vector<uint32_t>& l1t::Block::payload |
( |
| ) |
const |
|
inline |
◆ amc_
◆ header_
◆ payload_
std::vector<uint32_t> l1t::Block::payload_ |
|
private |