10 LogDebug(
"L1T") <<
"Block ID = " <<
block.header().getID() <<
" size = " <<
block.header().getSize();
16 auto resHFBitCounts_ =
static_cast<CaloCollections*
>(coll)->getCaloSpareHFBitCounts();
19 auto resHFRingSums_ =
static_cast<CaloCollections*
>(coll)->getCaloSpareHFRingSums();
29 uint32_t raw_data0 =
block.payload()[
i++];
30 uint32_t raw_data1 =
block.payload()[
i++];
35 candbit[0] = raw_data0 & 0xFFFF;
36 candbit[1] = raw_data1 & 0xFFFF;
38 int hfbitcount = candbit[0] & 0xFFF;
39 int hfringsum = ((candbit[0] >> 12) & 0x7) | ((candbit[1] & 0x1FF) << 3);
45 resHFBitCounts_->push_back(
bx, hfbc);
51 resHFRingSums_->push_back(
bx, hfrs);
constexpr int32_t ceil(float num)
void getBXRange(int nbx, int &first, int &last)
void setType(CaloSpareType type)
bool unpack(const Block &block, UnpackerCollections *coll) override
#define DEFINE_L1T_UNPACKER(type)