Go4Fit
Class TGo4FitAmplEstimation
- class TGo4FitAmplEstimation
- derived from TGo4FitterAction
Amplitude estimation action
In additional to general minimization routine very useful amplitude estimation algorithm can be used. If rest of models parameters have good initial estimation, the amplitude parameter can be defined by solving of system of linear equations, as described in theoretical preface part of tutorial. This algorithm is provided by TGo4FitAmplEstimation class. This action can be added by AddAmplEstimation() routine of fitter. Typically, this action should be added before minimization routine.
Field Summary |
private Int_t | fiNumIters Number of iterations, used for amplitude estimation. |
Fields inherited from class TNamed |
fName, fTitle |
Methods inherited from class TNamed |
operator=, Clear, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine |
fiNumIters
private Int_t fiNumIters
- Number of iterations, used for amplitude estimation.
TGo4FitAmplEstimation
public TGo4FitAmplEstimation()
- Default constructor.
TGo4FitAmplEstimation
public TGo4FitAmplEstimation(const char * Name, Int_t NumIters)
- Creates TGo4FitAmplEstimation action with given name.
Optinally, default number of iterations can be sets up (default 1).
~TGo4FitAmplEstimation
public virtual synchronized ~TGo4FitAmplEstimation()
- Destroys TGo4FitAmplEstimation object.
CalculateWithBuffers
private Bool_t CalculateWithBuffers(TGo4Fitter* fitter)
CalculateWithIterators
private Bool_t CalculateWithIterators(TGo4Fitter* fitter)
DoAction
public virtual void DoAction(TGo4FitterAbstract* Fitter)
- Perform amplitude estimations.
See Go4Fit tutorial to more details.
GetNumIterations
public Int_t GetNumIterations()
- Returns number of iterations.
NeedBuffers
public virtual const Bool_t NeedBuffers()
PointWeight
private Double_t PointWeight(Int_t niter, Int_t FFtype, Double_t value, Double_t modelvalue, Double_t standdev)
Print
public virtual const void Print(Option_t* option)
- Print information on standard output.
SetNumIterations
public void SetNumIterations(Int_t iNumIters)
- Sets number of iterations.
30-06-2005