◆ __init__()
def python.L1.Base.Thresholds.eTauThreshold.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
ttype = 'eTAU' , |
|
|
|
mapping = -1 |
|
) |
| |
◆ __str__()
def python.L1.Base.Thresholds.Threshold.__str__ |
( |
|
self | ) |
|
|
inherited |
◆ addThrValue()
def python.L1.Base.Thresholds.eTauThreshold.addThrValue |
( |
|
self, |
|
|
|
value, |
|
|
* |
args, |
|
|
** |
kwargs |
|
) |
| |
Definition at line 648 of file Trigger/TriggerCommon/TriggerMenuMT/python/L1/Base/Thresholds.py.
648 def addThrValue(self, value, *args, **kwargs):
650 defargs = ThresholdValue.getDefaults(self.ttype.name)
651 posargs = dict(zip([
'etamin',
'etamax',
'phimin',
'phimax',
'priority'], args))
654 p = deepcopy(defargs)
658 thrv = ThresholdValue(self.ttype, value,
659 etamin = p[
'etamin'], etamax=p[
'etamax'], phimin=p[
'phimin'], phimax=p[
'phimax'],
660 priority = p[
'priority'], name = self.name+
'full')
661 if len(self.thresholdValues):
662 raise RuntimeError(
"Threshold %s of type %s cannot have multiple Et cuts" % ( self.name, self.ttype ) )
663 self.thresholdValues.
append(thrv)
◆ getVarName()
def python.L1.Base.Thresholds.Threshold.getVarName |
( |
|
self | ) |
|
|
inherited |
◆ isH()
def python.L1.Base.Thresholds.eTauThreshold.isH |
( |
|
self | ) |
|
◆ isL()
def python.L1.Base.Thresholds.eTauThreshold.isL |
( |
|
self | ) |
|
◆ isLegacy()
def python.L1.Base.Thresholds.Threshold.isLegacy |
( |
|
self | ) |
|
|
inherited |
◆ isM()
def python.L1.Base.Thresholds.eTauThreshold.isM |
( |
|
self | ) |
|
◆ isT()
def python.L1.Base.Thresholds.eTauThreshold.isT |
( |
|
self | ) |
|
◆ json()
def python.L1.Base.Thresholds.eTauThreshold.json |
( |
|
self | ) |
|
Reimplemented from python.L1.Base.Thresholds.Threshold.
Definition at line 677 of file Trigger/TriggerCommon/TriggerMenuMT/python/L1/Base/Thresholds.py.
679 confObj[
"mapping"] = self.mapping
680 confObj[
"rCore"] = self.rCore
681 confObj[
"rHad"] = self.rHad
682 confObj[
"thrValues"] = []
683 for thrV
in self.thresholdValues:
684 confObj[
"thrValues"].
append( odict([
685 (
"value", thrV.value),
686 (
"etamin", thrV.etamin),
687 (
"etamax", thrV.etamax),
688 (
"phimin", thrV.phimin),
689 (
"phimax", thrV.phimax),
690 (
"priority", thrV.priority)
◆ setEt()
def python.L1.Base.Thresholds.eTauThreshold.setEt |
( |
|
self, |
|
|
|
et |
|
) |
| |
◆ setIsolation()
def python.L1.Base.Thresholds.eTauThreshold.setIsolation |
( |
|
self, |
|
|
|
rCore = "None" , |
|
|
|
rHad = "None" |
|
) |
| |
Definition at line 666 of file Trigger/TriggerCommon/TriggerMenuMT/python/L1/Base/Thresholds.py.
666 def setIsolation(self, rCore = "None", rHad = "None"):
667 allowed_rCore = [
"None",
"Loose",
"Medium",
"Tight" ]
668 allowed_rHad = [
"None",
"Loose",
"Medium",
"Tight"]
669 if rCore
not in allowed_rCore:
670 raise RuntimeError(
"Threshold %s of type %s: isolation wp %s not allowed for rCore, must be one of %s", self.name, self.ttype, rCore,
', '.
join(allowed_rCore) )
671 if rHad
not in allowed_rHad:
672 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_rHad) )
◆ 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 |
◆ et
python.L1.Base.Thresholds.eTauThreshold.et |
◆ l1configForRegistration
python.L1.Base.Thresholds.Threshold.l1configForRegistration |
|
staticinherited |
◆ mapping
python.L1.Base.Thresholds.Threshold.mapping |
|
inherited |
◆ name
python.L1.Base.Thresholds.Threshold.name |
|
inherited |
◆ rCore
python.L1.Base.Thresholds.eTauThreshold.rCore |
◆ rHad
python.L1.Base.Thresholds.eTauThreshold.rHad |
◆ run
python.L1.Base.Thresholds.Threshold.run |
|
inherited |
◆ suffix
python.L1.Base.Thresholds.eTauThreshold.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: