Acessing custom class branches in python

In principle, you would need to create a shared library:

`root-config --cxx --cflags` -fPIC -shared -I${DD4hep_DIR}/include ContDict.cxx -o libContDict.so `root-config --libs`

and then load it into ROOT before opening your file:

root [0] .L libContDict.so
root [1] new TBrowser()
1 Like