FairRoot/PandaRoot
Functions
softrig/merge.C File Reference

Go to the source code of this file.

Functions

int merge (TString ntp, TString fout, TString f1, TString f2="", TString f3="", TString f4="", TString f5="")
 

Function Documentation

int merge ( TString  ntp,
TString  fout,
TString  f1,
TString  f2 = "",
TString  f3 = "",
TString  f4 = "",
TString  f5 = "" 
)

Definition at line 1 of file softrig/merge.C.

References f2, f3, f4, and n.

2 {
3  TChain n(ntp);
4 
5  n.Add(f1);
6  if (f2!="") n.Add(f2);
7  if (f3!="") n.Add(f3);
8  if (f4!="") n.Add(f4);
9  if (f5!="") n.Add(f5);
10 
11  n.Merge(fout);
12  return 0;
13 }
TF1 * f1
Definition: reco_analys2.C:50
int n
TFile * f4
TFile * f3
TFile * f2