A simplistic array of Configured (see below) to replace the ToolHandleArray of Athena
Definition at line 59 of file JetAnalysisCommon.py.
◆ __init__()
| python.JetAnalysisCommon.ConfArray.__init__ |
( |
| self, |
|
|
| key, |
|
|
| conflist, |
|
|
| parent ) |
Definition at line 62 of file JetAnalysisCommon.py.
62 def __init__(self, key, conflist , parent):
63 self.key = key
64 self._parent = parent
65 self.conflist=[]
66 self += conflist
67
◆ __iadd__()
| python.JetAnalysisCommon.ConfArray.__iadd__ |
( |
| self, |
|
|
| conflist ) |
Definition at line 68 of file JetAnalysisCommon.py.
68 def __iadd__(self, conflist):
69 self.conflist += conflist
70 for conf in conflist:
71 conf.setparent(self._parent)
72 conf._name = self.key
73
◆ __iter__()
| python.JetAnalysisCommon.ConfArray.__iter__ |
( |
| self | ) |
|
◆ append()
| python.JetAnalysisCommon.ConfArray.append |
( |
| self, |
|
|
| conf ) |
◆ assignAllProperties()
| python.JetAnalysisCommon.ConfArray.assignAllProperties |
( |
| self, |
|
|
| anaAlg ) |
Definition at line 80 of file JetAnalysisCommon.py.
80 def assignAllProperties(self, anaAlg):
81 self._anaAlg = anaAlg
82 for conf in self.conflist:
83 tool = anaAlg.addPrivateToolInArray(conf.fullname(), conf.type)
84 conf._name = tool._prefix.split('.')[-1]
85 conf.assignAllProperties(anaAlg)
86
87
◆ _anaAlg
| python.JetAnalysisCommon.ConfArray._anaAlg = anaAlg |
|
protected |
◆ _parent
| python.JetAnalysisCommon.ConfArray._parent = parent |
|
protected |
◆ conflist
| python.JetAnalysisCommon.ConfArray.conflist = [] |
◆ key
| python.JetAnalysisCommon.ConfArray.key = key |
The documentation for this class was generated from the following file: