Classes | |
struct | EtMiss |
Typedefs | |
typedef ap_ufixed< kAtanLUTSize, kAtanLUTMagSize, AP_RND_CONV, AP_SAT > | atan_lut_fixed_t |
typedef ap_ufixed< kCosLUTSize, kCosLUTMagSize, AP_RND_CONV, AP_SAT > | cos_lut_fixed_t |
typedef ap_fixed< kMETSize+kEtExtra, kMETMagSize+kEtExtra, AP_RND_CONV, AP_SAT > | Et_t |
typedef ap_int< TTTrack_TrackWord::TrackBitWidths::kPhiSize+kGlobalPhiExtra > | global_phi_t |
typedef ap_fixed< kMETPhiSize+kEtExtra, 4, AP_RND_CONV, AP_SAT > | metphi_fixed_t |
typedef ap_ufixed< kMETSize, kMETMagSize, AP_RND_CONV, AP_SAT > | METWord_t |
typedef ap_int< kMETPhiSize > | METWordphi_t |
typedef ap_ufixed< kMETPhiSize+kEtExtra+7, kMETPhiSize - 2, AP_RND_CONV, AP_SAT > | pi_bins_fixed_t |
Functions | |
std::vector< cos_lut_fixed_t > | generateCosLUT () |
std::vector< global_phi_t > | generatePhiSliceLUT (unsigned int N) |
global_phi_t | localToGlobalPhi (TTTrack_TrackWord::phi_t local_phi, global_phi_t sector_shift) |
template<typename T > | |
void | printLUT (std::vector< T > lut, std::string module="", std::string name="") |
Variables | |
const unsigned int | kAtanLUTMagSize {2} |
const unsigned int | kAtanLUTSize {64} |
const double | kBinsInPi = 1.0 / kStepMETwordPhi |
const unsigned int | kCosLUTBins {1 << kCosLUTTableSize} |
const unsigned int | kCosLUTMagSize {1} |
const unsigned int | kCosLUTShift {TTTrack_TrackWord::TrackBitWidths::kPhiSize - kCosLUTTableSize} |
const unsigned int | kCosLUTSize {10} |
const unsigned int | kCosLUTTableSize {10} |
const unsigned int | kEtExtra {4} |
const unsigned int | kGlobalPhiExtra {4} |
const unsigned int | kInternalPtWidth {14} |
const double | kMaxCosLUTPhi {M_PI / 2} |
const double | kMaxMET = 1 << kMETMagSize |
const double | kMaxMETPhi {2 * M_PI} |
const unsigned int | kMETMagSize {11} |
const unsigned int | kMETPhiSize {13} |
const unsigned int | kMETSize {16} |
const unsigned int | kNQuadrants {4} |
const unsigned int | kNSector {9} |
const unsigned int | kPtMagSize {9} |
const double | kStepMETwordEt = kMaxMET / (1 << kMETSize) |
const double | kStepMETwordPhi = kMaxMETPhi / (1 << kMETPhiSize) |
typedef ap_ufixed<kAtanLUTSize, kAtanLUTMagSize, AP_RND_CONV, AP_SAT> l1tmetemu::atan_lut_fixed_t |
Definition at line 41 of file L1TkEtMissEmuAlgo.h.
typedef ap_ufixed<kCosLUTSize, kCosLUTMagSize, AP_RND_CONV, AP_SAT> l1tmetemu::cos_lut_fixed_t |
Definition at line 40 of file L1TkEtMissEmuAlgo.h.
typedef ap_fixed<kMETSize + kEtExtra, kMETMagSize + kEtExtra, AP_RND_CONV, AP_SAT> l1tmetemu::Et_t |
Definition at line 42 of file L1TkEtMissEmuAlgo.h.
typedef ap_int<TTTrack_TrackWord::TrackBitWidths::kPhiSize + kGlobalPhiExtra> l1tmetemu::global_phi_t |
Definition at line 39 of file L1TkEtMissEmuAlgo.h.
typedef ap_fixed<kMETPhiSize + kEtExtra, 4, AP_RND_CONV, AP_SAT> l1tmetemu::metphi_fixed_t |
Definition at line 43 of file L1TkEtMissEmuAlgo.h.
typedef ap_ufixed<kMETSize, kMETMagSize, AP_RND_CONV, AP_SAT> l1tmetemu::METWord_t |
Definition at line 37 of file L1TkEtMissEmuAlgo.h.
typedef ap_int<kMETPhiSize> l1tmetemu::METWordphi_t |
Definition at line 38 of file L1TkEtMissEmuAlgo.h.
typedef ap_ufixed<kMETPhiSize + kEtExtra + 7, kMETPhiSize - 2, AP_RND_CONV, AP_SAT> l1tmetemu::pi_bins_fixed_t |
Definition at line 44 of file L1TkEtMissEmuAlgo.h.
std::vector< cos_lut_fixed_t > l1tmetemu::generateCosLUT | ( | ) |
Definition at line 6 of file L1TkEtMissEmuAlgo.cc.
References funct::cos(), kCosLUTBins, kCosLUTShift, and TTTrack_TrackWord::stepPhi0.
Referenced by L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer().
std::vector< global_phi_t > l1tmetemu::generatePhiSliceLUT | ( | unsigned int | N | ) |
Definition at line 41 of file L1TkEtMissEmuAlgo.cc.
References M_PI, N, submitPVResolutionJobs::q, and TTTrack_TrackWord::stepPhi0.
Referenced by L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer().
global_phi_t l1tmetemu::localToGlobalPhi | ( | TTTrack_TrackWord::phi_t | local_phi, |
global_phi_t | sector_shift | ||
) |
Definition at line 19 of file L1TkEtMissEmuAlgo.cc.
References M_PI, MonitorTrackSTAMuons_cfi::PhiMax, MonitorTrackSTAMuons_cfi::PhiMin, and TTTrack_TrackWord::stepPhi0.
Referenced by L1TrackerEtMissEmulatorProducer::produce().
void l1tmetemu::printLUT | ( | std::vector< T > | lut, |
std::string | module = "" , |
||
std::string | name = "" |
||
) |
Definition at line 74 of file L1TkEtMissEmuAlgo.h.
References mps_fire::i, dqm-mbProfile::log, and Skims_PA_cff::name.
Referenced by L1TMuonGlobalParamsViewer::analyze(), and L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer().
const unsigned int l1tmetemu::kAtanLUTMagSize {2} |
Definition at line 35 of file L1TkEtMissEmuAlgo.h.
const unsigned int l1tmetemu::kAtanLUTSize {64} |
Definition at line 34 of file L1TkEtMissEmuAlgo.h.
const double l1tmetemu::kBinsInPi = 1.0 / kStepMETwordPhi |
Definition at line 52 of file L1TkEtMissEmuAlgo.h.
Referenced by Cordic::toPolar().
const unsigned int l1tmetemu::kCosLUTBins {1 << kCosLUTTableSize} |
Definition at line 32 of file L1TkEtMissEmuAlgo.h.
Referenced by generateCosLUT().
const unsigned int l1tmetemu::kCosLUTMagSize {1} |
Definition at line 30 of file L1TkEtMissEmuAlgo.h.
const unsigned int l1tmetemu::kCosLUTShift {TTTrack_TrackWord::TrackBitWidths::kPhiSize - kCosLUTTableSize} |
Definition at line 33 of file L1TkEtMissEmuAlgo.h.
Referenced by generateCosLUT(), and L1TrackerEtMissEmulatorProducer::produce().
const unsigned int l1tmetemu::kCosLUTSize {10} |
Definition at line 29 of file L1TkEtMissEmuAlgo.h.
const unsigned int l1tmetemu::kCosLUTTableSize {10} |
Definition at line 31 of file L1TkEtMissEmuAlgo.h.
const unsigned int l1tmetemu::kEtExtra {4} |
Definition at line 27 of file L1TkEtMissEmuAlgo.h.
const unsigned int l1tmetemu::kGlobalPhiExtra {4} |
Definition at line 28 of file L1TkEtMissEmuAlgo.h.
const unsigned int l1tmetemu::kInternalPtWidth {14} |
Definition at line 22 of file L1TkEtMissEmuAlgo.h.
const double l1tmetemu::kMaxCosLUTPhi {M_PI / 2} |
Definition at line 56 of file L1TkEtMissEmuAlgo.h.
const double l1tmetemu::kMaxMET = 1 << kMETMagSize |
Definition at line 47 of file L1TkEtMissEmuAlgo.h.
const double l1tmetemu::kMaxMETPhi {2 * M_PI} |
Definition at line 48 of file L1TkEtMissEmuAlgo.h.
const unsigned int l1tmetemu::kMETMagSize {11} |
Definition at line 25 of file L1TkEtMissEmuAlgo.h.
const unsigned int l1tmetemu::kMETPhiSize {13} |
Definition at line 26 of file L1TkEtMissEmuAlgo.h.
Referenced by l1t::demo::codecs::decodeEtSums(), and l1t::demo::codecs::encodeEtSum().
const unsigned int l1tmetemu::kMETSize {16} |
Definition at line 24 of file L1TkEtMissEmuAlgo.h.
Referenced by l1t::demo::codecs::decodeEtSums(), and l1t::demo::codecs::encodeEtSum().
const unsigned int l1tmetemu::kNQuadrants {4} |
Definition at line 59 of file L1TkEtMissEmuAlgo.h.
Referenced by L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer().
const unsigned int l1tmetemu::kNSector {9} |
Definition at line 58 of file L1TkEtMissEmuAlgo.h.
Referenced by L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer(), and L1TrackerEtMissEmulatorProducer::produce().
const unsigned int l1tmetemu::kPtMagSize {9} |
Definition at line 23 of file L1TkEtMissEmuAlgo.h.
Referenced by l1tVertexFinder::VertexFinder::fastHistoEmulation(), and L1TrackerEtMissEmulatorProducer::produce().
Definition at line 50 of file L1TkEtMissEmuAlgo.h.
Referenced by L1TrackerEtMissEmulatorProducer::produce().
const double l1tmetemu::kStepMETwordPhi = kMaxMETPhi / (1 << kMETPhiSize) |
Definition at line 51 of file L1TkEtMissEmuAlgo.h.
Referenced by Cordic::cordic_subfunc(), L1TrackerEtMissEmulatorProducer::produce(), and Cordic::toPolar().