Custom TF1 Sum

A similar problem was described in [url]Sum or multiply two TF1 objects

Your short example looks ok.