Definition at line 268 of file TopoAlgos.py.
◆ __init__()
def python.L1.Base.TopoAlgos.ZeroBiasAlgo.__init__ |
( |
|
self, |
|
|
|
name |
|
) |
| |
Definition at line 269 of file TopoAlgos.py.
270 super(ZeroBiasAlgo, self).
__init__(name=name, classtype=
'ZeroBias', input=name, threshold=name, output=name, nbits=1)
◆ __str__()
def python.L1.Base.TopoAlgos.TopoAlgo.__str__ |
( |
|
self | ) |
|
|
inherited |
◆ addgeneric()
def python.L1.Base.TopoAlgos.TopoAlgo.addgeneric |
( |
|
self, |
|
|
|
name, |
|
|
|
value |
|
) |
| |
|
inherited |
Definition at line 53 of file TopoAlgos.py.
53 def addgeneric(self, name, value):
54 if name
in self._availableVars:
55 self.generics += [ Generic(name, value) ]
57 raise RuntimeError(
"Generic parameter '%s' does not exist for algorithm %s of type %s,\navailable parameters are %r" % (name,self.name, self.classtype, self._availableVars))
◆ addvariable()
def python.L1.Base.TopoAlgos.TopoAlgo.addvariable |
( |
|
self, |
|
|
|
name, |
|
|
|
value, |
|
|
|
selection = -1 |
|
) |
| |
|
inherited |
Definition at line 46 of file TopoAlgos.py.
46 def addvariable(self, name, value, selection = -1):
47 if name
in self._availableVars:
48 self.variables += [
Variable(name, selection, value) ]
50 raise RuntimeError(
"Variable parameter '%s' does not exist for algorithm %s of type %s,\navailable parameters are %r" % (name,self.name, self.classtype, self._availableVars))
◆ configureFromThreshold()
def python.L1.Base.TopoAlgos.MultiplicityAlgo.configureFromThreshold |
( |
|
self, |
|
|
|
thr |
|
) |
| |
|
inherited |
◆ getScaleToCountsEM()
def python.L1.Base.TopoAlgos.TopoAlgo.getScaleToCountsEM |
( |
|
self | ) |
|
|
inherited |
Definition at line 65 of file TopoAlgos.py.
65 def getScaleToCountsEM(self):
66 tw = self.menuThr.typeWideThresholdConfig(ThrType[
"EM"])
67 return 1000 // tw[
"resolutionMeV"]
◆ isDecisionAlg()
def python.L1.Base.TopoAlgos.TopoAlgo.isDecisionAlg |
( |
|
self | ) |
|
|
inherited |
◆ isMultiplicityAlg()
def python.L1.Base.TopoAlgos.MultiplicityAlgo.isMultiplicityAlg |
( |
|
self | ) |
|
|
inherited |
◆ isSortingAlg()
def python.L1.Base.TopoAlgos.TopoAlgo.isSortingAlg |
( |
|
self | ) |
|
|
inherited |
◆ json()
def python.L1.Base.TopoAlgos.MultiplicityAlgo.json |
( |
|
self | ) |
|
|
inherited |
◆ setThresholds()
def python.L1.Base.TopoAlgos.TopoAlgo.setThresholds |
( |
|
self, |
|
|
|
thresholds |
|
) |
| |
|
inherited |
Definition at line 42 of file TopoAlgos.py.
42 def setThresholds(self, thresholds):
44 self.menuThr = thresholds
◆ _availableVars
python.L1.Base.TopoAlgos.TopoAlgo._availableVars |
|
staticprivateinherited |
◆ classtype
python.L1.Base.TopoAlgos.TopoAlgo.classtype |
|
inherited |
◆ generics
python.L1.Base.TopoAlgos.TopoAlgo.generics |
|
inherited |
◆ input
python.L1.Base.TopoAlgos.MultiplicityAlgo.input |
|
inherited |
◆ menuThr
python.L1.Base.TopoAlgos.TopoAlgo.menuThr |
|
inherited |
◆ name
python.L1.Base.TopoAlgos.TopoAlgo.name |
|
inherited |
◆ nbits
python.L1.Base.TopoAlgos.MultiplicityAlgo.nbits |
|
inherited |
◆ outputs
python.L1.Base.TopoAlgos.MultiplicityAlgo.outputs |
|
inherited |
◆ threshold
python.L1.Base.TopoAlgos.MultiplicityAlgo.threshold |
|
inherited |
◆ variables
python.L1.Base.TopoAlgos.TopoAlgo.variables |
|
inherited |
The documentation for this class was generated from the following file: