![]() |
|
|
Generated: 24 Nov 2008 |
#include <Algorithm.h>


Definition at line 65 of file Algorithm.h.
Public Member Functions | |
| PyAlg (PyObject *self, const std::string &name) | |
| constructor from Python object and the name | |
| virtual StatusCode | initialize () |
| Initialization (from CONFIGURED to INITIALIZED). | |
| virtual StatusCode | start () |
| Start (from INITIALIZED to RUNNING). | |
| virtual StatusCode | beginRun () |
| Algorithm begin run. | |
| virtual StatusCode | endRun () |
| Algorithm end run. | |
| virtual StatusCode | execute () |
| The action to be performed by the algorithm on an event. | |
| virtual StatusCode | stop () |
| Stop (from RUNNING to INITIALIZED). | |
| virtual StatusCode | finalize () |
| Finalize (from INITIALIZED to CONFIGURED). | |
| virtual IAlgorithm * | ialgorithm () |
| virtual IProperty * | iproperty () |
| virtual StatusCode | initialize_ () |
| virtual StatusCode | finalize_ () |
Protected Member Functions | |
| virtual | ~PyAlg () |
| virtual destructor | |
| PyObject * | _obj () const |
Private Member Functions | |
| PyAlg () | |
| PyAlg (const PyAlg &) | |
| PyAlg & | operator= (const PyAlg &) |
Private Attributes | |
| PyObject * | m_self |
| GaudiPython::PyAlg< ALGORITHM >::PyAlg | ( | PyObject * | self, | |
| const std::string & | name | |||
| ) | [inline] |
constructor from Python object and the name
| self | python object | |
| name | name of algorithm instance |
Definition at line 76 of file Algorithm.h.
00078 : ALGORITHM ( name , Gaudi::svcLocator() ) 00079 , m_self ( self ) 00080 { 00081 // the printout of actual type for embedded algorithm has no sence 00082 setProperty ( "TypePrint" , "false" ) ; 00083 setProperty ( "StatPrint" , "true" ) ; 00084 00085 // The owner of the Algorithm is Python (as creator) therfore 00086 // it should not be deleted by Gaudi (added an extra addRef()). 00087 addRef() ; 00088 addRef() ; 00089 }
| virtual GaudiPython::PyAlg< ALGORITHM >::~PyAlg | ( | ) | [inline, protected, virtual] |
| GaudiPython::PyAlg< ALGORITHM >::PyAlg | ( | ) | [private] |
| GaudiPython::PyAlg< ALGORITHM >::PyAlg | ( | const PyAlg< ALGORITHM > & | ) | [private] |
| PyObject* GaudiPython::PyAlg< ALGORITHM >::_obj | ( | ) | const [inline, protected] |
| virtual StatusCode GaudiPython::PyAlg< ALGORITHM >::initialize | ( | ) | [inline, virtual] |
Initialization (from CONFIGURED to INITIALIZED).
Implements IAlgorithm.
Definition at line 96 of file Algorithm.h.
00097 { return GaudiPython::call_python_method ( m_self , "initialize" ) ; }
| virtual StatusCode GaudiPython::PyAlg< ALGORITHM >::start | ( | ) | [inline, virtual] |
Start (from INITIALIZED to RUNNING).
Implements IAlgorithm.
Definition at line 99 of file Algorithm.h.
00100 { return GaudiPython::call_python_method ( m_self , "start" ) ; }
| virtual StatusCode GaudiPython::PyAlg< ALGORITHM >::beginRun | ( | ) | [inline, virtual] |
Algorithm begin run.
This method is called at the beginning of the event loop.
Implements IAlgorithm.
Definition at line 102 of file Algorithm.h.
00103 { return GaudiPython::call_python_method ( m_self , "beginRun" ) ; }
| virtual StatusCode GaudiPython::PyAlg< ALGORITHM >::endRun | ( | ) | [inline, virtual] |
Algorithm end run.
This method is called at the end of the event loop.
Implements IAlgorithm.
Definition at line 104 of file Algorithm.h.
00105 { return GaudiPython::call_python_method ( m_self , "endRun" ) ; }
| virtual StatusCode GaudiPython::PyAlg< ALGORITHM >::execute | ( | ) | [inline, virtual] |
The action to be performed by the algorithm on an event.
This method is invoked once per event for top level algorithms by the application manager.
Implements IAlgorithm.
Definition at line 107 of file Algorithm.h.
00108 { return GaudiPython::call_python_method ( m_self , "execute" ) ; }
| virtual StatusCode GaudiPython::PyAlg< ALGORITHM >::stop | ( | ) | [inline, virtual] |
Stop (from RUNNING to INITIALIZED).
Implements IAlgorithm.
Definition at line 110 of file Algorithm.h.
00111 { return GaudiPython::call_python_method ( m_self , "stop" ) ; }
| virtual StatusCode GaudiPython::PyAlg< ALGORITHM >::finalize | ( | ) | [inline, virtual] |
Finalize (from INITIALIZED to CONFIGURED).
Implements IAlgorithm.
Definition at line 112 of file Algorithm.h.
00113 { return GaudiPython::call_python_method ( m_self , "finalize" ) ; }
| virtual IAlgorithm* GaudiPython::PyAlg< ALGORITHM >::ialgorithm | ( | ) | [inline, virtual] |
| virtual IProperty* GaudiPython::PyAlg< ALGORITHM >::iproperty | ( | ) | [inline, virtual] |
| virtual StatusCode GaudiPython::PyAlg< ALGORITHM >::initialize_ | ( | ) | [inline, virtual] |
| virtual StatusCode GaudiPython::PyAlg< ALGORITHM >::finalize_ | ( | ) | [inline, virtual] |
| PyAlg& GaudiPython::PyAlg< ALGORITHM >::operator= | ( | const PyAlg< ALGORITHM > & | ) | [private] |
PyObject* GaudiPython::PyAlg< ALGORITHM >::m_self [private] |
Definition at line 131 of file Algorithm.h.