I’ve this problem: I’ve to dump some branches from the input chain (fChain) to my output TTree. I’m setting the branches to my output in the Notify function. Is it ok? In this function I associate the address of the branches from the input file to the address to the branches to the new output file.
The problem is that sometimes there are some workers that are not working (because the data input is very small), so I’ve some workers where the Notify is not executed and so the branches are not defined. So at the merging step these branches are ignored.
[quote]Well, I can try to remove the TTree for the fOutput list in the SlaveTerminate if the number of processed event is zero.
[/quote]Yes, that is what I meant