The Gaudi Framework  master (594c33fa)
GaudiPython.Bindings.PyAlgorithm Class Reference
Inheritance diagram for GaudiPython.Bindings.PyAlgorithm:
Collaboration diagram for GaudiPython.Bindings.PyAlgorithm:

Public Member Functions

def __init__ (self, name=None)
 
def __del__ (self)
 
def initialize (self)
 
def start (self)
 
def execute (self)
 
def stop (self)
 
def finalize (self)
 

Private Attributes

 _svcloc
 
 _algmgr
 

Detailed Description

Definition at line 1449 of file Bindings.py.

Constructor & Destructor Documentation

◆ __init__()

def GaudiPython.Bindings.PyAlgorithm.__init__ (   self,
  name = None 
)

Definition at line 1450 of file Bindings.py.

1450  def __init__(self, name=None):
1451  if not name:
1452  name = self.__class__.__name__
1453  _PyAlgorithm.__init__(self, self, name)
1454  self._svcloc = gbl.Gaudi.svcLocator()
1455  self._algmgr = InterfaceCast(gbl.IAlgManager)(self._svcloc)
1456  sc = self._algmgr.addAlgorithm(self)
1457  if sc.isFailure():
1458  raise RuntimeError("Unable to add Algorithm")
1459 

◆ __del__()

def GaudiPython.Bindings.PyAlgorithm.__del__ (   self)

Definition at line 1460 of file Bindings.py.

1460  def __del__(self):
1461  sc = self._algmgr.removeAlgorithm(self)
1462  if sc.isFailure():
1463  pass
1464 

Member Function Documentation

◆ execute()

def GaudiPython.Bindings.PyAlgorithm.execute (   self)

Definition at line 1471 of file Bindings.py.

1471  def execute(self):
1472  return 1
1473 

◆ finalize()

def GaudiPython.Bindings.PyAlgorithm.finalize (   self)

Definition at line 1477 of file Bindings.py.

1477  def finalize(self):
1478  return 1
1479 
1480 
1481 # ----Enable tab completion----------------------------------------------------
1482 try:

◆ initialize()

def GaudiPython.Bindings.PyAlgorithm.initialize (   self)

Definition at line 1465 of file Bindings.py.

1465  def initialize(self):
1466  return 1
1467 

◆ start()

def GaudiPython.Bindings.PyAlgorithm.start (   self)

Definition at line 1468 of file Bindings.py.

1468  def start(self):
1469  return 1
1470 

◆ stop()

def GaudiPython.Bindings.PyAlgorithm.stop (   self)

Definition at line 1474 of file Bindings.py.

1474  def stop(self):
1475  return 1
1476 

Member Data Documentation

◆ _algmgr

GaudiPython.Bindings.PyAlgorithm._algmgr
private

Definition at line 1455 of file Bindings.py.

◆ _svcloc

GaudiPython.Bindings.PyAlgorithm._svcloc
private

Definition at line 1454 of file Bindings.py.


The documentation for this class was generated from the following file:
GaudiPartProp.Service.InterfaceCast
InterfaceCast
Definition: Service.py:40
IOTest.start
start
Definition: IOTest.py:110
GaudiPython.Pythonizations.execute
execute
Definition: Pythonizations.py:578