The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
GaudiPython.Bindings.PyAlgorithm Class Reference
Inheritance diagram for GaudiPython.Bindings.PyAlgorithm:
Collaboration diagram for GaudiPython.Bindings.PyAlgorithm:

Public Member Functions

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

Protected Attributes

 _svcloc = gbl.Gaudi.svcLocator()
 _algmgr = InterfaceCast(gbl.IAlgManager)(self._svcloc)

Detailed Description

Definition at line 1413 of file Bindings.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 1414 of file Bindings.py.

1414 def __init__(self, name=None):
1415 if not name:
1416 name = self.__class__.__name__
1417 _PyAlgorithm.__init__(self, self, name)
1418 self._svcloc = gbl.Gaudi.svcLocator()
1419 self._algmgr = InterfaceCast(gbl.IAlgManager)(self._svcloc)
1420 sc = self._algmgr.addAlgorithm(self)
1421 if sc.isFailure():
1422 raise RuntimeError("Unable to add Algorithm")
1423

◆ __del__()

GaudiPython.Bindings.PyAlgorithm.__del__ ( self)

Definition at line 1424 of file Bindings.py.

1424 def __del__(self):
1425 sc = self._algmgr.removeAlgorithm(self)
1426 if sc.isFailure():
1427 pass
1428

Member Function Documentation

◆ execute()

GaudiPython.Bindings.PyAlgorithm.execute ( self)

Definition at line 1435 of file Bindings.py.

1435 def execute(self):
1436 return 1
1437

◆ finalize()

GaudiPython.Bindings.PyAlgorithm.finalize ( self)

Definition at line 1441 of file Bindings.py.

1441 def finalize(self):
1442 return 1
1443
1444
1445# ----Enable tab completion----------------------------------------------------

◆ initialize()

GaudiPython.Bindings.PyAlgorithm.initialize ( self)

Definition at line 1429 of file Bindings.py.

1429 def initialize(self):
1430 return 1
1431

◆ start()

GaudiPython.Bindings.PyAlgorithm.start ( self)

Definition at line 1432 of file Bindings.py.

1432 def start(self):
1433 return 1
1434

◆ stop()

GaudiPython.Bindings.PyAlgorithm.stop ( self)

Definition at line 1438 of file Bindings.py.

1438 def stop(self):
1439 return 1
1440

Member Data Documentation

◆ _algmgr

GaudiPython.Bindings.PyAlgorithm._algmgr = InterfaceCast(gbl.IAlgManager)(self._svcloc)
protected

Definition at line 1419 of file Bindings.py.

◆ _svcloc

GaudiPython.Bindings.PyAlgorithm._svcloc = gbl.Gaudi.svcLocator()
protected

Definition at line 1418 of file Bindings.py.


The documentation for this class was generated from the following file: