May I ask you some help about the following problem I face:
I have two rootfiles containing many directories which in turns contains sub-directories, histograms and vectors.
I would like to create a new file containing a copy of some directories of the first file and of some other directories of the second file.
If first file is f1 and contains directories d1_1, d1_2, d1_3, d1_4, …
and if second file f2 contains directories d2_1, d2_2, d2_3, …
I would like to create a third file f3 containing d1_1, d1_4 and d2_6.
Is this possible ? I hope my failures to do this are only due to the lack of expertise in C++ and Root.
Thanks in advance for any help you can provide,