ROOTTools
 
Loading...
Searching...
No Matches
TF1Tools.hpp
Go to the documentation of this file.
1
11#ifndef ROOT_TOOLS_TF1_TOOLS_HPP
12#define ROOT_TOOLS_TF1_TOOLS_HPP
13
14#include <string>
15
16#include "TF1.h"
17
19namespace ROOTTools
20{
40 unsigned int GetNumberOfParameters(const std::string& formula,
41 const std::string& parName = "p");
42}
43
44#endif /* ROOT_TOOLS_TF1_TOOLS_HPP */
unsigned int GetNumberOfParameters(const std::string &formula, const std::string &parName="p")
Return the biggest parameter index + 1 in formula of labmda function that was used in TF1 constructor...
Definition TF1Tools.cpp:16