Merging

  Look at Example
  Download Example

This example shows a simple way to merge the root tree files or to use the root tree files made by the previous example to make histograms. The example to download will allow you to add as may histogram as you like in a header file named test.h. If you would like to put result in a file instead you can do something like the following (run these on the previous example out put file called output.root).

  Skim trees into a new file

 

If instead you make a new tree instead of histograms you can make sequential skims of you data set. In this way you can merge various trees into a single storage tree.