9#include <framework/pybasf2/PyDBObj.h>
10#include <framework/datastore/DataStore.h>
19 TClass* getDefaultClass(
const std::string& name)
22 TClass* cl = TClass::GetClass((
"Belle2::" + name).c_str());
25 cl = TClass::GetClass(name.c_str());
27 if (!cl)
return TObject::Class();
40 PyObject* list = PyList_New(0);
44 PyList_Append(list, PyLong_FromUnsignedLong(boundary));
Base class for DBObjPtr and DBArray for easier common treatment.
const std::vector< unsigned int > getIntraRunBoundaries() const
Get the intra-run boundaries, if any.
In the store you can park objects that have to be accessed by various modules.
Class to access a DBObjPtr from Python.
PyObject * getIntraRunBoundariesList() const
Get the intra-run boundaries, if any, as a python list.
PyDBObj(const std::string &name, bool required=true)
Construct the object from the name of the payload.
Abstract base class for different kinds of events.