CMS 3D CMS Logo

Classes | Namespaces | Typedefs | Functions | Variables
L1HPSPFTauEmulator.h File Reference
#include "ap_int.h"
#include "ap_fixed.h"
#include <iostream>
#include <vector>
#include <numeric>
#include <algorithm>
#include "DataFormats/L1TParticleFlow/interface/taus.h"
#include "DataFormats/L1TParticleFlow/interface/puppi.h"

Go to the source code of this file.

Classes

class  l1HPSPFTauEmu::Particle
 
class  l1HPSPFTauEmu::Tau
 

Namespaces

 l1HPSPFTauEmu
 

Typedefs

typedef ap_uint< 5 > l1HPSPFTauEmu::count_t
 
typedef ap_uint< 20 > l1HPSPFTauEmu::detaphi2_t
 
typedef ap_int< 13 > l1HPSPFTauEmu::detaphi_t
 
typedef l1ct::z0_t l1HPSPFTauEmu::dz_t
 
typedef l1ct::glbeta_t l1HPSPFTauEmu::etaphi_t
 
typedef l1ct::pt_t l1HPSPFTauEmu::pt_t
 
typedef ap_uint< 3 > l1HPSPFTauEmu::type_t
 

Functions

std::vector< Taul1HPSPFTauEmu::emulateEvent (std::vector< Particle > &parts, std::vector< Particle > &jets, bool jEnable)
 
template<int W, int I, ap_q_mode _AP_Q, ap_o_mode _AP_O>
ap_ufixed< W, I > l1HPSPFTauEmu::fp_abs (ap_fixed< W, I, _AP_Q, _AP_O > x)
 
bool l1HPSPFTauEmu::inIsolationCone (Particle part, Particle seed)
 
bool l1HPSPFTauEmu::inSignalCone (Particle part, Particle seed, const int track_count, ap_uint< 20 > cone2, pt_t &iso_pt, bool &isLead)
 
template<int W>
ap_uint< W > l1HPSPFTauEmu::int_abs (ap_int< W > x)
 
template<class inP >
bool l1HPSPFTauEmu::is_charged (inP part)
 
Tau l1HPSPFTauEmu::makeHPSTauHW (const std::vector< Particle > &parts, const Particle seed, const pt_t total_pt)
 
ap_uint< 20 > l1HPSPFTauEmu::setSConeSize2 (pt_t tpt)
 

Variables

const detaphi_t l1HPSPFTauEmu::delta_Rclean = 0.4 * etaphi_base
 
constexpr float l1HPSPFTauEmu::dz_base = 0.05
 
const dz_t l1HPSPFTauEmu::dzCut = 0.4 / dz_base
 
const etaphi_t l1HPSPFTauEmu::etaCutoff = 2.4 * etaphi_base
 
constexpr float l1HPSPFTauEmu::etaphi_base = 720. / M_PI
 
const detaphi_t l1HPSPFTauEmu::isoConeSize = 0.4 * etaphi_base
 
const pt_t l1HPSPFTauEmu::min_leadChargedPfCand_pt = l1ct::Scales::makePtFromFloat(1.)
 
const detaphi_t l1HPSPFTauEmu::strip_eta = 0.05 * etaphi_base
 
const detaphi_t l1HPSPFTauEmu::strip_phi = 0.20 * etaphi_base