11#ifndef ATHENAPYTHON_PYATHENAALG_H
12#define ATHENAPYTHON_PYATHENAALG_H
40 Alg(
const std::string& name, ISvcLocator* pSvcLocator );
48 virtual StatusCode
start()
override;
49 virtual StatusCode
execute()
override;
50 virtual StatusCode
stop()
override;
51 virtual StatusCode
finalize()
override;
63 virtual const char*
typeName()
const override;
80 virtual bool setPyAttr(
PyObject* pyobj )
override;
Define macros for attributes used to control the static checker.
Base class from which all concrete Athena algorithm classes should be derived.
virtual StatusCode reinitialize() override
virtual PyObject * self() override
return associated python object.
Alg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor:
PyObject * m_self
Pointer to self (from the python world)
virtual StatusCode stop() override
virtual StatusCode sysInitialize() override
Override sysInitialize.
virtual const char * typeName() const override
return the std::type_info name of the underlying py-component This is used by concrete implementation...
virtual StatusCode start() override
virtual StatusCode execute() override
Alg()
Default constructor:
virtual StatusCode finalize() override
StatusCode callPyMethod ATLAS_NOT_THREAD_SAFE(PyObject *self, const char *method, PyObject *arg=nullptr)
call the python method