29 int firstBX = -(ceil((
double)nBX/2.)-1);
32 lastBX = ceil((
double)nBX/2.);
34 lastBX = ceil((
double)nBX/2.)-1;
38 res_->setBXRange(firstBX, lastBX);
40 LogDebug(
"L1T") <<
"nBX = " << nBX <<
" first BX = " << firstBX <<
" lastBX = " << lastBX;
43 for (
int bx=firstBX; bx<=lastBX; bx++){
48 LogDebug(
"L1T") <<
"Creating GT External Block for BX =" << bx;
50 res_->push_back(bx,tExt);
58 uint32_t raw_data = block.
payload()[wd];
59 LogDebug(
"L1T") <<
" payload word " << wd <<
" 0x" << hex << raw_data;
BlockHeader header() const
std::vector< uint32_t > payload() const
#define DEFINE_L1T_UNPACKER(type)
virtual bool unpack(const Block &block, UnpackerCollections *coll) override