Public Member Functions | |
def | __init__ (self, width_in, unused_lsbs, lsb, output_scale_factor, operation, start_value=0, label="", width_out_force=0) |
def | config (self) |
def | debug_info (self, msg) |
def | export |
def | optimal_scale_factor (width_in, max_width_out, unused_lsbs, lsb, operation, start_value=0) |
def | print_error (self) |
Public Attributes | |
debug_txt | |
input_scale_factor | |
lsb | |
lut | |
max_error | |
operation | |
output_scale_factor | |
start_value | |
unused_lsbs | |
width_in | |
width_out | |
Definition at line 13 of file l1tGTSingleInOutLUT.py.
def l1tGTSingleInOutLUT.SingleInOutLUT.__init__ | ( | self, | |
width_in, | |||
unused_lsbs, | |||
lsb, | |||
output_scale_factor, | |||
operation, | |||
start_value = 0 , |
|||
label = "" , |
|||
width_out_force = 0 |
|||
) |
Definition at line 15 of file l1tGTSingleInOutLUT.py.
def l1tGTSingleInOutLUT.SingleInOutLUT.config | ( | self | ) |
Definition at line 51 of file l1tGTSingleInOutLUT.py.
References CSCTFDTReceiverLUT.lut, EcalTPGFineGrainStripEE::Item.lut, HcalLutSet.lut, LutXml::_Config.lut, l1tGTSingleInOutLUT.SingleInOutLUT.lut, l1tGTSingleInOutLUT.SingleInOutLUT.max_error, l1tGTSingleInOutLUT.SingleInOutLUT.output_scale_factor, and l1tGTSingleInOutLUT.SingleInOutLUT.unused_lsbs.
def l1tGTSingleInOutLUT.SingleInOutLUT.debug_info | ( | self, | |
msg | |||
) |
Definition at line 48 of file l1tGTSingleInOutLUT.py.
References l1tGTSingleInOutLUT.SingleInOutLUT.debug_txt.
def l1tGTSingleInOutLUT.SingleInOutLUT.export | ( | self, | |
filename | |||
) |
Definition at line 59 of file l1tGTSingleInOutLUT.py.
References l1tGTSingleInOutLUT.SingleInOutLUT.debug_txt, createfilelist.int, CSCTFDTReceiverLUT.lut, EcalTPGFineGrainStripEE::Item.lut, HcalLutSet.lut, LutXml::_Config.lut, l1tGTSingleInOutLUT.SingleInOutLUT.lut, print(), and l1tGTSingleInOutLUT.SingleInOutLUT.width_out.
def l1tGTSingleInOutLUT.SingleInOutLUT.optimal_scale_factor | ( | width_in, | |
max_width_out, | |||
unused_lsbs, | |||
lsb, | |||
operation, | |||
start_value = 0 |
|||
) |
Definition at line 67 of file l1tGTSingleInOutLUT.py.
References funct.abs(), WZElectronSkims53X_cff.max, l1tGTSingleInOutLUT.SingleInOutLUT.operation, and isotrackApplyRegressor.range.
def l1tGTSingleInOutLUT.SingleInOutLUT.print_error | ( | self | ) |
Definition at line 73 of file l1tGTSingleInOutLUT.py.
References funct.abs(), createfilelist.int, l1tGTSingleInOutLUT.SingleInOutLUT.lsb, CSCTFDTReceiverLUT.lut, EcalTPGFineGrainStripEE::Item.lut, HcalLutSet.lut, LutXml::_Config.lut, l1tGTSingleInOutLUT.SingleInOutLUT.lut, GlobalLogicParser::TokenRPN.operation, l1tGTSingleInOutLUT.SingleInOutLUT.operation, L1GtLogicParser::TokenRPN.operation, l1tGTSingleInOutLUT.SingleInOutLUT.output_scale_factor, isotrackApplyRegressor.range, l1tGTSingleInOutLUT.SingleInOutLUT.start_value, l1tGTSingleInOutLUT.SingleInOutLUT.unused_lsbs, and l1tGTSingleInOutLUT.SingleInOutLUT.width_in.
l1tGTSingleInOutLUT.SingleInOutLUT.debug_txt |
Definition at line 16 of file l1tGTSingleInOutLUT.py.
Referenced by l1tGTSingleInOutLUT.SingleInOutLUT.debug_info(), and l1tGTSingleInOutLUT.SingleInOutLUT.export().
l1tGTSingleInOutLUT.SingleInOutLUT.input_scale_factor |
Definition at line 39 of file l1tGTSingleInOutLUT.py.
l1tGTSingleInOutLUT.SingleInOutLUT.lsb |
Definition at line 19 of file l1tGTSingleInOutLUT.py.
Referenced by l1tGTSingleInOutLUT.SingleInOutLUT.print_error().
l1tGTSingleInOutLUT.SingleInOutLUT.lut |
Definition at line 42 of file l1tGTSingleInOutLUT.py.
Referenced by l1tGTSingleInOutLUT.SingleInOutLUT.config(), l1tGTSingleInOutLUT.SingleInOutLUT.export(), and l1tGTSingleInOutLUT.SingleInOutLUT.print_error().
l1tGTSingleInOutLUT.SingleInOutLUT.max_error |
Definition at line 77 of file l1tGTSingleInOutLUT.py.
Referenced by l1tGTSingleInOutLUT.SingleInOutLUT.config().
l1tGTSingleInOutLUT.SingleInOutLUT.operation |
Definition at line 40 of file l1tGTSingleInOutLUT.py.
Referenced by l1tGTSingleInOutLUT.SingleInOutLUT.optimal_scale_factor(), and l1tGTSingleInOutLUT.SingleInOutLUT.print_error().
l1tGTSingleInOutLUT.SingleInOutLUT.output_scale_factor |
Definition at line 38 of file l1tGTSingleInOutLUT.py.
Referenced by l1tGTSingleInOutLUT.SingleInOutLUT.config(), and l1tGTSingleInOutLUT.SingleInOutLUT.print_error().
l1tGTSingleInOutLUT.SingleInOutLUT.start_value |
Definition at line 41 of file l1tGTSingleInOutLUT.py.
Referenced by l1tGTSingleInOutLUT.SingleInOutLUT.print_error().
l1tGTSingleInOutLUT.SingleInOutLUT.unused_lsbs |
Definition at line 18 of file l1tGTSingleInOutLUT.py.
Referenced by l1tGTSingleInOutLUT.SingleInOutLUT.config(), and l1tGTSingleInOutLUT.SingleInOutLUT.print_error().
l1tGTSingleInOutLUT.SingleInOutLUT.width_in |
Definition at line 37 of file l1tGTSingleInOutLUT.py.
Referenced by l1tGTSingleInOutLUT.SingleInOutLUT.print_error().
l1tGTSingleInOutLUT.SingleInOutLUT.width_out |
Definition at line 24 of file l1tGTSingleInOutLUT.py.
Referenced by l1tGTSingleInOutLUT.SingleInOutLUT.export().