Initializing a TBranch in PyROOT with a custom class in Python

Hello @RobinS,

welcome to the ROOT Forum! You have first to generate the dictionary for your class and then you can use it from Python too. See this example for a vector of vectors structure.

Cheers,
Monica