Logo ROOT  
Reference Guide
TTreePyz.cxx File Reference
#include "CPyCppyy.h"
#include "PyROOTPythonize.h"
#include "CPPInstance.h"
#include "ProxyWrappers.h"
#include "Converters.h"
#include "Utility.h"
#include "PyzCppHelpers.hxx"
#include "TClass.h"
#include "TTree.h"
#include "TBranch.h"
#include "TBranchElement.h"
#include "TBranchObject.h"
#include "TLeaf.h"
#include "TLeafElement.h"
#include "TLeafObject.h"
#include "TStreamerElement.h"
#include "TStreamerInfo.h"
Include dependency graph for TTreePyz.cxx:

Functions

static PyObjectBindBranchToProxy (TTree *tree, const char *name, TBranch *branch)
 
PyObjectGetAttr (CPPInstance *self, PyObject *pyname)
 
static TBranchSearchForBranch (TTree *tree, const char *name)
 
static TLeafSearchForLeaf (TTree *tree, const char *name, TBranch *branch)
 
PyObjectTryBranchLeafListOverload (int argc, PyObject *args)
 Try to match the arguments of TTree::Branch to the following overload: More...
 
PyObjectTryBranchPtrToPtrOverloads (int argc, PyObject *args)
 Try to match the arguments of TTree::Branch to one of the following overloads: More...
 
static PyObjectWrapLeaf (TLeaf *leaf)
 

Function Documentation

◆ BindBranchToProxy()

static PyObject* BindBranchToProxy ( TTree tree,
const char *  name,
TBranch branch 
)
static

Definition at line 61 of file TTreePyz.cxx.

◆ GetAttr()

PyObject* GetAttr ( CPPInstance self,
PyObject pyname 
)

Definition at line 122 of file TTreePyz.cxx.

◆ SearchForBranch()

static TBranch* SearchForBranch ( TTree tree,
const char *  name 
)
static

Definition at line 35 of file TTreePyz.cxx.

◆ SearchForLeaf()

static TLeaf* SearchForLeaf ( TTree tree,
const char *  name,
TBranch branch 
)
static

Definition at line 45 of file TTreePyz.cxx.

◆ TryBranchLeafListOverload()

PyObject* TryBranchLeafListOverload ( int  argc,
PyObject args 
)

Try to match the arguments of TTree::Branch to the following overload:

  • ( const char*, void*, const char*, Int_t = 32000 ) If the match succeeds, invoke Branch on the C++ tree with the right arguments.

Definition at line 254 of file TTreePyz.cxx.

◆ TryBranchPtrToPtrOverloads()

PyObject* TryBranchPtrToPtrOverloads ( int  argc,
PyObject args 
)

Try to match the arguments of TTree::Branch to one of the following overloads:

  • ( const char*, const char*, T**, Int_t = 32000, Int_t = 99 )
  • ( const char*, T**, Int_t = 32000, Int_t = 99 ) If the match succeeds, invoke Branch on the C++ tree with the right arguments.

Definition at line 303 of file TTreePyz.cxx.

◆ WrapLeaf()

static PyObject* WrapLeaf ( TLeaf leaf)
static

Definition at line 87 of file TTreePyz.cxx.