#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 28 of file L1MuBMLUTHandler.h.
Enumerator | |
---|---|
EX12 | |
EX13 | |
EX14 | |
EX21 | |
EX23 | |
EX24 | |
EX34 | |
EX15 | |
EX16 | |
EX25 | |
EX26 | |
EX56 |
Definition at line 76 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 84 of file L1MuBMLUTHandler.h.
L1MuBMLUTHandler::L1MuBMLUTHandler | ( | const L1TMuonBarrelParams & | l1params | ) |
constructor
Definition at line 53 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 169 of file L1MuBMLUTHandler.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, end, and customizeTrackingMonitorSeedNumber::idx.
Referenced by L1MuBMAssignmentUnit::PhiAU().
int L1MuBMLUTHandler::getHigh | ( | int | ext_ind, |
int | address | ||
) | const |
get high_value for a given address
Definition at line 274 of file L1MuBMLUTHandler.cc.
References ecal_dqm_sourceclient-live_cfg::cerr.
int L1MuBMLUTHandler::getLow | ( | int | ext_ind, |
int | address | ||
) | const |
get low_value for a given address
Definition at line 257 of file L1MuBMLUTHandler.cc.
References ecal_dqm_sourceclient-live_cfg::cerr.
pair< unsigned short, unsigned short > L1MuBMLUTHandler::getPrecision | ( | ) | const |
get precision for look-up tables
Definition at line 185 of file L1MuBMLUTHandler.cc.
int L1MuBMLUTHandler::getPt | ( | int | pta_ind, |
int | address | ||
) | const |
get pt-value for a given address
Definition at line 133 of file L1MuBMLUTHandler.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, and end.
Referenced by L1MuBMAssignmentUnit::PtAU().
int L1MuBMLUTHandler::getPtLutThreshold | ( | int | pta_ind | ) | const |
get pt-assignment LUT threshold
Definition at line 154 of file L1MuBMLUTHandler.cc.
References ecal_dqm_sourceclient-live_cfg::cerr, and MAX_PTASSMETH.
Referenced by L1MuBMAssignmentUnit::getPtMethod().
void L1MuBMLUTHandler::print_ext_lut | ( | ) | const |
print extrapolation look-up tables
Definition at line 291 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 197 of file L1MuBMLUTHandler.cc.
References funct::abs(), gather_cfg::cout, end, i, customizeTrackingMonitorSeedNumber::idx, DTTFBitArray< N >::twoComplement(), and relativeConstraints::value.
void L1MuBMLUTHandler::print_pta_lut | ( | ) | const |
print pt-assignment look-up tables
Definition at line 73 of file L1MuBMLUTHandler.cc.
References funct::abs(), gather_cfg::cout, end, i, MAX_PTASSMETH, DTTFBitArray< N >::print(), DTTFBitArray< N >::twoComplement(), and relativeConstraints::value.
|
private |
Definition at line 66 of file L1MuBMLUTHandler.h.
const int L1MuBMLUTHandler::MAX_EXT = 12 |
Definition at line 73 of file L1MuBMLUTHandler.h.
Referenced by print_ext_lut().
const int L1MuBMLUTHandler::MAX_PTASSMETH = 19 |
Definition at line 80 of file L1MuBMLUTHandler.h.
Referenced by getPtLutThreshold(), and print_pta_lut().
const int L1MuBMLUTHandler::MAX_PTASSMETHA = 12 |
Definition at line 81 of file L1MuBMLUTHandler.h.