18 LogDebug(
"L1T") <<
"Block ID = " <<
block.header().getID() <<
" size = " <<
block.header().getSize();
40 uint32_t raw_data =
block.payload().at(iFrame);
47 jet.setHwPt(raw_data & 0x7FF);
52 int abs_eta = (raw_data >> 11) & 0x7F;
53 if ((raw_data >> 18) & 0x1) {
54 jet.setHwEta(-1 * (128 - abs_eta));
56 jet.setHwEta(abs_eta);
59 jet.setHwPhi((raw_data >> 19) & 0xFF);
60 jet.setHwQual((raw_data >> 27) & 0x7);
62 LogDebug(
"L1T") <<
"Jet: eta " <<
jet.hwEta() <<
" phi " <<
jet.hwPhi() <<
" pT " <<
jet.hwPt() <<
" qual " 63 <<
jet.hwQual() <<
" bx " <<
bx;
67 res_->push_back(
bx,
jet);
constexpr int32_t ceil(float num)
const unsigned int nJetPerLink
const unsigned int nOutputFramePerBX
bool unpack(const Block &block, UnpackerCollections *coll) override
#define DEFINE_L1T_UNPACKER(type)