Now I got a branch in a tree, branch->Scan() looks like
root [90] root->Scan()
Row * Instance * electron1 *
0 * 0 * 7.471e-06 *
0 * 1 * 5.923e-07 *
0 * 2 * 618037985 *
0 * 3 * 2.472e+09 *
0 * 4 * 3.214e+10 *
0 * 5 * 1 *
0 * 6 * 7.489e-06 *
0 * 7 * 6.375e-07 *
0 * 8 * 618037985 *
0 * 9 * 2.472e+09 *
0 * 10 * 3.219e+10 *
0 * 11 * 1 *
0 * 12 * 7.505e-06 *
0 * 13 * -4.78e-07 *
0 * 14 * 618037985 *
0 * 15 * 2.472e+09 *
0 * 16 * 3.061e+10 *
0 * 17 * 1 *
0 * 18 * 7.505e-06 *
0 * 19 * -9.13e-08 *
0 * 20 * 618037985 *
0 * 21 * 2.472e+09 *
0 * 22 * 3.095e+10 *
0 * 23 * 1 *
0 * 24 * 7.519e-06 *
Type to continue or q to quit ==>
but now I want to put all the data into a vector ,How should I do that? or, split this branch into three other branches according to the instance number?
Thanks!