Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:22:45

0001 #include <iostream>
0002 #include <TFile.h>
0003 #include <TChain.h>
0004 
0005 /**
0006  * Simple skeleton of a macro acting as a reminder on how to merge root files.
0007  */
0008 
0009 void MergeRootTrees()
0010 {
0011   TChain * chain = new TChain("T");
0012   chain->Add("Background_1.root");
0013   chain->Add("Background_2.root");
0014   chain->Merge("Background.root");
0015 }