Please read tips for efficient and successful posting and posting code
ROOT Version: 6.24
Platform: Not Provided
Compiler: Not Provided
Hi, i want to read a vector<vector > branch but i confronted with this error:
Error in <TTree::SetBranchAddress>: The class requested (vector<vector<int> >) for the branch "mc_mother_pdgId" is an instance of an stl collection and does not have a compiled CollectionProxy. Please generate the dictionary for this collection (vector<vector<int> >) to avoid to write corrupted data.
I’d appreciate if anyone helps me.
Generate dictionary for vector<vector> in CMake file maybe some sort of solution is in this thread. Usually to expand the set of custom object or classes known from Root to be saved/read from a ttree I would recommend ( that’s what I usually do) to generate a dictionary and run with compiled code or generate a shared lib to load in any macro .
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.