TFitResultPtr and TF1

Dear experts

I am doing mass fitting for different particles. All of them have the same distribution. I think it is more convenient to write a common fitting macro, say, massfitting.C, and call it every time, than copy and paste it to the specific macro. But how could I get both TF1 object and TFitResultPtr or TFitResult object? I do not know what object the function should return. Could the TF1 object be reconstructed by TFitResult object?

Many thanks in advance.
Yousen


ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


Seems no reply posted.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.