
#include </builds/gaudi/Gaudi/GaudiPython/include/GaudiPython/Helpers.h>
Public Member Functions | |
| Helper () | |
Static Public Member Functions | |
| static IService * | service (ISvcLocator *svcloc, const std::string &name, bool createif=false) |
| static IAlgorithm * | algorithm (IAlgManager *algmgr, const std::string &name, const bool createIf=false) |
| static DataObject * | dataobject (IDataProviderSvc *dpsvc, const std::string &path) |
| static StatusCode | registerObject (IDataProviderSvc *dpsvc, const std::string &path, DataObject *pObject) |
| static StatusCode | unregisterObject (IDataProviderSvc *dpsvc, const std::string &path) |
| static GAUDI_API DataObject * | findobject (IDataProviderSvc *dpsvc, const std::string &path) |
| simple wrapper for IDataProviderSvc::findObject The methdod does NOT trigger the loading the object from tape or Data-On-Demand action | |
| static GAUDI_API DataObject * | getobject (IDataProviderSvc *dpsvc, const std::string &path, const bool retrieve=true, const bool disableDoD=false) |
| the generic function to get object from TES | |
| static IAlgTool * | tool (IToolSvc *toolsvc, const std::string &type, const std::string &name, IInterface *p, bool cif) |
| static long | loadDynamicLib (const std::string &name) |
| static IHistogram1D * | histo1D (IHistogramSvc *hsvc, const std::string &path) |
| static IHistogram2D * | histo2D (IHistogramSvc *hsvc, const std::string &path) |
| static IHistogram3D * | histo3D (IHistogramSvc *hsvc, const std::string &path) |
| static IProfile1D * | profile1D (IHistogramSvc *hsvc, const std::string &path) |
| static IProfile2D * | profile2D (IHistogramSvc *hsvc, const std::string &path) |
| template<class T> | |
| static PyObject * | toArray (T *ptr, Py_ssize_t size) |
| static PyObject * | toIntArray (void *ptr, Py_ssize_t size) |
| static PyObject * | toShortArray (void *ptr, Py_ssize_t size) |
| static PyObject * | toFloatArray (void *ptr, Py_ssize_t size) |
| static PyObject * | toDoubleArray (void *ptr, Py_ssize_t size) |
| template<class T> | |
| static T * | toAddress (std::vector< T > &v) |
| template<class T> | |
| static T * | toAddress (void *a) |
Static Private Member Functions | |
| template<class T> | |
| static Py_ssize_t | Array_length (PyObject *self) |
| template<class T> | |
| static PyObject * | toPython (T *) |
| static PyObject * | toPython (int *o) |
| static PyObject * | toPython (short *o) |
| static PyObject * | toPython (char *o) |
| static PyObject * | toPython (long *o) |
| static PyObject * | toPython (float *o) |
| static PyObject * | toPython (double *o) |
| template<class T> | |
| static PyObject * | Array_item (PyObject *self, Py_ssize_t idx) |
|
inlinestatic |
|
inlinestaticprivate |
Definition at line 212 of file Helpers.h.
|
inlinestaticprivate |
|
inlinestatic |
Definition at line 113 of file Helpers.h.
|
static |
simple wrapper for IDataProviderSvc::findObject The methdod does NOT trigger the loading the object from tape or Data-On-Demand action
| psvc | (INPUT) pointer to Data ProviderService |
| path | the full path in TES |
Definition at line 51 of file Helpers.cpp.
|
static |
the generic function to get object from TES
| psvc | (INPUT) pointer to Data ProviderService |
| path | the full path in TES |
| rerieve | (INPUT) retrieve or find object ? |
| disableDoD | (INPUT) disable 'on-demand-actions' ? |
Definition at line 119 of file Helpers.cpp.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 157 of file Helpers.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 118 of file Helpers.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 233 of file Helpers.h.
|
inlinestatic |
Definition at line 252 of file Helpers.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 152 of file Helpers.h.
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestatic |
|
inlinestatic |