◆ __init__()
def python.L1.Base.Thresholds.eEMVarThreshold.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
ttype = 'eEM' , |
|
|
|
mapping = -1 |
|
) |
| |
◆ __str__()
def python.L1.Base.Thresholds.Threshold.__str__ |
( |
|
self | ) |
|
|
inherited |
◆ addThrValue()
def python.L1.Base.Thresholds.eEMVarThreshold.addThrValue |
( |
|
self, |
|
|
|
value, |
|
|
* |
args, |
|
|
** |
kwargs |
|
) |
| |
Definition at line 397 of file Trigger/TriggerCommon/TriggerMenuMT/python/L1/Base/Thresholds.py.
397 def addThrValue(self, value, *args, **kwargs):
399 defargs = ThresholdValue.getDefaults(self.ttype.name)
400 posargs = dict(zip([
'etamin',
'etamax',
'phimin',
'phimax',
'priority'], args))
403 p = deepcopy(defargs)
407 thrv = ThresholdValue(self.ttype, value,
408 etamin = p[
'etamin'], etamax=p[
'etamax'], phimin=p[
'phimin'], phimax=p[
'phimax'],
409 priority = p[
'priority'], name = self.name+
'full')
411 self.thresholdValues.
append(thrv)
◆ getVarName()
def python.L1.Base.Thresholds.Threshold.getVarName |
( |
|
self | ) |
|
|
inherited |
◆ isI()
def python.L1.Base.Thresholds.eEMVarThreshold.isI |
( |
|
self | ) |
|
◆ isL()
def python.L1.Base.Thresholds.eEMVarThreshold.isL |
( |
|
self | ) |
|
◆ isLegacy()
def python.L1.Base.Thresholds.Threshold.isLegacy |
( |
|
self | ) |
|
|
inherited |
◆ isM()
def python.L1.Base.Thresholds.eEMVarThreshold.isM |
( |
|
self | ) |
|
◆ isV()
def python.L1.Base.Thresholds.eEMVarThreshold.isV |
( |
|
self | ) |
|
◆ json()
def python.L1.Base.Thresholds.eEMVarThreshold.json |
( |
|
self | ) |
|
◆ setIsolation()
def python.L1.Base.Thresholds.eEMVarThreshold.setIsolation |
( |
|
self, |
|
|
|
rhad = "None" , |
|
|
|
reta = "None" , |
|
|
|
wstot = "None" |
|
) |
| |
Definition at line 384 of file Trigger/TriggerCommon/TriggerMenuMT/python/L1/Base/Thresholds.py.
384 def setIsolation(self, rhad = "None", reta = "None", wstot = "None"):
385 allowed = [
"None",
"Loose",
"Medium",
"Tight" ]
386 if rhad
not in allowed:
387 raise RuntimeError(
"Threshold %s of type %s: isolation wp %s not allowed for rhad, must be one of %s", self.name, self.ttype, rhad,
', '.
join(allowed) )
388 if reta
not in allowed:
389 raise RuntimeError(
"Threshold %s of type %s: isolation wp %s not allowed for reta, must be one of %s", self.name, self.ttype, reta,
', '.
join(allowed) )
390 if wstot
not in allowed:
391 raise RuntimeError(
"Threshold %s of type %s: isolation wp %s not allowed for wstot, must be one of %s", self.name, self.ttype, wstot,
', '.
join(allowed) )
◆ setMenuConfig()
def python.L1.Base.Thresholds.Threshold.setMenuConfig |
( |
|
mc | ) |
|
|
staticinherited |
◆ thresholdInGeV()
def python.L1.Base.Thresholds.Threshold.thresholdInGeV |
( |
|
self | ) |
|
|
inherited |
◆ __slots__
python.L1.Base.Thresholds.Threshold.__slots__ |
|
staticprivateinherited |
◆ l1configForRegistration
python.L1.Base.Thresholds.Threshold.l1configForRegistration |
|
staticinherited |
◆ mapping
python.L1.Base.Thresholds.Threshold.mapping |
|
inherited |
◆ name
python.L1.Base.Thresholds.Threshold.name |
|
inherited |
◆ reta
python.L1.Base.Thresholds.eEMVarThreshold.reta |
◆ rhad
python.L1.Base.Thresholds.eEMVarThreshold.rhad |
◆ run
python.L1.Base.Thresholds.Threshold.run |
|
inherited |
◆ suffix
python.L1.Base.Thresholds.eEMVarThreshold.suffix |
◆ thresholdValues
python.L1.Base.Thresholds.Threshold.thresholdValues |
|
inherited |
◆ ttype
python.L1.Base.Thresholds.Threshold.ttype |
|
inherited |
◆ wstot
python.L1.Base.Thresholds.eEMVarThreshold.wstot |
The documentation for this class was generated from the following file: