ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
python.AlgSequence.AthSequencer Class Reference

sequence of Gaudi algorithms, to replace the generated configurable More...

Inheritance diagram for python.AlgSequence.AthSequencer:
Collaboration diagram for python.AlgSequence.AthSequencer:

Public Member Functions

def __init__ (self, name="AthSequencer", **kwargs)
 
def getProperties (self)
 
def insert (self, index, item)
 
def setup (self)
 
def __init__ (self, name="AthSequencer", **kwargs)
 
def __iadd__ (self, algo)
 
def __len__ (self)
 

Public Attributes

 Members
 remove the lock for the sake of the next line, which updates the names of all the sequence's members needs to avoid calling unlock to avoid stack traces THIS SHOULD NOT BE DONE ELSEWHERE More...
 

Detailed Description

sequence of Gaudi algorithms, to replace the generated configurable

Sequence of Gaudi algorithms

Definition at line 23 of file Control/AthenaCommon/python/AlgSequence.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

def python.AlgSequence.AthSequencer.__init__ (   self,
  name = "AthSequencer",
**  kwargs 
)

Definition at line 26 of file Control/AthenaCommon/python/AlgSequence.py.

26  def __init__( self, name = "AthSequencer", **kwargs ):
27  # call base class __init__ to pass new name
28  super( AthSequencer, self ).__init__( name, **kwargs )
29 

◆ __init__() [2/2]

def python.AlgSequence.AthSequencer.__init__ (   self,
  name = "AthSequencer",
**  kwargs 
)

Definition at line 10 of file Control/AthenaConfiguration/python/AlgSequence.py.

10  def __init__( self, name = "AthSequencer", **kwargs ):
11  # call base class __init__ to pass new name
12  super( AthSequencer, self ).__init__( name, **kwargs )
13 

Member Function Documentation

◆ __iadd__()

def python.AlgSequence.AthSequencer.__iadd__ (   self,
  algo 
)

Definition at line 14 of file Control/AthenaConfiguration/python/AlgSequence.py.

14  def __iadd__(self,algo):
15  super( AthSequencer, self ).Members.append(algo.__cpp_type__+"/"+algo.name)
16 

◆ __len__()

def python.AlgSequence.AthSequencer.__len__ (   self)

Definition at line 17 of file Control/AthenaConfiguration/python/AlgSequence.py.

17  def __len__(self):
18  return len(super( AthSequencer, self ).Members)

◆ getProperties()

def python.AlgSequence.AthSequencer.getProperties (   self)

Definition at line 30 of file Control/AthenaCommon/python/AlgSequence.py.

30  def getProperties( self ):
31 
32  props = super( AthSequencer, self ).getProperties()
33 
34 
35  if 'Members' in props:
36  props['Members'] = [ c.getFullName() for c in self.getChildren() ]
37  return props
38 

◆ insert()

def python.AlgSequence.AthSequencer.insert (   self,
  index,
  item 
)

Definition at line 39 of file Control/AthenaCommon/python/AlgSequence.py.

39  def insert( self, index, item ):
40  self.__iadd__( item, index = index )
41 

◆ setup()

def python.AlgSequence.AthSequencer.setup (   self)

Definition at line 42 of file Control/AthenaCommon/python/AlgSequence.py.

42  def setup( self ):
43 
44 
48  self._flags &= ~self._fIsLocked
49 
50  self.Members = [ c.getFullName() for c in self.getChildren() ]
51 
52  from AthenaCommon import Logging
53  msg = Logging.logging.getLogger( "AthSequencer" )
54  msg.debug( 'setup of sequence: %s', self.getName() )
55  if msg.isEnabledFor( Logging.logging.VERBOSE ):
56  # call of __repr__ is relatively expensive
57  msg.verbose( 'layout of sequence: %s\n%s', self.getName(), str(self) )
58 
59 
60  super( AthSequencer, self ).setup()
61 
62 # store the new AthSequencer into CfgMgr to make it available

Member Data Documentation

◆ Members

python.AlgSequence.AthSequencer.Members

remove the lock for the sake of the next line, which updates the names of all the sequence's members needs to avoid calling unlock to avoid stack traces THIS SHOULD NOT BE DONE ELSEWHERE

synchronize the list of Members with our Configurable children

Definition at line 50 of file Control/AthenaCommon/python/AlgSequence.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
str
Definition: BTagTrackIpAccessor.cxx:11
python.setup
def setup()
Definition: Control/Hephaestus/python/__init__.py:9