#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 L1TMuonBarrelParamsAllPublic * | l1tbmparams |
Definition at line 26 of file L1MuBMLUTHandler.h.
Enumerator | |
---|---|
EX12 | |
EX13 | |
EX14 | |
EX21 | |
EX23 | |
EX24 | |
EX34 | |
EX15 | |
EX16 | |
EX25 | |
EX26 | |
EX56 |
Definition at line 70 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 77 of file L1MuBMLUTHandler.h.
L1MuBMLUTHandler::L1MuBMLUTHandler | ( | const L1TMuonBarrelParams & | l1params | ) |
constructor
Definition at line 52 of file L1MuBMLUTHandler.cc.
|
virtual |
destructor
Definition at line 61 of file L1MuBMLUTHandler.cc.
int L1MuBMLUTHandler::getDeltaPhi | ( | int | idx, |
int | address | ||
) | const |
get delta-phi for a given address (bend-angle)
Definition at line 161 of file L1MuBMLUTHandler.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, mps_fire::end, 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 261 of file L1MuBMLUTHandler.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::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 247 of file L1MuBMLUTHandler.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::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 175 of file L1MuBMLUTHandler.cc.
int L1MuBMLUTHandler::getPt | ( | int | pta_ind, |
int | address | ||
) | const |
get pt-value for a given address
Definition at line 131 of file L1MuBMLUTHandler.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, and mps_fire::end.
Referenced by L1MuBMAssignmentUnit::PtAU().
int L1MuBMLUTHandler::getPtLutThreshold | ( | int | pta_ind | ) | const |
get pt-assignment LUT threshold
Definition at line 148 of file L1MuBMLUTHandler.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, and MAX_PTASSMETH.
Referenced by L1MuBMAssignmentUnit::getPtMethod().
void L1MuBMLUTHandler::print_ext_lut | ( | ) | const |
print extrapolation look-up tables
Definition at line 275 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 182 of file L1MuBMLUTHandler.cc.
References funct::abs(), gather_cfg::cout, mps_fire::end, 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 70 of file L1MuBMLUTHandler.cc.
References funct::abs(), gather_cfg::cout, mps_fire::end, mps_fire::i, MAX_PTASSMETH, DTTFBitArray< N >::print(), and DTTFBitArray< N >::twoComplement().
|
private |
Definition at line 63 of file L1MuBMLUTHandler.h.
const int L1MuBMLUTHandler::MAX_EXT = 12 |
Definition at line 67 of file L1MuBMLUTHandler.h.
Referenced by print_ext_lut().
const int L1MuBMLUTHandler::MAX_PTASSMETH = 19 |
Definition at line 73 of file L1MuBMLUTHandler.h.
Referenced by getPtLutThreshold(), and print_pta_lut().
const int L1MuBMLUTHandler::MAX_PTASSMETHA = 12 |
Definition at line 74 of file L1MuBMLUTHandler.h.