]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGPP/QA/Tracking/ExpertQA/joinTrees.C
Adding function to make a tree with selected track. TOF and V0 based selection.
[u/mrichter/AliRoot.git] / PWGPP / QA / Tracking / ExpertQA / joinTrees.C
1
2 void joinTrees( const char* inlist = "qpt.list" ){
3
4   TChain * chain = AliXRDPROOFtoolkit::MakeChain( inlist,"TrendingTree",0,10000,0);
5 TFile f("TrendingTree.root","recreate");
6 TTree * tree = chain->CopyTree("1");
7 tree->Write();
8 f.Close(); 
9
10 }