I would like to add a bunch of TF1’s together. So I followed this set of instructions:
In principle I want to do more than just 2 though… I want to do N where N is a large number (say 10k)
I have uploaded a simple file “test.c” which tries to add a bunch of gaussians. Set the number of events to say 100, it’s fine. Set it to 1000, there is a problem. This may be due to sloppy memory management on my part, but I think I deleted all the pointers.
So I’m wondering if this is a fundamental limit of adding TF1’s.