◆ __init__()
def python.L1.Base.Thresholds.eEMThreshold.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
ttype = 'eEM' , |
|
|
|
mapping = -1 |
|
) |
| |
◆ __str__()
def python.L1.Base.Thresholds.Threshold.__str__ |
( |
|
self | ) |
|
|
inherited |
◆ addThrValue()
def python.L1.Base.Thresholds.eEMThreshold.addThrValue |
( |
|
self, |
|
|
|
value, |
|
|
* |
args, |
|
|
** |
kwargs |
|
) |
| |
Definition at line 328 of file Trigger/TriggerCommon/TriggerMenuMT/python/L1/Base/Thresholds.py.
328 def addThrValue(self, value, *args, **kwargs):
330 defargs = ThresholdValue.getDefaults(self.ttype.name)
331 posargs = dict(zip([
'etamin',
'etamax',
'phimin',
'phimax',
'priority'], args))
334 p = deepcopy(defargs)
338 thrv = ThresholdValue(self.ttype, value,
339 etamin = p[
'etamin'], etamax=p[
'etamax'], phimin=p[
'phimin'], phimax=p[
'phimax'],
340 priority = p[
'priority'], name = self.name+
'full')
341 if len(self.thresholdValues):
342 raise RuntimeError(
"Threshold %s of type %s cannot have multiple Et cuts" % ( self.name, self.ttype ) )
343 self.thresholdValues.
append(thrv)
◆ getVarName()
def python.L1.Base.Thresholds.Threshold.getVarName |
( |
|
self | ) |
|
|
inherited |
◆ isI()
def python.L1.Base.Thresholds.eEMThreshold.isI |
( |
|
self | ) |
|
◆ isL()
def python.L1.Base.Thresholds.eEMThreshold.isL |
( |
|
self | ) |
|
◆ isLegacy()
def python.L1.Base.Thresholds.Threshold.isLegacy |
( |
|
self | ) |
|
|
inherited |
◆ isM()
def python.L1.Base.Thresholds.eEMThreshold.isM |
( |
|
self | ) |
|
◆ isV()
def python.L1.Base.Thresholds.eEMThreshold.isV |
( |
|
self | ) |
|
◆ json()
def python.L1.Base.Thresholds.eEMThreshold.json |
( |
|
self | ) |
|
◆ setIsolation()
def python.L1.Base.Thresholds.eEMThreshold.setIsolation |
( |
|
self, |
|
|
|
rhad = "None" , |
|
|
|
reta = "None" , |
|
|
|
wstot = "None" |
|
) |
| |
Definition at line 315 of file Trigger/TriggerCommon/TriggerMenuMT/python/L1/Base/Thresholds.py.
315 def setIsolation(self, rhad = "None", reta = "None", wstot = "None"):
316 allowed = [
"None",
"Loose",
"Medium",
"Tight" ]
317 if rhad
not in allowed:
318 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) )
319 if reta
not in allowed:
320 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) )
321 if wstot
not in allowed:
322 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.eEMThreshold.reta |
◆ rhad
python.L1.Base.Thresholds.eEMThreshold.rhad |
◆ run
python.L1.Base.Thresholds.Threshold.run |
|
inherited |
◆ suffix
python.L1.Base.Thresholds.eEMThreshold.suffix |
◆ thresholdValues
python.L1.Base.Thresholds.Threshold.thresholdValues |
|
inherited |
◆ ttype
python.L1.Base.Thresholds.Threshold.ttype |
|
inherited |
◆ wstot
python.L1.Base.Thresholds.eEMThreshold.wstot |
The documentation for this class was generated from the following file: