8 htMiss.
Et = htSum.
p4().energy();
10 ap_uint<l1tmhtemu::kMHTSize>
HT = htSum.
hwPt();
11 ap_uint<l1tmhtemu::kValidSize>
valid = (htSum.
hwQual() > 0);
12 ap_uint<l1tmhtemu::kUnassignedSize> unassigned = 0;
13 ap_uint<64> htSumWord = (unassigned,
HT, htMiss.
Phi, htMiss.
Et.range(),
valid);
19 std::vector<ap_uint<64>> htSumWords;
21 for (
const auto& htSum : htSums)
24 std::array<std::vector<ap_uint<64>>, 1> linkData;
26 for (
size_t i = 0;
i < linkData.size();
i++) {
28 htSumWords.resize(1, 0);
29 linkData.at(
i) = htSumWords;
36 std::vector<l1t::EtSum> htSums;
38 for (
const auto&
x : frames) {
std::array< std::vector< ap_uint< 64 > >, 1 > encodeHtSums(const edm::View< l1t::EtSum > &)
ap_uint< kMHTPhiSize > MHTphi_t
ap_uint< 64 > encodeHtSum(const l1t::EtSum &v)
const LorentzVector & p4() const final
four-momentum Lorentz vector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
ap_ufixed< kMHTSize, kMHTIntSize > MHT_t
std::vector< l1t::EtSum > decodeHtSums(const std::vector< ap_uint< 64 >> &)