How to find root built-in function?


Please read tips for efficient and successful posting and posting code

Hello,
I am wondering how to find the root built-in function? Like gaus and pol5? I want to see the concrete expression,thanks

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


https://root.cern/root/htmldoc/guides/users-guide/FittingHistograms.html#the-tf1-function-class

Thank you very much! And do you know the code for the fit function save? I want to look into the macro if possible.

TF1::InitStandardFunctions();
gROOT->GetListOfFunctions()->ls();
gROOT->GetFunction("gaus")->Print();
gROOT->GetFunction("pol5")->Print();

Thank you very much!

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