ATLAS Offline Software
Loading...
Searching...
No Matches
PyROOTTTreePatch.cxx File Reference

Additions to root's pythonized TTree. More...

#include "CxxUtils/checker_macros.h"
#include "RootUtils/PyROOTTTreePatch.h"
#include "RootUtils/PyAthenaGILStateEnsure.h"
#include "Utility.h"
#include "Python.h"
#include "TTree.h"
#include "TBranch.h"
#include "TPython.h"
#include "TNotifyLink.h"
Include dependency graph for PyROOTTTreePatch.cxx:

Go to the source code of this file.

Classes

class  PyROOT::CPPInstance
class  RootUtils::TreeNotifier
 Tree notification handler. More...

Namespaces

namespace  PyROOT
namespace  RootUtils

Macros

#define INSTALL_METHOD(pyclass, name, func)

Functions

PyObjectRootUtils::treeSetNotify (PyObject *, PyObject *args)
 Implementation for pythonization of TTree::SetNotify.
PyObjectRootUtils::treeGetNotify (PyObject *, PyObject *args)
 Implementation for pythonization of TTree::SetNotify.
PyObjectRootUtils::branchSetAddress (PyObject *, PyObject *args)
 Pythonization of TBranch::SetAddress.
void RootUtils::installMethod (PyObject *pyclass, PyMethodDef &pdef, const char *name, PyCFunction cfunc)
 Helper to install a method in a Python class.

Variables

 ATLAS_NO_CHECK_FILE_THREAD_SAFETY
static PyObjectRootUtils::notifier_str = 0
static PyObjectRootUtils::pynotify_str = 0

Detailed Description

Additions to root's pythonized TTree.

Author
scott snyder
Date
Nov 2007, revised Aug 2020

Definition in file PyROOTTTreePatch.cxx.

Macro Definition Documentation

◆ INSTALL_METHOD

#define INSTALL_METHOD ( pyclass,
name,
func )
Value:
do { \
static PyMethodDef pdef; \
installMethod (pyclass, pdef, name, (PyCFunction)func); \
} while(0)

Variable Documentation

◆ ATLAS_NO_CHECK_FILE_THREAD_SAFETY

ATLAS_NO_CHECK_FILE_THREAD_SAFETY

Definition at line 13 of file PyROOTTTreePatch.cxx.