ATLAS Offline Software
Loading...
Searching...
No Matches
python.AppMgr Namespace Reference

Classes

class  AthAppMgr
class  AthServiceManager
 associator for services -----------------------------------------------— More...

Functions

 iadd (self, tool)
 associator for public tools -------------------------------------------—
 _delattr (self, attr)

Variables

str __version__ = '3.2.0'
 data ------------------------------------------------------------------—
str __author__ = 'Wim Lavrijsen (WLavrijsen@lbl.gov)'
list __all__
 __iadd__
 copyChild
 theApp
 ServiceMgr = theApp.serviceMgr()
 ToolSvc = ServiceMgr.ToolSvc
 __delattr__
 theAuditorSvc = ServiceMgr.AuditorSvc
 athMasterSeq = AlgSequence.AthSequencer( "AthMasterSeq" )
 create default sequences: athMasterSeq | +— athAlgEvtSeq | +— athBeginSeq | +— athAllAlgSeq | +— athCondSeq (after athAlgSeq in MT) | +— athAlgSeq | +— athEndSeq | +— athOutSeq
 athCondSeq = AlgSequence.AthSequencer( "AthCondSeq" )
 athAlgSeq = AlgSequence.AthSequencer( "AthAlgSeq" )
 athOutSeq = AlgSequence.AthSequencer( "AthOutSeq" )
 athBeginSeq = AlgSequence.AthSequencer( "AthBeginSeq" )
 athEndSeq = AlgSequence.AthSequencer( "AthEndSeq" )
 _useGlobalInstances
 Auditors

Detailed Description

Application manager and other global Gaudi components.

Function Documentation

◆ _delattr()

python.AppMgr._delattr ( self,
attr )
protected

Definition at line 793 of file AppMgr.py.

793def _delattr( self, attr ):
794 try:
795 c = getattr( self, attr )
796
797 try:
798 self.Auditors.remove( c.getFullName() )
799 except ValueError:
800 pass
801
802 try:
803 self.Auditors.remove( c.getName() )
804 except ValueError:
805 pass
806
807 except AttributeError:
808 pass
809
810 super( GaudiCommonSvcConf.AuditorSvc, self ).__delattr__( attr )
811

◆ iadd()

python.AppMgr.iadd ( self,
tool )

associator for public tools -------------------------------------------—

Definition at line 29 of file AppMgr.py.

29def iadd( self, tool ):
30
31 if not type(tool) in (list,tuple):
32 tool = (tool,)
33
34 # only add once (allow silently)
35 if not self._useGlobalInstances:
36 # But if duplicates may not be the same Configurable instances,
37 # need to force the owner to prevent errors about public tools
38 # not in ToolSvc when old configuration fragments are imported
39 # in new configurations.
40 dups = [t for t in tool if t in self.getChildren()]
41 for t in dups:
42 t.setParent (self.name())
43 tool = [t for t in tool if t not in self.getChildren()]
44 if len(tool)==0: return self
45
46 # this is only allowed for new-style AlgTool
47 for t in tool:
48 if not isinstance( t, Configurable.ConfigurableAlgTool ):
49 raise TypeError( '"%s" is not an AlgTool' %
50 (hasattr(t,'name') and t.name() or "This configurable" ) )
51
52 super( GaudiCoreSvcConf.ToolSvc, self ).__iadd__( tool )
53
54 return self
55

Variable Documentation

◆ __all__

list python.AppMgr.__all__
private
Initial value:
1= [ 'theApp', 'ServiceMgr', 'ToolSvc', 'theAuditorSvc',
2 'athMasterSeq',
3 'athCondSeq',
4 'athAlgSeq',
5 'athOutSeq',
6 ]

Definition at line 21 of file AppMgr.py.

◆ __author__

str python.AppMgr.__author__ = 'Wim Lavrijsen (WLavrijsen@lbl.gov)'
private

Definition at line 19 of file AppMgr.py.

◆ __delattr__

python.AppMgr.__delattr__
private

Definition at line 812 of file AppMgr.py.

◆ __iadd__

python.AppMgr.__iadd__
private

Definition at line 56 of file AppMgr.py.

◆ __version__

str python.AppMgr.__version__ = '3.2.0'
private

data ------------------------------------------------------------------—

Definition at line 18 of file AppMgr.py.

◆ _useGlobalInstances

python.AppMgr._useGlobalInstances
protected

Definition at line 35 of file AppMgr.py.

◆ athAlgSeq

python.AppMgr.athAlgSeq = AlgSequence.AthSequencer( "AthAlgSeq" )

Definition at line 839 of file AppMgr.py.

◆ athBeginSeq

python.AppMgr.athBeginSeq = AlgSequence.AthSequencer( "AthBeginSeq" )

Definition at line 841 of file AppMgr.py.

◆ athCondSeq

python.AppMgr.athCondSeq = AlgSequence.AthSequencer( "AthCondSeq" )

Definition at line 838 of file AppMgr.py.

◆ athEndSeq

python.AppMgr.athEndSeq = AlgSequence.AthSequencer( "AthEndSeq" )

Definition at line 842 of file AppMgr.py.

◆ athMasterSeq

python.AppMgr.athMasterSeq = AlgSequence.AthSequencer( "AthMasterSeq" )

create default sequences: athMasterSeq | +— athAlgEvtSeq | +— athBeginSeq | +— athAllAlgSeq | +— athCondSeq (after athAlgSeq in MT) | +— athAlgSeq | +— athEndSeq | +— athOutSeq

Definition at line 837 of file AppMgr.py.

◆ athOutSeq

python.AppMgr.athOutSeq = AlgSequence.AthSequencer( "AthOutSeq" )

Definition at line 840 of file AppMgr.py.

◆ Auditors

python.AppMgr.Auditors

Definition at line 784 of file AppMgr.py.

◆ copyChild

python.AppMgr.copyChild

Definition at line 61 of file AppMgr.py.

◆ ServiceMgr

python.AppMgr.ServiceMgr = theApp.serviceMgr()

Definition at line 774 of file AppMgr.py.

◆ theApp

python.AppMgr.theApp
Initial value:
1= AthAppMgr(
2 outputLevel = Logging.AthenaLogger.mapLevelLoggingToGaudi( Logging.log.getEffectiveLevel() )
3 )

Definition at line 770 of file AppMgr.py.

◆ theAuditorSvc

python.AppMgr.theAuditorSvc = ServiceMgr.AuditorSvc

Definition at line 818 of file AppMgr.py.

◆ ToolSvc

python.AppMgr.ToolSvc = ServiceMgr.ToolSvc

Definition at line 776 of file AppMgr.py.