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< 14, 12, AP_TRN, AP_SAT > | 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 constexpr 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 35 of file TauNNIdHW.h.
typedef ap_fixed<18, 9> L1TauEmu::detaphi2_t |
Definition at line 31 of file TauNNIdHW.h.
typedef ap_fixed<12, 6> L1TauEmu::detaphi_t |
Definition at line 30 of file TauNNIdHW.h.
typedef ap_int<8> L1TauEmu::dxy_t |
Definition at line 33 of file TauNNIdHW.h.
typedef ap_fixed<10, 4> L1TauEmu::etaphi_t |
Definition at line 29 of file TauNNIdHW.h.
typedef ap_uint<5> L1TauEmu::id_t |
Definition at line 36 of file TauNNIdHW.h.
typedef ap_ufixed<18, -2> L1TauEmu::inv_pt_t |
Definition at line 39 of file TauNNIdHW.h.
typedef ap_fixed<22, 16> L1TauEmu::pt_etaphi_t |
Definition at line 32 of file TauNNIdHW.h.
typedef ap_ufixed<14, 12, AP_TRN, AP_SAT> L1TauEmu::pt_t |
Definition at line 28 of file TauNNIdHW.h.
typedef ap_int<10> L1TauEmu::z0_t |
Definition at line 34 of file TauNNIdHW.h.
constexpr int L1TauEmu::ceillog2 | ( | int | x | ) |
Definition at line 49 of file TauNNIdHW.h.
References x.
Referenced by idx_from_real_val(), and real_val_from_idx().
|
inline |
Definition at line 107 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 |
Definition at line 66 of file TauNNIdHW.h.
References ceillog2(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), N, and x.
|
inline |
Definition at line 123 of file TauNNIdHW.h.
References deltaPhi(), etaphi_base, runTheMatrix::ret, and fileCollector::seed.
Referenced by l1HPSPFTauEmu::inIsolationCone(), l1HPSPFTauEmu::inSignalCone(), L1NNTauProducer::makeTau_HW(), and L1NNTauProducer::process_HW().
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 86 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 51 of file TauNNIdHW.h.
References x.
Referenced by Pythia8::TopRecoilHook::doVetoFSREmission(), Pythia8::PowhegHooksBB4L::findresscale(), JetMatchingEWKFxFx::matchPartonsToJetsLight(), EmissionVetoHook1::pTpowheg(), EmissionVetoHook1::pTpythia(), Pythia8::PowhegHooksBB4L::pTpythia(), EnergyScaleCorrection::ScaleCorrection::scaleErr(), PowhegResHook::scaleResonance(), and Nucleus2gamma2::xfUpdate().
|
inline |
Definition at line 54 of file TauNNIdHW.h.
References ceillog2(), ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), mps_fire::i, N, and x.
|
static |
Definition at line 27 of file TauNNIdHW.h.
Referenced by deltaPhi(), inCone(), and L1NNTauProducer::makeTau_HW().
|
static |
Definition at line 47 of file TauNNIdHW.h.
|
static |
Definition at line 43 of file TauNNIdHW.h.
|
static |
Definition at line 40 of file TauNNIdHW.h.
|
static |
Definition at line 42 of file TauNNIdHW.h.
Definition at line 45 of file TauNNIdHW.h.
|
static |
Definition at line 44 of file TauNNIdHW.h.
|
static |
Definition at line 41 of file TauNNIdHW.h.