_ROOT Version:6.14
Platform: Not Provided
Compiler: Not Provided
Hi all:
I have a class
class A{
public:
double x;
int i;
};
std::vector<A> a;
TTree * t1....
t1->Branch("A",&A)
is that OK? if a.size() is very large? Does it safe?
just like https://root.cern.ch/doc/master/hvector_8C.html
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?