18 LogDebug(
"L1T") <<
"Block ID = " <<
block.header().getID() <<
" size = " <<
block.header().getSize();
33 auto res_ = static_cast<L1TObjectCollections*>(coll)->getEtSums(
EtSumCopy_);
43 uint32_t raw_data =
block.payload().at(iFrame);
47 et.setHwPt(raw_data & 0xFFF);
51 LogDebug(
"L1T") <<
"ET: pT " <<
et.hwPt() <<
" bx " <<
bx;
53 res_->push_back(
bx,
et);
59 etem.
setHwPt((raw_data >> 12) & 0xFFF);
65 res_->push_back(
bx, etem);
70 mbp0.
setHwPt((raw_data >> 28) & 0xf);
73 res_->push_back(
bx, mbp0);
77 raw_data =
block.payload()[iFrame + 1];
87 res_->push_back(
bx, ht);
92 mbm0.
setHwPt((raw_data >> 28) & 0xf);
95 res_->push_back(
bx, mbm0);
99 raw_data =
block.payload()[iFrame + 2];
103 met.setHwPt(raw_data & 0xFFF);
104 met.setHwPhi((raw_data >> 12) & 0xFF);
108 LogDebug(
"L1T") <<
"MET: phi " <<
met.hwPhi() <<
" pT " <<
met.hwPt() <<
" bx " <<
bx;
110 res_->push_back(
bx,
met);
115 mbp1.
setHwPt((raw_data >> 28) & 0xf);
118 res_->push_back(
bx, mbp1);
123 etAsym.
setHwPt((raw_data >> 20) & 0xFF);
126 res_->push_back(
bx, etAsym);
130 raw_data =
block.payload()[iFrame + 3];
135 mht.
setHwPhi((raw_data >> 12) & 0xFF);
141 res_->push_back(
bx, mht);
146 mbm1.
setHwPt((raw_data >> 28) & 0xf);
149 res_->push_back(
bx, mbm1);
154 htAsym.
setHwPt((raw_data >> 20) & 0xFF);
157 res_->push_back(
bx, htAsym);
161 raw_data =
block.payload()[iFrame + 4];
165 methf.
setHwPt(raw_data & 0xFFF);
166 methf.
setHwPhi((raw_data >> 12) & 0xFF);
170 LogDebug(
"L1T") <<
"METHF: phi " << methf.
hwPhi() <<
" pT " << methf.
hwPt() <<
" bx " <<
bx;
172 res_->push_back(
bx, methf);
177 etHFAsym.
setHwPt((raw_data >> 20) & 0xFF);
180 res_->push_back(
bx, etHFAsym);
184 uint32_t centLN = ((raw_data >> 28) & 0xF);
188 raw_data =
block.payload()[iFrame + 5];
192 mhthf.
setHwPt(raw_data & 0xFFF);
193 mhthf.
setHwPhi((raw_data >> 12) & 0xFF);
197 LogDebug(
"L1T") <<
"MHThf: phi " << mhthf.
hwPhi() <<
" pT " << mhthf.
hwPt() <<
" bx " <<
bx;
199 res_->push_back(
bx, mhthf);
204 htHFAsym.
setHwPt((raw_data >> 20) & 0xFF);
207 res_->push_back(
bx, htHFAsym);
211 uint32_t centUN = ((raw_data >> 28) & 0xF);
214 cent.
setHwPt((centUN << 4) | centLN);
217 res_->push_back(
bx, cent);
221 raw_data =
block.payload()[iFrame + 1];
224 towCount.
setHwPt((raw_data >> 12) & 0x1FFF);
228 res_->push_back(
bx, towCount);