15 #ifndef TSPARAMFUNCTION_H_
16 #define TSPARAMFUNCTION_H_
24 #include "TSArgList.h"
26 #include "TSParameter.h"
34 TSParamFunction(TString name, TString label, TString title, TString unit=
"");
41 virtual double Evaluate()
const;
42 TString GetDescription()
const {
return fDescription;}
45 TF1* GetFunction()
const {
return fFunction;}
46 TString GetFormula()
const {
return fExpr;}
47 TString GetTF1Formula()
const {
return fTF1expr;}
48 int GetNumOfPars()
const {
return fNumOfPars;}
50 virtual double GetValue()
const;
67 void SetValue(
double);
68 void SetError(
double);
69 void SetAsymErrors(
double err_low,
double err_up);
74 void fBuildDescription();
78 void fCacheParam(
int)
const;
79 void fCacheParams()
const;
82 mutable double fValue;
88 void fClearParamList();
89 std::map<int,TSParameter*> fParamList;
92 virtual void fBuildPrimaryParamList();
98 static const int NMAX_CACHED_PARS=10;
99 mutable double fCachedParams[NMAX_CACHED_PARS];
double GetError() const
Definition: TSParamFunction.cc:144
Definition: TSArgList.h:30
bool SetFunction(TString expr)
Definition: TSParamFunction.cc:340
Definition: TSParamFunction.h:29
double GetValue2()
Definition: TSParamFunction.cc:218
Definition: TSParameter.h:39