10 LogDebug(
"L1T") <<
"Block ID = " <<
block.header().getID() <<
" size = " <<
block.header().getSize();
28 uint32_t raw_data0 =
block.payload()[
i++];
29 uint32_t raw_data1 =
block.payload()[
i++];
34 candbit[0] = raw_data0 & 0xFFFF;
35 candbit[1] = raw_data1 & 0xFFFF;
37 int etmiss = candbit[0] & 0xFFF;
38 int overflowetmiss = (candbit[0] >> 12) & 0
x1;
39 int etmissphi = candbit[1] & 0x7F;
43 met.setHwPhi(etmissphi);
44 int flagetmiss =
met.hwQual();
45 flagetmiss |= overflowetmiss;
46 met.setHwQual(flagetmiss);
47 LogDebug(
"L1T") <<
"MET: pT " <<
met.hwPt() <<
"is overflow " << overflowetmiss << std::endl;
48 res_->set(
bx, 0,
met);
constexpr int32_t ceil(float num)
void getBXRange(int nbx, int &first, int &last)
bool unpack(const Block &block, UnpackerCollections *coll) override
#define DEFINE_L1T_UNPACKER(type)