FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
macro
softrig
mergemct.C
Go to the documentation of this file.
1
int
mergemct
(
TString
ntp,
TString
fout,
TString
f1
,
TString
f2
=
""
,
TString
f3
=
""
,
TString
f4
=
""
,
TString
f5=
""
)
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
TFile
f
(fout,
"RECREATE"
);
12
TTree *newtree = n.CopyTree(
"xmct||mode%1000==900"
);
13
f.Write();
14
f.Close();
15
return
0;
16
}
f1
TF1 * f1
Definition:
reco_analys2.C:50
n
int n
Definition:
HypStatDecay.cxx:21
f4
TFile * f4
Definition:
ReadMesDecCorrRes.C:9
f3
TFile * f3
Definition:
ReadMesDecCorrRes.C:8
mergemct
int mergemct(TString ntp, TString fout, TString f1, TString f2="", TString f3="", TString f4="", TString f5="")
Definition:
mergemct.C:1
f
TFile * f
Definition:
bump_analys.C:12
TString
TString
Definition:
SimCompleteLinkDef.h:6
f2
TFile * f2
Definition:
ReadMesDecCorrRes.C:5
Generated on Wed Apr 3 2019 10:02:47 for FairRoot/PandaRoot by
1.8.5