10 LogDebug(
"L1T") <<
"Block ID = " <<
block.header().getID() <<
" size = " <<
block.header().getSize();
12 unsigned int wdPerBX = 6;
14 block.header().getSize() /
35 if (
block.header().getID() == 24) {
36 LogDebug(
"L1T") <<
"Creating GT External Block for BX =" <<
bx;
38 res_->push_back(
bx, tExt);
46 int extOffset = ((
block.header().getID() - 24) / 2) * 64;
48 for (
unsigned int wd = 0; wd < wdPerBX; wd++) {
49 uint32_t raw_data =
block.payload()[wd +
numBX * wdPerBX];
50 LogDebug(
"L1T") <<
" payload word " << wd <<
" 0x" << hex << raw_data;
53 for (
unsigned int bt = 0; bt < 32; bt++) {
54 int val = ((raw_data >> bt) & 0x1);
55 int extBit = bt + wd * 32 + extOffset;
57 ext.setExternalDecision(extBit,
true);
63 res_->set(
bx, 0,
ext);
constexpr int32_t ceil(float num)
static const unsigned int numBX
bool unpack(const Block &block, UnpackerCollections *coll) override
#define DEFINE_L1T_UNPACKER(type)