Typedefs | |
typedef ap_uint< 5 > | count_t |
typedef ap_fixed< 18, 9 > | detaphi2_t |
typedef ap_fixed< 12, 6 > | detaphi_t |
typedef ap_int< 8 > | dxy_t |
typedef ap_fixed< 10, 4 > | etaphi_t |
typedef ap_uint< 5 > | id_t |
typedef ap_ufixed< 18, -2 > | inv_pt_t |
typedef ap_fixed< 22, 16 > | pt_etaphi_t |
typedef ap_ufixed< 16, 14 > | pt_t |
typedef ap_int< 10 > | z0_t |
Functions | |
constexpr int | ceillog2 (int x) |
detaphi_t | deltaPhi (l1t::PFCandidate a, l1t::PFCandidate b) |
constexpr int | floorlog2 (int x) |
template<class data_T , int N> | |
unsigned | idx_from_real_val (data_T x) |
bool | inCone (l1t::PFCandidate seed, l1t::PFCandidate part, detaphi_t cone2) |
template<class data_T , class table_T , int N> | |
void | init_invert_table (table_T table_out[N]) |
template<class in_t , class table_t , int N> | |
table_t | invert_with_shift (in_t in, bool debug=false) |
constexpr int | pow2 (int x) |
template<class data_T , int N> | |
float | real_val_from_idx (unsigned i) |
Variables | |
static float | etaphi_base = 100. / 64 |
static const etaphi_t | FIDUCIAL_ETA_PHI = 5.11 * etaphi_base |
static const detaphi_t | HALFPI = 3.14159 / 2 * etaphi_base |
static constexpr int | N_table_inv_pt = 1024 |
static const detaphi_t | PI = 3.14159 * etaphi_base |
static const detaphi_t | R2CONE = RCONE * RCONE |
static const detaphi_t | RCONE = 0.4 * 100 / 128 |
static const detaphi_t | TWOPI = 3.14159 * 2. * etaphi_base |
typedef ap_uint<5> L1TauEmu::count_t |
Definition at line 43 of file TauNNIdHW.h.
typedef ap_fixed<18, 9> L1TauEmu::detaphi2_t |
Definition at line 39 of file TauNNIdHW.h.
typedef ap_fixed<12, 6> L1TauEmu::detaphi_t |
Definition at line 38 of file TauNNIdHW.h.
typedef ap_int<8> L1TauEmu::dxy_t |
Definition at line 41 of file TauNNIdHW.h.
typedef ap_fixed<10, 4> L1TauEmu::etaphi_t |
Definition at line 37 of file TauNNIdHW.h.
typedef ap_uint<5> L1TauEmu::id_t |
Definition at line 44 of file TauNNIdHW.h.
typedef ap_ufixed<18, -2> L1TauEmu::inv_pt_t |
Definition at line 47 of file TauNNIdHW.h.
typedef ap_fixed<22, 16> L1TauEmu::pt_etaphi_t |
Definition at line 40 of file TauNNIdHW.h.
typedef ap_ufixed<16, 14> L1TauEmu::pt_t |
Definition at line 36 of file TauNNIdHW.h.
typedef ap_int<10> L1TauEmu::z0_t |
Definition at line 42 of file TauNNIdHW.h.
constexpr int L1TauEmu::ceillog2 | ( | int | x | ) |
Definition at line 57 of file TauNNIdHW.h.
References x.
Referenced by idx_from_real_val(), and real_val_from_idx().
|
inline |
Definition at line 115 of file TauNNIdHW.h.
References a, b, bphi, etaphi_base, l1ct::Scales::INTPHI_PI, and l1ct::Scales::INTPHI_TWOPI.
Referenced by inCone().
constexpr int L1TauEmu::floorlog2 | ( | int | x | ) |
|
inline |
|
inline |
Definition at line 131 of file TauNNIdHW.h.
References deltaPhi(), etaphi_base, runTheMatrix::ret, and fileCollector::seed.
void L1TauEmu::init_invert_table | ( | table_T | table_out[N] | ) |
table_t L1TauEmu::invert_with_shift | ( | in_t | in, |
bool | debug = false |
||
) |
Definition at line 94 of file TauNNIdHW.h.
References b, heavyIonCSV_trainingSettings::idx, recoMuon::in, N, and MillePedeFileConverter_cfg::out.
constexpr int L1TauEmu::pow2 | ( | int | x | ) |
Definition at line 59 of file TauNNIdHW.h.
References x.
Referenced by EmissionVetoHook1::pTpowheg(), EmissionVetoHook1::pTpythia(), Pythia8::PowhegHooksBB4L::pTpythia(), EnergyScaleCorrection::ScaleCorrection::scaleErr(), and PowhegResHook::scaleResonance().
|
inline |
|
static |
Definition at line 35 of file TauNNIdHW.h.
Referenced by deltaPhi(), and inCone().
|
static |
Definition at line 55 of file TauNNIdHW.h.
|
static |
Definition at line 51 of file TauNNIdHW.h.
|
static |
Definition at line 48 of file TauNNIdHW.h.
|
static |
Definition at line 50 of file TauNNIdHW.h.
Definition at line 53 of file TauNNIdHW.h.
|
static |
Definition at line 52 of file TauNNIdHW.h.
|
static |
Definition at line 49 of file TauNNIdHW.h.