Definition at line 537 of file TypeWideThresholdConfig.py.
◆ __call__()
odict python.L1.Config.TypeWideThresholdConfig.L1Config_jTAU.__call__ |
( |
|
self, |
|
|
|
do_HI_tob_thresholds = False |
|
) |
| |
Definition at line 547 of file TypeWideThresholdConfig.py.
547 def __call__(self,do_HI_tob_thresholds=False) -> odict:
549 confObj[
"workingPoints"] = odict()
550 confObj[
"workingPoints"][
"Loose"] = [
551 odict([(
"isolation",
cTAUfwToFlowConversion(self.isolation_fw_loose)), (
"isolation_fw", self.isolation_fw_loose),
554 confObj[
"workingPoints"][
"Medium"] = [
555 odict([(
"isolation",
cTAUfwToFlowConversion(self.isolation_fw_medium)), (
"isolation_fw", self.isolation_fw_medium),
558 confObj[
"workingPoints"][
"Tight"] = [
559 odict([(
"isolation",
cTAUfwToFlowConversion(self.isolation_fw_tight)), (
"isolation_fw", self.isolation_fw_tight),
562 confObj[
"ptMinToTopo1"] = 1
if do_HI_tob_thresholds
else 5
563 confObj[
"ptMinToTopo2"] = 1
if do_HI_tob_thresholds
else 5
564 confObj[
"ptMinToTopo3"] = 1
if do_HI_tob_thresholds
else 5
565 confObj[
"ptMinxTOB1"] = 1
if do_HI_tob_thresholds
else 5
566 confObj[
"ptMinxTOB2"] = 1
if do_HI_tob_thresholds
else 5
567 confObj[
"ptMinxTOB3"] = 1
if do_HI_tob_thresholds
else 5
568 confObj[
"resolutionMeV"] = 200
569 confObj[
"maxEt"] = 50
572 for wp
in confObj[
"workingPoints"]:
573 for ssthr
in confObj[
"workingPoints"][wp]:
574 for ssthr_i
in ssthr:
576 if not isinstance(ssthr[ssthr_i], int):
577 raise RuntimeError(
"Threshold %s in jTAU configuration is not an integer!", ssthr_i )
578 elif ssthr[ssthr_i] < 0:
579 raise RuntimeError(
"Threshold %s in jTAU configuration is negative!", ssthr_i )
583 for var
in [
"isolation_fw"]:
◆ int
python.L1.Config.TypeWideThresholdConfig.L1Config_jTAU.int |
|
static |
The documentation for this class was generated from the following file: