Dear root experts,
I have a TTree with various leafs, the type of one of those is std::vector<std::vector>.
I read the tree using the RDF libraries, perform operations on the leafs and finally I write the new TTree with the snapshot method of the RDF.
I don’t perform operations of the std::vector<std::vector> leaf but the Snapshot does.
In ROOT 6.22 I have no problems, but on the new shiny 6.24 have the following:
Error in <TTree::Branch>: The class requested (vector<vector<double>,ROOT::Detail::VecOps::RAdoptAllocator<vector<double> > >) for the branch "layerBarEnergy" is an instance of an stl collection and does not have a compiled CollectionProxy. Please generate the dictionary for this collection (vector<vector<double>,ROOT::Detail::VecOps::RAdoptAllocator<vector<double> > >) to avoid to write corrupted data.
RDataFrame::Run: event loop was interrupted
terminate called after throwing an instance of 'std::logic_error'
what(): Trying to insert a null branch address.
Aborted
Do I need to explicitly create a dictionary for std::vector<std::vector>? I did but nothing seems to change.
Am I missing something?
Thanks for your support
Best
Enrico
Please read tips for efficient and successful posting and posting code
_ROOT Version: 6.24/06
_Platform: centos7
_Compiler: gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)