ATLAS Offline Software
Public Member Functions | Static Private Attributes | List of all members
python.AtlasSemantics.AppendListSemantics Class Reference
Inheritance diagram for python.AtlasSemantics.AppendListSemantics:
Collaboration diagram for python.AtlasSemantics.AppendListSemantics:

Public Member Functions

def __init__ (self, cpp_type)
 
def merge (self, b, a)
 

Static Private Attributes

tuple __handled_types__ = (re.compile(r"^appendList<.*>$"),)
 

Detailed Description

Extend the sequence-semantics with a merge-method that appends the lists
Use 'appendList<T>' as fifth parameter of the Gaudi::Property<T> constructor 
to invoke this merging method. The template parameter is important, also
in the string that forms the fifth argument. 

Definition at line 11 of file AtlasSemantics.py.

Constructor & Destructor Documentation

◆ __init__()

def python.AtlasSemantics.AppendListSemantics.__init__ (   self,
  cpp_type 
)

Definition at line 19 of file AtlasSemantics.py.

19  def __init__(self, cpp_type):
20  super(AppendListSemantics, self).__init__(cpp_type)
21 

Member Function Documentation

◆ merge()

def python.AtlasSemantics.AppendListSemantics.merge (   self,
  b,
  a 
)

Definition at line 22 of file AtlasSemantics.py.

22  def merge(self,b,a):
23  a.extend(b)
24  return a
25 

Member Data Documentation

◆ __handled_types__

tuple python.AtlasSemantics.AppendListSemantics.__handled_types__ = (re.compile(r"^appendList<.*>$"),)
staticprivate

Definition at line 18 of file AtlasSemantics.py.


The documentation for this class was generated from the following file:
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18
python.utility.LHE.merge
def merge(input_file_pattern, output_file)
Merge many input LHE files into a single output file.
Definition: LHE.py:29