I usually create a tchain and then add my files to it.
Then I call TChain::Process and get output objects. Since my files are independant. Could it be better to generate N tchain and then call N times TChain::Process or create one tchain and call one time TChain::Process ?
I ask the question because then I need to split the output objects anyway and store them into :
I am still a little bit puzzled, trying to correctly arrange my output object with respect to my input tree, in the case I process 1 time the N files. I was thinking to get a TTree with the following branches : run:spill:hist1:hist2:hist3
Then I will have anyway have to re-read the tree and split by run and spill.
What would be the best solution ?