#include <Block.h>
Definition at line 70 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 40 of file Block.cc.
44 unsigned int wordsPerBx = payloadWordsPerBx;
49 unsigned int nBxBlocks =
payload_.size() / wordsPerBx;
50 for (
size_t bxCtr = 0; bxCtr < nBxBlocks; ++bxCtr) {
51 size_t startIdx = bxCtr * wordsPerBx;
52 auto startBxBlock =
payload_.cbegin() + startIdx;
55 bxBlocks.emplace_back(startBxBlock, startBxBlock + wordsPerBx);
57 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 |