ATLAS Offline Software
Public Member Functions | Public Attributes | Private Attributes | List of all members
python.JetAnalysisCommon.ConfArray Class Reference
Collaboration diagram for python.JetAnalysisCommon.ConfArray:

Public Member Functions

def __init__ (self, key, conflist, parent)
 
def __iadd__ (self, conflist)
 
def __iter__ (self)
 
def append (self, conf)
 
def assignAllProperties (self, anaAlg)
 

Public Attributes

 key
 
 conflist
 

Private Attributes

 _parent
 
 _anaAlg
 

Detailed Description

A simplistic array of Configured (see below) to replace the ToolHandleArray of Athena 

Definition at line 59 of file JetAnalysisCommon.py.

Constructor & Destructor Documentation

◆ __init__()

def python.JetAnalysisCommon.ConfArray.__init__ (   self,
  key,
  conflist,
  parent 
)

Definition at line 61 of file JetAnalysisCommon.py.

61  def __init__(self, key, conflist , parent):
62  self.key = key
63  self._parent = parent
64  self.conflist=[]
65  self += conflist
66 

Member Function Documentation

◆ __iadd__()

def python.JetAnalysisCommon.ConfArray.__iadd__ (   self,
  conflist 
)

Definition at line 67 of file JetAnalysisCommon.py.

67  def __iadd__(self, conflist):
68  self.conflist += conflist
69  for conf in conflist:
70  conf.setparent(self._parent)
71  conf._name = self.key
72 

◆ __iter__()

def python.JetAnalysisCommon.ConfArray.__iter__ (   self)

Definition at line 73 of file JetAnalysisCommon.py.

73  def __iter__(self):
74  return iter(self.conflist)
75 

◆ append()

def python.JetAnalysisCommon.ConfArray.append (   self,
  conf 
)

Definition at line 76 of file JetAnalysisCommon.py.

76  def append(self, conf):
77  self += [conf]
78 

◆ assignAllProperties()

def python.JetAnalysisCommon.ConfArray.assignAllProperties (   self,
  anaAlg 
)

Definition at line 79 of file JetAnalysisCommon.py.

79  def assignAllProperties(self, anaAlg):
80  self._anaAlg = anaAlg
81  for conf in self.conflist:
82  actualName = anaAlg.createPrivateToolInArray(conf.fullname(), conf.type)
83  conf._name = actualName.split('.')[-1] # because AnaAlgorithmConfig will assign it's own naming scheme
84  conf.assignAllProperties(anaAlg)
85 
86 

Member Data Documentation

◆ _anaAlg

python.JetAnalysisCommon.ConfArray._anaAlg
private

Definition at line 80 of file JetAnalysisCommon.py.

◆ _parent

python.JetAnalysisCommon.ConfArray._parent
private

Definition at line 63 of file JetAnalysisCommon.py.

◆ conflist

python.JetAnalysisCommon.ConfArray.conflist

Definition at line 64 of file JetAnalysisCommon.py.

◆ key

python.JetAnalysisCommon.ConfArray.key

Definition at line 62 of file JetAnalysisCommon.py.


The documentation for this class was generated from the following file:
python.Bindings.__iter__
__iter__
Definition: Control/AthenaPython/python/Bindings.py:791
dumpHVPathFromNtuple.append
bool append
Definition: dumpHVPathFromNtuple.py:91
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18