CMS 3D CMS Logo

Classes | Namespaces | Typedefs | Functions | Variables
TauNNIdHW.h File Reference
#include <cstdio>
#include <complex>
#include "L1Trigger/Phase2L1ParticleFlow/interface/taus/tau_parameters.h"
#include "L1Trigger/Phase2L1ParticleFlow/interface/taus/defines.h"
#include "DataFormats/L1TParticleFlow/interface/layer1_emulator.h"
#include "DataFormats/L1TParticleFlow/interface/PFCandidate.h"

Go to the source code of this file.

Classes

struct  Tau_NN_Result
 
class  TauNNIdHW
 

Namespaces

 L1TauEmu
 

Typedefs

typedef ap_uint< 5 > L1TauEmu::count_t
 
typedef ap_fixed< 18, 9 > L1TauEmu::detaphi2_t
 
typedef ap_fixed< 12, 6 > L1TauEmu::detaphi_t
 
typedef ap_int< 8 > L1TauEmu::dxy_t
 
typedef ap_fixed< 10, 4 > etaphi_t
 
typedef ap_fixed< 10, 4 > L1TauEmu::etaphi_t
 
typedef ap_uint< 5 > L1TauEmu::id_t
 
typedef ap_ufixed< 18, -2 > L1TauEmu::inv_pt_t
 
typedef ap_fixed< 22, 16 > L1TauEmu::pt_etaphi_t
 
typedef ap_ufixed< 16, 14 > pt_t
 
typedef ap_ufixed< 16, 14 > L1TauEmu::pt_t
 
typedef ap_int< 10 > L1TauEmu::z0_t
 

Functions

constexpr int L1TauEmu::ceillog2 (int x)
 
detaphi_t L1TauEmu::deltaPhi (l1t::PFCandidate a, l1t::PFCandidate b)
 
constexpr int L1TauEmu::floorlog2 (int x)
 
template<class data_T , int N>
unsigned L1TauEmu::idx_from_real_val (data_T x)
 
bool L1TauEmu::inCone (l1t::PFCandidate seed, l1t::PFCandidate part, detaphi_t cone2)
 
template<class data_T , class table_T , int N>
void L1TauEmu::init_invert_table (table_T table_out[N])
 
template<class in_t , class table_t , int N>
table_t L1TauEmu::invert_with_shift (in_t in, bool debug=false)
 
constexpr int L1TauEmu::pow2 (int x)
 
template<class data_T , int N>
float L1TauEmu::real_val_from_idx (unsigned i)
 

Variables

static constexpr float L1TauEmu::etaphi_base = 100. / 64
 
static const etaphi_t L1TauEmu::FIDUCIAL_ETA_PHI = 5.11 * etaphi_base
 
static const detaphi_t L1TauEmu::HALFPI = 3.14159 / 2 * etaphi_base
 
static constexpr int L1TauEmu::N_table_inv_pt = 1024
 
static const detaphi_t L1TauEmu::PI = 3.14159 * etaphi_base
 
static const detaphi_t L1TauEmu::R2CONE = RCONE * RCONE
 
static const detaphi_t L1TauEmu::RCONE = 0.4 * 100 / 128
 
static const detaphi_t L1TauEmu::TWOPI = 3.14159 * 2. * etaphi_base
 

Typedef Documentation

◆ etaphi_t

typedef ap_fixed<10, 4> etaphi_t

Definition at line 14 of file TauNNIdHW.h.

◆ pt_t

typedef ap_ufixed<16, 14> pt_t

Definition at line 13 of file TauNNIdHW.h.