Another problem is, that if I use “float” instead of “Float_t” when generating dictionary, I get this error: cling::DynamicLibraryManager::loadLibrary(): libflexiblas_netlib.so: cannot open shared object file: No such file or directory
This seems to indicate that your LD_LIBRARY_PATH has a rootmap file indicating that the vector has a dictionary in the library libflexiblas_netlib.so but it is not available.
Great, indeed it was a problem with TScan, while 3D vector works both in C++ and in Python (and no strange reference to libflexiblas_netlib.so after recompilation of ROOT). Thanks!
Would there be any chance of fixing TTree::Scan() for this purpose? RDataFrame is quite cumbersome for printing. I am not fluent at it, but to compare 2 columns that include multidimensional vectors, the shortest way to do it that I found is:
root -l
ROOT::RDataFrame df("tadc", "test.root");
auto b = df.Define("t00", "trace_ch[0][0]").Define("tx0", "trace_0[0]").Display({"t00", "tx0"});
b->Print();