CMS 3D CMS Logo

Classes | Namespaces | Typedefs | Functions | Variables
L1TrackJetEmulationProducer.h File Reference
#include <iostream>
#include <fstream>
#include <cmath>
#include <cstdlib>
#include <string>
#include "DataFormats/L1Trigger/interface/TkJetWord.h"

Go to the source code of this file.

Classes

struct  TrackJetEmulationEtaPhiBin
 
struct  TrackJetEmulationMaxZBin
 

Namespaces

 convert
 

Typedefs

typedef ap_int< 14+ETA_EXTRABITSglbeta_intern
 
typedef ap_int< 14+PHI_EXTRABITSglbphi_intern
 
typedef ap_ufixed< 16+PT_EXTRABITS, 11, AP_TRN, AP_SAT > pt_intern
 
typedef ap_int< 10+Z0_EXTRABITSz0_intern
 

Functions

float convert::floatEta (glbeta_intern eta)
 
float convert::floatPhi (glbphi_intern phi)
 
float convert::floatPt (pt_intern pt)
 
float convert::floatZ0 (z0_intern z0)
 
int convert::intPt (pt_intern pt)
 
glbeta_intern convert::makeGlbEta (float eta)
 
glbeta_intern convert::makeGlbEtaRoundEven (float eta)
 
glbphi_intern convert::makeGlbPhi (float phi)
 
pt_intern convert::makePt (int pt)
 
pt_intern convert::makePtFromFloat (float pt)
 
z0_intern convert::makeZ0 (float z0)
 
ap_uint< pt_intern::width > convert::ptToInt (pt_intern pt)
 

Variables

const int ETA_EXTRABITS = 0
 
static const float convert::ETA_LSB = M_PI / pow(2.0, 12) * ETA_LSB_POW
 
static const float convert::ETA_LSB_POW = pow(2.0, -1 * ETA_EXTRABITS)
 
const int convert::INTPHI_PI = 720
 
const int convert::INTPHI_TWOPI = 2 * INTPHI_PI
 
static const float convert::INTPT_LSB = INTPT_LSB_POW
 
static const float convert::INTPT_LSB_POW = pow(2.0, -5 - PT_EXTRABITS)
 
const int PHI_EXTRABITS = 0
 
static const float convert::PHI_LSB = M_PI / pow(2.0, 12) * PHI_LSB_POW
 
static const float convert::PHI_LSB_POW = pow(2.0, -1 * PHI_EXTRABITS)
 
const int PT_EXTRABITS = 0
 
const int Z0_EXTRABITS = 0
 
static const float convert::Z0_LSB = 0.05 * Z0_LSB_POW
 
static const float convert::Z0_LSB_POW = pow(2.0, -1 * Z0_EXTRABITS)
 

Typedef Documentation

◆ glbeta_intern

typedef ap_int<14 + ETA_EXTRABITS> glbeta_intern

Definition at line 18 of file L1TrackJetEmulationProducer.h.

◆ glbphi_intern

typedef ap_int<14 + PHI_EXTRABITS> glbphi_intern

Definition at line 19 of file L1TrackJetEmulationProducer.h.

◆ pt_intern

typedef ap_ufixed<16 + PT_EXTRABITS, 11, AP_TRN, AP_SAT> pt_intern

Definition at line 17 of file L1TrackJetEmulationProducer.h.

◆ z0_intern

typedef ap_int<10 + Z0_EXTRABITS> z0_intern

Definition at line 20 of file L1TrackJetEmulationProducer.h.

Variable Documentation

◆ ETA_EXTRABITS

const int ETA_EXTRABITS = 0

Definition at line 13 of file L1TrackJetEmulationProducer.h.

◆ PHI_EXTRABITS

const int PHI_EXTRABITS = 0

Definition at line 14 of file L1TrackJetEmulationProducer.h.

◆ PT_EXTRABITS

const int PT_EXTRABITS = 0

Definition at line 12 of file L1TrackJetEmulationProducer.h.

◆ Z0_EXTRABITS

const int Z0_EXTRABITS = 0

Definition at line 15 of file L1TrackJetEmulationProducer.h.