30 res1_->setBXRange(0,1);
31 res2_->setBXRange(0,1);
38 uint32_t raw_data = block.
payload()[i++];
47 res2_->push_back(0,et);
50 for (
int j=0;
j<9;
j++) raw_data=block.
payload()[i++];
54 raw_data = block.
payload()[i++];
63 res2_->push_back(0,ht);
66 for (
int j=0;
j<26;
j++) raw_data=block.
payload()[i++];
69 for (
unsigned nJet=0; nJet < 2; nJet++){
70 raw_data = block.
payload()[i++];
86 jet.
setHwEta(etasign*(raw_data & 0x3F));
87 jet.
setHwPhi((raw_data >> 6) & 0x7F);
88 jet.
setHwPt((raw_data >> 13) & 0xFFFF);
92 res1_->push_back(0,jet);
virtual bool unpack(const Block &block, UnpackerCollections *coll) override
BlockHeader header() const
std::vector< uint32_t > payload() const
void setType(EtSumType type)
#define DEFINE_L1T_UNPACKER(type)