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);
79 virtual Bool_t
SetParEpsilon(
const char *ParName, Double_t Epsilon);
91 virtual Bool_t
GetParRange(
const char *ParName, Double_t &RangeMin, Double_t &RangeMax);
97 virtual Bool_t
GetParEpsilon(
const char *ParName, Double_t& Epsilon);
104 void SetParInit(
const char *FullName, Double_t iValue);
113 void SetParInit(
const char *FullName,
const char *iExpression);
122 void SetParDepend(
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.
TGo4FitterAction()
Default constructor.
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 Bool_t SetParFixed(const char *ParName, Bool_t iFixed=kTRUE)
Sets, that parameter with ParName should be fixed or not.
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.
virtual Bool_t SetParEpsilon(const char *ParName, Double_t Epsilon)
Sets epsilon for parameter ParName.
TGo4FitParsList fxParsNew
List of parameters object, which can be used in dependency calculations and minimization.
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.
TGo4FitterConfig()
Default constructor.
TGo4FitParsList & GetParsCfg()
Get list of TGo4FitParameter objects, used as explicit configuration for minimizing.
virtual Bool_t GetParEpsilon(const char *ParName, Double_t &Epsilon)
Return kTRUE, if parameter ParName has explicit configuration for epsilon value in minimization.
TObjArray fxResults
Array of TGo4FitDependency objects, which represent equations to calculate result values in fitter.
virtual Bool_t GetParFixed(const char *ParName)
Return kTRUE, if parameter ParName should be fixed in minimization.
TObjArray & GetResults()
Returns list of TGo4FitDependency objects, used for calculating result values for fitter.
TObjArray fxParsDepend
Array of dependencies (TGo4FitDependency) for introducing dependency between fitted parameters.
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.
TObjArray fxParsInit
Array of dependencies for parameters initialization.
void AddResult(const char *Expression)
Add expression for calculating result value.
TGo4FitDependency * FindDepen(const char *FullName, TObjArray *list)
virtual Bool_t SetParRange(const char *ParName, Double_t RangeMin, Double_t RangeMax)
Sets valid range for parameter ParName.
virtual ~TGo4FitterConfig()
Destroys TGo4FitterConfig object.
TGo4FitParsList fxParsCfg
List of parameters objects, used for alternative configuration of parameters, which should be fitted.