1 #ifndef DataFormats_L1TParticleFlow_jets_h 2 #define DataFormats_L1TParticleFlow_jets_h 38 inline ap_uint<BITWIDTH>
pack_ap()
const {
39 ap_uint<BITWIDTH>
ret;
40 unsigned int start = 0;
47 inline std::array<uint64_t, 2>
pack()
const {
48 std::array<uint64_t, 2> packed;
62 unsigned int start = 0;
70 ap_uint<BITWIDTH>
bits =
src[0];
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)
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
ap_ufixed< 14, 12, AP_TRN, AP_SAT > pt_t
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)