ATLAS Offline Software
Classes | Functions | Variables
python.AppMgr Namespace Reference

Classes

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

Functions

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

Variables

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

Function Documentation

◆ _delattr()

def python.AppMgr._delattr (   self,
  attr 
)
private

Definition at line 787 of file AppMgr.py.

787 def _delattr( self, attr ):
788  try:
789  c = getattr( self, attr )
790 
791  try:
792  self.Auditors.remove( c.getFullName() )
793  except ValueError:
794  pass
795 
796  try:
797  self.Auditors.remove( c.getName() )
798  except ValueError:
799  pass
800 
801  except AttributeError:
802  pass
803 
804  super( GaudiCommonSvcConf.AuditorSvc, self ).__delattr__( attr )
805 
806 GaudiCommonSvcConf.AuditorSvc.__delattr__ = _delattr

◆ iadd()

def python.AppMgr.iadd (   self,
  tool 
)

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

Definition at line 28 of file AppMgr.py.

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

Variable Documentation

◆ __all__

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

Definition at line 20 of file AppMgr.py.

◆ __author__

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

Definition at line 18 of file AppMgr.py.

◆ __version__

string python.AppMgr.__version__ = '3.2.0'
private

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

Definition at line 17 of file AppMgr.py.

◆ athAlgSeq

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

Definition at line 833 of file AppMgr.py.

◆ athBeginSeq

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

Definition at line 835 of file AppMgr.py.

◆ athCondSeq

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

Definition at line 832 of file AppMgr.py.

◆ athEndSeq

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

Definition at line 836 of file AppMgr.py.

◆ athMasterSeq

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

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

Definition at line 831 of file AppMgr.py.

◆ athOutSeq

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

Definition at line 834 of file AppMgr.py.

◆ copyChild

python.AppMgr.copyChild

Definition at line 60 of file AppMgr.py.

◆ ServiceMgr

python.AppMgr.ServiceMgr = theApp.serviceMgr()

Definition at line 768 of file AppMgr.py.

◆ theApp

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

Definition at line 764 of file AppMgr.py.

◆ theAuditorSvc

python.AppMgr.theAuditorSvc = ServiceMgr.AuditorSvc

Definition at line 812 of file AppMgr.py.

◆ ToolSvc

python.AppMgr.ToolSvc = ServiceMgr.ToolSvc

Definition at line 770 of file AppMgr.py.

◆ topSequence

python.AppMgr.topSequence = athAlgSeq

Definition at line 838 of file AppMgr.py.

PixelModuleFeMask_create_db.remove
string remove
Definition: PixelModuleFeMask_create_db.py:83
python.AppMgr.iadd
def iadd(self, tool)
associator for public tools -------------------------------------------—
Definition: AppMgr.py:28
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
python.AppMgr._delattr
def _delattr(self, attr)
Definition: AppMgr.py:787