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

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

#include "CxxUtils/checker_macros.h"
#include "Python.h"
Include dependency graph for PyROOTTTreePatch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RootUtils::PyROOTTTreePatch

Namespaces

namespace  RootUtils

Variables

 ATLAS_NO_CHECK_FILE_THREAD_SAFETY

Detailed Description

Additions to root's pythonized TTree.

Author
scott snyder
Date
Nov 2007, revised Aug 2020

The code here will make the following changes to PyROOT's behavior:

  • The SetNotify method now takes a Python object, and performs a Python call to the Notify method. This allows for Python notification callbacks. The Python object is saved in the __pynotify__ attribute of the tree Python object. The GetNotify method is changed to return this Python object.
  • A Pythonizations is provided for TBranch::SetAddress.

Definition in file PyROOTTTreePatch.h.

Variable Documentation

◆ ATLAS_NO_CHECK_FILE_THREAD_SAFETY

ATLAS_NO_CHECK_FILE_THREAD_SAFETY

Definition at line 28 of file PyROOTTTreePatch.h.