TTree with variable array to save disk space?

_ROOT Version:6.14
Platform: Not Provided
Compiler: Not Provided

Hi all:
I have a class

class A{
  double x;
  int i;
std::vector<A> a;
TTree * t1....

is that OK? if a.size() is very large? Does it safe?
just like

Also I found another way using TCloneArrays to save in the TTree TFile;
Should I use this way? or there is other better way to save variable arrays into TTree?


do not worry about the size of the vector. It is correctly handled.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.