I am adding two TProfile’s using the add() function, but the errors being produced in the addition seem to be amplitude dependent such that at the peak of my distribution, the error is largest.
This is not what I would expect to be a reasonable result of adding errors in quadrature. The errors in both TProfile’s are of the same order of magnitude so I would only expect an increase in the error by a factor of root 2 after summing.
TProfile::Add acts like a merge. The two profiles are merged and the resulting error will be then smaller due to the larger statistics. In a TProfile the error depends on the number of entries in the bin and the spread, has nothing to do with the amplitude.