Hi all,
I want to do following:
- select from a single Tree,which has various branches, several events (e.g.: eventnr 1 and 23 and 51).
Then I would like to merge those e.g. 3 events into a single one and store it in a new tree (which I have already created with auto newtree = oldtree->Clone(0)). - repeat step 1) multiple times (with of course different events)
Old Tree: New Tree:
Selected Eventnumbers: Created Eventnumbers:
1,23,51 1
2,4 2
99,134,188 3
.....
Is there a method in ROOT how I could do this?
Thanks in advance!