14#ifndef TGO4FITTERCONFIG_H
15#define TGO4FITTERCONFIG_H
61 void AddParNew(
const char *ParName, Double_t iValue = 0) {
fxParsNew.CreatePar(ParName,
"config",iValue); }
67 virtual Bool_t
SetParFixed(
const char *ParName, Bool_t iFixed = kTRUE);
73 virtual Bool_t
SetParRange(
const char *ParName, Double_t RangeMin, Double_t RangeMax);
91 virtual Bool_t
GetParRange(
const char *ParName, Double_t &RangeMin, Double_t &RangeMax);
113 void SetParInit(
const char *FullName,
const char *iExpression);
168 void Print(Option_t *option =
"")
const override;
Object, used to store dependency of one parameter from other, calculated via expression.
Model and data objects parameter.
List of TGo4FitParameter objects.
Basic class for objects, which performs actions on fitter.
Fitter configuration action.
void Print(Option_t *option="") const override
Print information on standard output.
TObjArray & GetParsDepend()
Returns list of TGo4FitDependency objects, used for dependencies calculations.
virtual ~TGo4FitterConfig()
Destroys TGo4FitterConfig object.
virtual Bool_t GetParRange(const char *ParName, Double_t &RangeMin, Double_t &RangeMax)
Return kTRUE, if parameter ParName has explicit configuration for valid range in minimization.
void SetParInit(const char *FullName, Double_t iValue)
Set initial value for parameter.
void AddParNew(const char *ParName, Double_t iValue=0)
Add new parameter with given name and initial value.
TObjArray & GetParsInit()
Returns list of TGo4FitDependency objects, used for parameters initialization.
TGo4FitParsList fxParsNew
List of parameters object, which can be used in dependency calculations and minimization.
virtual Bool_t SetParEpsilon(const char *ParName, Double_t Epsilon)
Sets epsilon for parameter ParName.
TGo4FitParameter * MakeParForProperties(const char *ParName)
TGo4FitParsList & GetParsNew()
Get list of TGo4FitParameter objects, which can be used in minimization and dependency calculations.
Bool_t fbFixedByDefault
Determine, if all parameters should be fixed by default.
void SetParDepend(const char *FullName, const char *iExpression)
Set dependency expression for parameter.
void DoAction(TGo4FitterAbstract *Fitter) override
Do configuration action.
virtual Bool_t GetParFixed(const char *ParName)
Return kTRUE, if parameter ParName should be fixed in minimization.
TGo4FitterConfig(const char *iName, const char *iTitle)
Creates TGo4FiierConfig object with given name and Title.
TGo4FitterConfig()
Default constructor.
TGo4FitParsList & GetParsCfg()
Get list of TGo4FitParameter objects, used as explicit configuration for minimizing.
TObjArray fxResults
Array of TGo4FitDependency objects, which represent equations to calculate result values in fitter.
virtual Bool_t SetParFixed(const char *ParName, Bool_t iFixed=kTRUE)
Sets, that parameter with ParName should be fixed or not.
TObjArray & GetResults()
Returns list of TGo4FitDependency objects, used for calculating result values for fitter.
void AddResult(Double_t Value)
Add constant value as result value.
TObjArray fxParsDepend
Array of dependencies (TGo4FitDependency) for introducing dependency between fitted parameters.
virtual Bool_t GetParEpsilon(const char *ParName, Double_t &Epsilon)
Return kTRUE, if parameter ParName has explicit configuration for epsilon value in minimization.
TObjArray fxParsInit
Array of dependencies for parameters initialization.
virtual Bool_t SetParRange(const char *ParName, Double_t RangeMin, Double_t RangeMax)
Sets valid range for parameter ParName.
void AddResult(const char *Expression)
Add expression for calculating result value.
void SetParInit(const char *FullName, const char *iExpression)
Set initial value for parameter, calculated from expression.
TGo4FitDependency * FindDepen(const char *FullName, TObjArray *list)
TGo4FitParsList fxParsCfg
List of parameters objects, used for alternative configuration of parameters, which should be fitted.