CMS 3D CMS Logo

Classes | Namespaces | Typedefs | Functions | Variables
L1TrackJetClustering.h File Reference
#include <iostream>
#include <fstream>
#include <cmath>
#include <cstdlib>
#include <string>
#include "DataFormats/L1Trigger/interface/TkJetWord.h"
#include "DataFormats/L1TrackTrigger/interface/TTTrack_TrackWord.h"
#include "DataFormats/L1TrackTrigger/interface/TTTypes.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

Go to the source code of this file.

Classes

struct  l1ttrackjet::EtaPhiBin
 
struct  l1ttrackjet::MaxZBin
 
struct  l1ttrackjet::TrackJetEmulationEtaPhiBin
 
struct  l1ttrackjet::TrackJetEmulationMaxZBin
 

Namespaces

 l1ttrackjet
 

Typedefs

typedef ap_uint< TTTrack_TrackWord::TrackBitWidths::kD0Sizel1ttrackjet::d0_intern
 
typedef ap_fixed< TTTrack_TrackWord::TrackBitWidths::kTanlSize, ETA_INTPART_BITS, AP_TRN, AP_SAT > l1ttrackjet::glbeta_intern
 
typedef ap_int< TTTrack_TrackWord::TrackBitWidths::kPhiSize+kExtraGlobalPhiBit > l1ttrackjet::glbphi_intern
 
typedef ap_ufixed< TTTrack_TrackWord::TrackBitWidths::kRinvSize - 1, PT_INTPART_BITS, AP_TRN, AP_SAT > l1ttrackjet::pt_intern
 
typedef ap_int< TTTrack_TrackWord::TrackBitWidths::kZ0Sizel1ttrackjet::z0_intern
 

Functions

const double l1ttrackjet::BitToDouble (unsigned int bits, unsigned int maxBits, double step)
 
const unsigned int l1ttrackjet::DoubleToBit (double value, unsigned int maxBits, double step)
 
glbphi_intern l1ttrackjet::DPhi (glbphi_intern phi1, glbphi_intern phi2)
 
float l1ttrackjet::DPhi (float phi1, float phi2)
 
unsigned int l1ttrackjet::eta_bin_firmwareStyle (int eta_word)
 
template<typename T , typename Pt >
void l1ttrackjet::Fill_L2Cluster (T &bin, Pt pt, int ntrk, int ndtrk, std::vector< unsigned int > trkidx)
 
template<typename T , typename Pt , typename Eta , typename Phi >
std::vector< Tl1ttrackjet::L1_clustering (T *phislice, int etaBins_, Eta etaStep_)
 
template<typename T , typename Pt , typename Eta , typename Phi >
std::vector< Tl1ttrackjet::L2_clustering (std::vector< std::vector< T > > &L1clusters, int phiBins_, Phi phiStep_, Eta etaStep_)
 
unsigned int l1ttrackjet::phi_bin_firmwareStyle (int phi_sector_raw, int phi_word)
 
bool l1ttrackjet::TrackQualitySelection (int trk_nstub, double trk_chi2, double trk_bendchi2, double nStubs4PromptBend_, double nStubs5PromptBend_, double nStubs4PromptChi2_, double nStubs5PromptChi2_, double nStubs4DisplacedBend_, double nStubs5DisplacedBend_, double nStubs4DisplacedChi2_, double nStubs5DisplacedChi2_, bool displaced_)
 

Variables

const unsigned int l1ttrackjet::ETA_INTPART_BITS {3}
 
static constexpr int l1ttrackjet::kEtaFineBinEdge1 = 0b0011001100110
 
static constexpr int l1ttrackjet::kEtaFineBinEdge2 = 0b0110011001100
 
static constexpr int l1ttrackjet::kEtaFineBinEdge3 = 0b1001100110010
 
static constexpr int l1ttrackjet::kEtaFineBinEdge4 = 0b1100110011000
 
static constexpr int l1ttrackjet::kEtaWordLength = 15
 
const unsigned int l1ttrackjet::kExtraGlobalPhiBit {4}
 
static constexpr int l1ttrackjet::kNumPhiBins = 27
 
static constexpr int l1ttrackjet::kPhiBinHalfWidth = 0b000100101111
 
static constexpr int l1ttrackjet::kPhiBinZeroOffset = 12
 
static constexpr int l1ttrackjet::kPhiWordLength = 12
 
static constexpr int l1ttrackjet::kThirteenBitMask = 0b1111111111111
 
static constexpr int l1ttrackjet::kTwelveBitMask = 0b011111111111
 
const unsigned int l1ttrackjet::PT_INTPART_BITS {9}