I have trees with 1D, 2D and 3D vectors of bools, shorts, etc. I have no problem assigning branches and reading them out in PyROOT directly through TTree. However, when I want to utilise the RDataFrame AsNumpy() function, I get errors like:
“RuntimeError: The column named “trace_ch” is of type “ROOT::VecOps::RVec<vector<vector >>”, which is not known to the ROOT interpreter. Please load the corresponding header files or dictionaries.”
I can declare and load the dictionaries in PyROOT, but I wonder if this is really necessary, since reading these values directly from the TTree works without any problem?
RuntimeError: The column named "adc_enabled_channels_ch" is of type "ROOT::VecOps::RVec<vector<bool>>", which is not known to the ROOT interpreter. Please load the corresponding header files or dictionaries.
when I call RDataFrame::AsNumpy().
I also tried to load the dictionaries that my C++ counterpart code generates. The load, but the error is the same.