Definition at line 347 of file TypeWideThresholdConfig.py.
◆ __call__()
odict python.L1.Config.TypeWideThresholdConfig.L1Config_eTAU.__call__ |
( |
|
self, |
|
|
|
do_eFex_BDT_Tau = True , |
|
|
|
do_HI_tob_thresholds = False |
|
) |
| |
Definition at line 384 of file TypeWideThresholdConfig.py.
384 def __call__(self, do_eFex_BDT_Tau=True, do_HI_tob_thresholds=False) -> odict:
386 rCore_fw_loose = self.BDT_fw_loose
if do_eFex_BDT_Tau
else self.rCore_fw_loose
387 rCore_fw_medium = self.BDT_fw_medium
if do_eFex_BDT_Tau
else self.rCore_fw_medium
388 rCore_fw_tight = self.BDT_fw_tight
if do_eFex_BDT_Tau
else self.rCore_fw_tight
391 confObj[
"workingPoints"] = odict()
392 confObj[
"workingPoints"][
"Loose"] = [
397 confObj[
"workingPoints"][
"Medium"] = [
402 confObj[
"workingPoints"][
"Tight"] = [
407 confObj[
"ptMinToTopo"] = 1
if do_HI_tob_thresholds
else 5
408 confObj[
"resolutionMeV"] = 100
409 confObj[
"minIsoEt"] = 13.0
410 confObj[
"maxEt"] = 50
411 confObj[
"algoVersion"] =
int(do_eFex_BDT_Tau)
414 for wp
in confObj[
"workingPoints"]:
415 for ssthr
in confObj[
"workingPoints"][wp]:
416 for ssthr_i
in ssthr:
418 if not isinstance(ssthr[ssthr_i], int):
419 raise RuntimeError(
"Threshold %s in eTAU configuration is not an integer!", ssthr_i )
420 elif ssthr[ssthr_i] < 0:
421 raise RuntimeError(
"Threshold %s in eTAU configuration is negative!", ssthr_i )
424 for var
in [
"rCore_fw",
"rHad_fw"]:
◆ BDT_fw_loose
python.L1.Config.TypeWideThresholdConfig.L1Config_eTAU.BDT_fw_loose |
|
static |
◆ BDT_fw_medium
python.L1.Config.TypeWideThresholdConfig.L1Config_eTAU.BDT_fw_medium |
|
static |
◆ BDT_fw_tight
python.L1.Config.TypeWideThresholdConfig.L1Config_eTAU.BDT_fw_tight |
|
static |
◆ bitshift_rCore
python.L1.Config.TypeWideThresholdConfig.L1Config_eTAU.bitshift_rCore |
|
static |
◆ bitshift_rHad
python.L1.Config.TypeWideThresholdConfig.L1Config_eTAU.bitshift_rHad |
|
static |
◆ rCore_fw_loose
python.L1.Config.TypeWideThresholdConfig.L1Config_eTAU.rCore_fw_loose |
|
static |
◆ rCore_fw_medium
python.L1.Config.TypeWideThresholdConfig.L1Config_eTAU.rCore_fw_medium |
|
static |
◆ rCore_fw_tight
python.L1.Config.TypeWideThresholdConfig.L1Config_eTAU.rCore_fw_tight |
|
static |
◆ rHad_fw_loose
python.L1.Config.TypeWideThresholdConfig.L1Config_eTAU.rHad_fw_loose |
|
static |
◆ rHad_fw_medium
python.L1.Config.TypeWideThresholdConfig.L1Config_eTAU.rHad_fw_medium |
|
static |
◆ rHad_fw_tight
python.L1.Config.TypeWideThresholdConfig.L1Config_eTAU.rHad_fw_tight |
|
static |
The documentation for this class was generated from the following file: