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 | +— athEndSeq | +— athOutSeq More...
 
 athCondSeq = AlgSequence.AthSequencer( "AthCondSeq" )
 
 athAlgSeq = AlgSequence.AthSequencer( "AthAlgSeq" )
 
 athOutSeq = AlgSequence.AthSequencer( "AthOutSeq" )
 
 athBeginSeq = AlgSequence.AthSequencer( "AthBeginSeq" )
 
 athEndSeq = AlgSequence.AthSequencer( "AthEndSeq" )
 

Function Documentation

◆ _delattr()

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

Definition at line 794 of file AppMgr.py.

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

◆ iadd()

def python.AppMgr.iadd (   self,
  tool 
)

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

Definition at line 29 of file AppMgr.py.

29 def 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 
56 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',
5  'athOutSeq',
6  ]

Definition at line 21 of file AppMgr.py.

◆ __author__

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

Definition at line 19 of file AppMgr.py.

◆ __version__

string python.AppMgr.__version__ = '3.2.0'
private

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

Definition at line 18 of file AppMgr.py.

◆ athAlgSeq

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

Definition at line 840 of file AppMgr.py.

◆ athBeginSeq

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

Definition at line 842 of file AppMgr.py.

◆ athCondSeq

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

Definition at line 839 of file AppMgr.py.

◆ athEndSeq

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

Definition at line 843 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 838 of file AppMgr.py.

◆ athOutSeq

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

Definition at line 841 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 775 of file AppMgr.py.

◆ theApp

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

Definition at line 771 of file AppMgr.py.

◆ theAuditorSvc

python.AppMgr.theAuditorSvc = ServiceMgr.AuditorSvc

Definition at line 819 of file AppMgr.py.

◆ ToolSvc

python.AppMgr.ToolSvc = ServiceMgr.ToolSvc

Definition at line 777 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:29
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
python.AppMgr._delattr
def _delattr(self, attr)
Definition: AppMgr.py:794