10 LogDebug(
"L1T") <<
"Block ID = " <<
block.header().getID() <<
" size = " <<
block.header().getSize();
26 reset_->resize(
bx, 4);
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 htmissphi = candbit[0] & 0x1F;
38 int htmiss = (candbit[0] >> 5) & 0x7F;
39 int overflowhtmiss = (candbit[0] >> 12) & 0
x1;
43 mht.setHwPhi(htmissphi);
44 int flaghtmiss = mht.hwQual();
45 flaghtmiss |= overflowhtmiss;
46 mht.setHwQual(flaghtmiss);
47 LogDebug(
"L1T") <<
"MHT: pT " << mht.hwPt() <<
"is overflow " << overflowhtmiss << std::endl;
48 reset_->set(
bx, 1, mht);
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)