1 #ifndef DataFormats_L1TParticleFlow_jets_h 2 #define DataFormats_L1TParticleFlow_jets_h 44 inline ap_uint<BITWIDTH>
pack_ap()
const {
45 ap_uint<BITWIDTH>
ret;
46 unsigned int start = 0;
55 inline std::array<uint64_t, 2>
pack()
const {
56 std::array<uint64_t, 2> packed = {{0, 0}};
70 unsigned int start = 0;
80 ap_uint<BITWIDTH>
bits =
src[0];
float floatBtagScore() const
static Jet unpack_ap(const ap_uint< BITWIDTH > &src)
ap_uint< BITWIDTH > pack_ap() const
ret
prodAgent to be discontinued
l1gt::eta_t CTtoGT_eta(glbeta_t x)
bool operator>(const Jet &other) const
static Jet unpack(long long unsigned int &src)
ap_ufixed< 10, 1, AP_RND, AP_SAT > b_tag_score_t
float floatEta(eta_t eta)
void pack_into_bits(U &u, unsigned int &start, const T &data)
static Jet unpack(const std::array< uint64_t, 2 > &src)
std::array< uint64_t, 2 > pack() const
b_tag_score_t hwBtagScore
ap_ufixed< 14, 12, AP_TRN, AP_SAT > pt_t
float floatBtagScore(b_tag_score_t b_tag_score)
bool operator<(const Jet &other) const
static const int BITWIDTH
l1gt::phi_t CTtoGT_phi(glbphi_t x)
void initFromBits(const ap_uint< BITWIDTH > &src)
float floatPhi(phi_t phi)
void unpack_from_bits(const U &u, unsigned int &start, T &data)
bool operator==(const Jet &other) const
l1gt::pt_t CTtoGT_pt(pt_t x)