11 LogDebug(
"L1T") <<
"Block ID = " <<
block.header().getID() <<
" size = " <<
block.header().getSize();
17 auto resHFBitCounts_ = static_cast<CaloCollections*>(coll)->getCaloSpareHFBitCounts();
20 auto resHFRingSums_ = static_cast<CaloCollections*>(coll)->getCaloSpareHFRingSums();
23 auto reset_ = static_cast<CaloCollections*>(coll)->getEtSums();
33 uint32_t raw_data0 =
block.payload()[
i++];
34 uint32_t raw_data1 =
block.payload()[
i++];
39 candbit[0] = raw_data0 & 0xFFFF;
40 candbit[1] = (raw_data0 >> 16) & 0xFFFF;
41 candbit[2] = raw_data1 & 0xFFFF;
42 candbit[3] = (raw_data1 >> 16) & 0xFFFF;
44 int hfbitcount = candbit[0] & 0xFFF;
45 int hfringsum = ((candbit[0] >> 12) & 0x7) | ((candbit[2] & 0x1FF) << 3);
46 int htmissphi = candbit[1] & 0x1F;
47 int htmiss = (candbit[1] >> 5) & 0x7F;
48 int overflowhtmiss = (candbit[1] >> 12) & 0
x1;
54 resHFBitCounts_->push_back(
bx, hfbc);
60 resHFRingSums_->push_back(
bx, hfrs);
66 int flaghtmiss = mht.
hwQual();
67 flaghtmiss |= overflowhtmiss;
69 LogDebug(
"L1T") <<
"MHT: pT " << mht.
hwPt() <<
"is overflow " << overflowhtmiss << std::endl;
70 reset_->push_back(
bx, mht);