◆ __init__()
def python.L1.Base.Thresholds.jEMThreshold.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
ttype = 'jEM' , |
|
|
|
mapping = -1 |
|
) |
| |
◆ __str__()
def python.L1.Base.Thresholds.Threshold.__str__ |
( |
|
self | ) |
|
|
inherited |
◆ addThrValue()
def python.L1.Base.Thresholds.jEMThreshold.addThrValue |
( |
|
self, |
|
|
|
value, |
|
|
* |
args, |
|
|
** |
kwargs |
|
) |
| |
Definition at line 466 of file Trigger/TriggerCommon/TriggerMenuMT/python/L1/Base/Thresholds.py.
466 def addThrValue(self, value, *args, **kwargs):
468 defargs = ThresholdValue.getDefaults(self.ttype.name)
469 posargs = dict(zip([
'etamin',
'etamax',
'phimin',
'phimax',
'priority'], args))
472 p = deepcopy(defargs)
476 thrv = ThresholdValue(self.ttype, value,
477 etamin = p[
'etamin'], etamax=p[
'etamax'], phimin=p[
'phimin'], phimax=p[
'phimax'],
478 priority = p[
'priority'], name = self.name+
'full')
479 if len(self.thresholdValues):
480 raise RuntimeError(
"Threshold %s of type %s cannot have multiple Et cuts" % ( self.name, self.ttype ) )
481 self.thresholdValues.
append(thrv)
◆ getVarName()
def python.L1.Base.Thresholds.Threshold.getVarName |
( |
|
self | ) |
|
|
inherited |
◆ isI()
def python.L1.Base.Thresholds.jEMThreshold.isI |
( |
|
self | ) |
|
◆ isL()
def python.L1.Base.Thresholds.jEMThreshold.isL |
( |
|
self | ) |
|
◆ isLegacy()
def python.L1.Base.Thresholds.Threshold.isLegacy |
( |
|
self | ) |
|
|
inherited |
◆ isM()
def python.L1.Base.Thresholds.jEMThreshold.isM |
( |
|
self | ) |
|
◆ isV()
def python.L1.Base.Thresholds.jEMThreshold.isV |
( |
|
self | ) |
|
◆ json()
def python.L1.Base.Thresholds.jEMThreshold.json |
( |
|
self | ) |
|
◆ setIsolation()
def python.L1.Base.Thresholds.jEMThreshold.setIsolation |
( |
|
self, |
|
|
|
iso = "None" , |
|
|
|
frac = "None" , |
|
|
|
frac2 = "None" |
|
) |
| |
Definition at line 453 of file Trigger/TriggerCommon/TriggerMenuMT/python/L1/Base/Thresholds.py.
453 def setIsolation(self, iso = "None", frac = "None", frac2 = "None"):
454 allowed = [
"None",
"Loose",
"Medium",
"Tight" ]
455 if iso
not in allowed:
456 raise RuntimeError(
"Threshold %s of type %s: isolation wp %s not allowed for iso, must be one of %s", self.name, self.ttype, iso,
', '.
join(allowed) )
457 if frac
not in allowed:
458 raise RuntimeError(
"Threshold %s of type %s: isolation wp %s not allowed for frac, must be one of %s", self.name, self.ttype, frac,
', '.
join(allowed) )
459 if frac2
not in allowed:
460 raise RuntimeError(
"Threshold %s of type %s: isolation wp %s not allowed for frac2, must be one of %s", self.name, self.ttype, frac2,
', '.
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 |
◆ frac
python.L1.Base.Thresholds.jEMThreshold.frac |
◆ frac2
python.L1.Base.Thresholds.jEMThreshold.frac2 |
◆ iso
python.L1.Base.Thresholds.jEMThreshold.iso |
◆ l1configForRegistration
python.L1.Base.Thresholds.Threshold.l1configForRegistration |
|
staticinherited |
◆ mapping
python.L1.Base.Thresholds.Threshold.mapping |
|
inherited |
◆ name
python.L1.Base.Thresholds.Threshold.name |
|
inherited |
◆ run
python.L1.Base.Thresholds.Threshold.run |
|
inherited |
◆ suffix
python.L1.Base.Thresholds.jEMThreshold.suffix |
◆ thresholdValues
python.L1.Base.Thresholds.Threshold.thresholdValues |
|
inherited |
◆ ttype
python.L1.Base.Thresholds.Threshold.ttype |
|
inherited |
The documentation for this class was generated from the following file: