Dear Rooters,
i’ve a ttree with members of type
vector<double> *member
and after addressing with
tree->SetBranchAddress("Member",&member);
i loop on the tree entries defining the iterator
vector<double>::iterator ite;
ite=Member.begin();
for(;ite!=Member.end();ite++) {
// do something
}
The problem is that i’ve many entries to loop on and it takes
a very long time, compared to ordinary vectors.
My question is: is there a speeder way to handle these STL objects ?
or to convert them to ordinary vectors and then loop on these objects
(because i don’t need the special functions offered by STL but my data is recorded
in this way) ?
Many thanks and best regards !
Max.