#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 29 of file L1MuBMLUTHandler.h.
Enumerator | |
---|---|
EX12 | |
EX13 | |
EX14 | |
EX21 | |
EX23 | |
EX24 | |
EX34 | |
EX15 | |
EX16 | |
EX25 | |
EX26 | |
EX56 |
Definition at line 78 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 86 of file L1MuBMLUTHandler.h.
L1MuBMLUTHandler::L1MuBMLUTHandler | ( | const L1TMuonBarrelParams & | l1params | ) |
constructor
Definition at line 53 of file L1MuBMLUTHandler.cc.
|
virtual |
destructor
Definition at line 63 of file L1MuBMLUTHandler.cc.
int L1MuBMLUTHandler::getDeltaPhi | ( | int | idx, |
int | address | ||
) | const |
get delta-phi for a given address (bend-angle)
Definition at line 171 of file L1MuBMLUTHandler.cc.
References MessageLogger_cfi::cerr, end, and training_settings::idx.
Referenced by L1MuBMAssignmentUnit::PhiAU().
int L1MuBMLUTHandler::getHigh | ( | int | ext_ind, |
int | address | ||
) | const |
get high_value for a given address
Definition at line 276 of file L1MuBMLUTHandler.cc.
References MessageLogger_cfi::cerr.
Referenced by L1MuBMEUX::run().
int L1MuBMLUTHandler::getLow | ( | int | ext_ind, |
int | address | ||
) | const |
get low_value for a given address
Definition at line 259 of file L1MuBMLUTHandler.cc.
References MessageLogger_cfi::cerr.
Referenced by L1MuBMEUX::run().
pair< unsigned short, unsigned short > L1MuBMLUTHandler::getPrecision | ( | ) | const |
get precision for look-up tables
Definition at line 187 of file L1MuBMLUTHandler.cc.
int L1MuBMLUTHandler::getPt | ( | int | pta_ind, |
int | address | ||
) | const |
get pt-value for a given address
Definition at line 135 of file L1MuBMLUTHandler.cc.
References MessageLogger_cfi::cerr, and end.
Referenced by L1MuBMAssignmentUnit::PtAU().
int L1MuBMLUTHandler::getPtLutThreshold | ( | int | pta_ind | ) | const |
get pt-assignment LUT threshold
Definition at line 156 of file L1MuBMLUTHandler.cc.
References MessageLogger_cfi::cerr, and MAX_PTASSMETH.
Referenced by L1MuBMAssignmentUnit::getPtMethod().
void L1MuBMLUTHandler::print_ext_lut | ( | ) | const |
print extrapolation look-up tables
Definition at line 293 of file L1MuBMLUTHandler.cc.
References funct::abs(), gather_cfg::cout, i, MAX_EXT, and DTTFBitArray< N >::twoComplement().
void L1MuBMLUTHandler::print_phi_lut | ( | ) | const |
print phi-assignment look-up tables
Definition at line 199 of file L1MuBMLUTHandler.cc.
References funct::abs(), gather_cfg::cout, end, i, training_settings::idx, and DTTFBitArray< N >::twoComplement().
void L1MuBMLUTHandler::print_pta_lut | ( | ) | const |
print pt-assignment look-up tables
Definition at line 75 of file L1MuBMLUTHandler.cc.
References funct::abs(), gather_cfg::cout, end, i, MAX_PTASSMETH, DTTFBitArray< N >::print(), and DTTFBitArray< N >::twoComplement().
|
private |
Definition at line 68 of file L1MuBMLUTHandler.h.
const int L1MuBMLUTHandler::MAX_EXT = 12 |
Definition at line 75 of file L1MuBMLUTHandler.h.
Referenced by print_ext_lut().
const int L1MuBMLUTHandler::MAX_PTASSMETH = 19 |
Definition at line 82 of file L1MuBMLUTHandler.h.
Referenced by getPtLutThreshold(), and print_pta_lut().
const int L1MuBMLUTHandler::MAX_PTASSMETHA = 12 |
Definition at line 83 of file L1MuBMLUTHandler.h.