#include <L1MuBMLUTHandler.h>
Public Types | |
enum | Extrapolation { EX12, EX13, EX14, EX21, EX23, EX24, EX34, EX15, EX16, EX25, EX26, EX56 } |
enum | PtAssMethod { PT12L, PT12H, PT13L, PT13H, PT14L, PT14H, PT23L, PT23H, PT24L, PT24H, PT34L, PT34H, PB12H, PB13H, PB14H, PB21H, PB23H, PB24H, PB34H, NODEF } |
Public Member Functions | |
int | getDeltaPhi (int idx, int address) const |
get delta-phi for a given address (bend-angle) More... | |
int | getHigh (int ext_ind, int address) const |
get high_value for a given address More... | |
int | getLow (int ext_ind, int address) const |
get low_value for a given address More... | |
std::pair< unsigned short, unsigned short > | getPrecision () const |
get precision for look-up tables More... | |
int | getPt (int pta_ind, int address) const |
get pt-value for a given address More... | |
int | getPtLutThreshold (int pta_ind) const |
get pt-assignment LUT threshold More... | |
L1MuBMLUTHandler (const L1TMuonBarrelParams &l1params) | |
constructor More... | |
void | print_ext_lut () const |
print extrapolation look-up tables More... | |
void | print_phi_lut () const |
print phi-assignment look-up tables More... | |
void | print_pta_lut () const |
print pt-assignment look-up tables More... | |
virtual | ~L1MuBMLUTHandler () |
destructor More... | |
Public Attributes | |
const int | MAX_EXT = 12 |
const int | MAX_PTASSMETH = 19 |
const int | MAX_PTASSMETHA = 12 |
Private Attributes | |
const L1TMuonBarrelParams * | l1tbmparams |
Definition at line 25 of file L1MuBMLUTHandler.h.
Enumerator | |
---|---|
EX12 | |
EX13 | |
EX14 | |
EX21 | |
EX23 | |
EX24 | |
EX34 | |
EX15 | |
EX16 | |
EX25 | |
EX26 | |
EX56 |
Definition at line 69 of file L1MuBMLUTHandler.h.
Enumerator | |
---|---|
PT12L | |
PT12H | |
PT13L | |
PT13H | |
PT14L | |
PT14H | |
PT23L | |
PT23H | |
PT24L | |
PT24H | |
PT34L | |
PT34H | |
PB12H | |
PB13H | |
PB14H | |
PB21H | |
PB23H | |
PB24H | |
PB34H | |
NODEF |
Definition at line 76 of file L1MuBMLUTHandler.h.
L1MuBMLUTHandler::L1MuBMLUTHandler | ( | const L1TMuonBarrelParams & | l1params | ) |
constructor
Definition at line 52 of file L1MuBMLUTHandler.cc.
|
virtual |
int L1MuBMLUTHandler::getDeltaPhi | ( | int | idx, |
int | address | ||
) | const |
get delta-phi for a given address (bend-angle)
Definition at line 158 of file L1MuBMLUTHandler.cc.
References DMR_cfg::cerr, and heavyIonCSV_trainingSettings::idx.
Referenced by L1MuBMAssignmentUnit::PhiAU().
int L1MuBMLUTHandler::getHigh | ( | int | ext_ind, |
int | address | ||
) | const |
get high_value for a given address
Definition at line 258 of file L1MuBMLUTHandler.cc.
References DMR_cfg::cerr, and LaserClient_cfi::high.
Referenced by L1MuBMEUX::run().
int L1MuBMLUTHandler::getLow | ( | int | ext_ind, |
int | address | ||
) | const |
get low_value for a given address
Definition at line 244 of file L1MuBMLUTHandler.cc.
References DMR_cfg::cerr, and LaserClient_cfi::low.
Referenced by L1MuBMEUX::run().
pair< unsigned short, unsigned short > L1MuBMLUTHandler::getPrecision | ( | ) | const |
get precision for look-up tables
Definition at line 172 of file L1MuBMLUTHandler.cc.
int L1MuBMLUTHandler::getPt | ( | int | pta_ind, |
int | address | ||
) | const |
get pt-value for a given address
Definition at line 128 of file L1MuBMLUTHandler.cc.
References DMR_cfg::cerr.
Referenced by L1MuBMAssignmentUnit::PtAU().
int L1MuBMLUTHandler::getPtLutThreshold | ( | int | pta_ind | ) | const |
get pt-assignment LUT threshold
Definition at line 145 of file L1MuBMLUTHandler.cc.
References DMR_cfg::cerr, and MAX_PTASSMETH.
Referenced by L1MuBMAssignmentUnit::getPtMethod().
void L1MuBMLUTHandler::print_ext_lut | ( | ) | const |
print extrapolation look-up tables
Definition at line 272 of file L1MuBMLUTHandler.cc.
References funct::abs(), gather_cfg::cout, LaserClient_cfi::high, mps_fire::i, LaserClient_cfi::low, MAX_EXT, and DTTFBitArray< N >::twoComplement().
void L1MuBMLUTHandler::print_phi_lut | ( | ) | const |
print phi-assignment look-up tables
Definition at line 179 of file L1MuBMLUTHandler.cc.
References funct::abs(), gather_cfg::cout, mps_fire::i, heavyIonCSV_trainingSettings::idx, and DTTFBitArray< N >::twoComplement().
void L1MuBMLUTHandler::print_pta_lut | ( | ) | const |
print pt-assignment look-up tables
Definition at line 67 of file L1MuBMLUTHandler.cc.
References funct::abs(), gather_cfg::cout, mps_fire::i, MAX_PTASSMETH, DTTFBitArray< N >::print(), and DTTFBitArray< N >::twoComplement().
|
private |
Definition at line 62 of file L1MuBMLUTHandler.h.
const int L1MuBMLUTHandler::MAX_EXT = 12 |
Definition at line 66 of file L1MuBMLUTHandler.h.
Referenced by print_ext_lut().
const int L1MuBMLUTHandler::MAX_PTASSMETH = 19 |
Definition at line 72 of file L1MuBMLUTHandler.h.
Referenced by getPtLutThreshold(), and print_pta_lut().
const int L1MuBMLUTHandler::MAX_PTASSMETHA = 12 |
Definition at line 73 of file L1MuBMLUTHandler.h.