when trying to store a vector<vector<vector<Float_t> > > into a TTree according to the example code attached to this post (run via $ root -l run_example.cpp), entries are not properly stored. To be more precise, the vectors stored seem to correspond to arrays with dimensions [10][5][1] (according to TTree::Scan) while the code should result in [10][5][10]. 2D nested vector I/O works fine. According to this thread, I/O with 3D nested vectors should be possible, so I would like to ask if there is something wrong with the way I try to store the nested vectors or if there is something else to consider.
Thanks, my mistake (unsuccessfully tried TTree::Draw and TTree:Scan without trying to access the data directly). I suppose that there is no way to make TTree::Draw work with nested vectors of dimension 3 or larger yet?