CMS 3D CMS Logo

linpuppi_bits.h
Go to the documentation of this file.
1 #ifndef L1Trigger_Phase2L1ParticleFlow_LINPUPPI_BITS_H
2 #define L1Trigger_Phase2L1ParticleFlow_LINPUPPI_BITS_H
3 
5 
6 namespace linpuppi {
7  typedef ap_ufixed<12, 6, AP_TRN, AP_SAT> sumTerm_t;
8  typedef ap_ufixed<16, 0, AP_RND, AP_SAT> dr2inv_t;
9  typedef ap_fixed<12, 7, AP_TRN, AP_SAT> x2_t;
10  typedef ap_ufixed<7, 2, AP_RND, AP_WRAP> alphaSlope_t;
11  typedef ap_fixed<12, 8, AP_RND, AP_WRAP> alpha_t;
12  typedef ap_ufixed<6, 0, AP_TRN, AP_WRAP> ptSlope_t;
13 
16  constexpr int SUM_BITSHIFT = sumTerm_t::width - sumTerm_t::iwidth;
17 } // namespace linpuppi
18 
19 #endif
ap_ufixed< 7, 2, AP_RND, AP_WRAP > alphaSlope_t
Definition: linpuppi_bits.h:10
constexpr float INTPT_LSB
Definition: datatypes.h:143
constexpr float ETAPHI_LSB
Definition: datatypes.h:144
ap_ufixed< 16, 0, AP_RND, AP_SAT > dr2inv_t
Definition: linpuppi_bits.h:8
ap_ufixed< 12, 6, AP_TRN, AP_SAT > sumTerm_t
Definition: linpuppi_bits.h:7
ap_fixed< 12, 7, AP_TRN, AP_SAT > x2_t
Definition: linpuppi_bits.h:9
constexpr int SUM_BITSHIFT
Definition: linpuppi_bits.h:16
constexpr float PT2DR2_LSB
Definition: linpuppi_bits.h:15
ap_fixed< 12, 8, AP_RND, AP_WRAP > alpha_t
Definition: linpuppi_bits.h:11
ap_ufixed< 6, 0, AP_TRN, AP_WRAP > ptSlope_t
Definition: linpuppi_bits.h:12
constexpr float DR2_LSB
Definition: linpuppi_bits.h:14