ATLAS Offline Software
Loading...
Searching...
No Matches
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

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

Public Attributes

list Members = [ c.getFullName() for c in self.getChildren() ]
 synchronize the list of Members with our Configurable children

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__()

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

Member Function Documentation

◆ getProperties()

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()

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()

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
bool setup(asg::AnaToolHandle< Interface > &tool, const std::string &type, const std::vector< std::string > &config, const std::string &progressFile="")
mostly useful for athena, which will otherwise re-use the previous tool

Member Data Documentation

◆ Members

list python.AlgSequence.AthSequencer.Members = [ c.getFullName() for c in self.getChildren() ]

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: