GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TGo4FitAmplEstimation Class Reference

#include <TGo4FitAmplEstimation.h>

+ Inheritance diagram for TGo4FitAmplEstimation:

Public Member Functions

 TGo4FitAmplEstimation ()
 TGo4FitAmplEstimation (const char *Name, Int_t NumIters=1)
virtual ~TGo4FitAmplEstimation ()
Int_t GetNumIterations () const
void SetNumIterations (Int_t iNumIters)
virtual Bool_t NeedBuffers () const
virtual void DoAction (TGo4FitterAbstract *Fitter)
virtual void Print (Option_t *option) const
- Public Member Functions inherited from TGo4FitterAction
 TGo4FitterAction ()
 TGo4FitterAction (const char *Name, const char *Title, TNamed *Owner=0)
virtual ~TGo4FitterAction ()
virtual Bool_t CanChangeFitter () const
- Public Member Functions inherited from TGo4FitNamed
 TGo4FitNamed ()
 TGo4FitNamed (const char *Name, const char *Title, TNamed *Owner=0)
virtual ~TGo4FitNamed ()
const char * GetFullName ()
const char * GetOwnerFullName ()
void SetOwner (TNamed *iOwner)
TNamed * GetOwner ()
void Print (Option_t *option) const

Private Member Functions

Double_t PointWeight (Int_t niter, Int_t FFtype, Double_t value, Double_t modelvalue, Double_t standdev)
Bool_t CalculateWithBuffers (TGo4Fitter *fitter)
Bool_t CalculateWithIterators (TGo4Fitter *fitter)

Private Attributes

Int_t fiNumIters

Detailed Description

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.

Definition at line 25 of file TGo4FitAmplEstimation.h.

Constructor & Destructor Documentation

TGo4FitAmplEstimation::TGo4FitAmplEstimation ( )

Default constructor.

Definition at line 29 of file TGo4FitAmplEstimation.cxx.

TGo4FitAmplEstimation::TGo4FitAmplEstimation ( const char *  Name,
Int_t  NumIters = 1 

Creates TGo4FitAmplEstimation action with given name. Optionally, default number of iterations can be sets up (default 1).

Definition at line 32 of file TGo4FitAmplEstimation.cxx.

TGo4FitAmplEstimation::~TGo4FitAmplEstimation ( )

Destroys TGo4FitAmplEstimation object.

Definition at line 36 of file TGo4FitAmplEstimation.cxx.

Member Function Documentation

Bool_t TGo4FitAmplEstimation::CalculateWithBuffers ( TGo4Fitter fitter)
Bool_t TGo4FitAmplEstimation::CalculateWithIterators ( TGo4Fitter fitter)
void TGo4FitAmplEstimation::DoAction ( TGo4FitterAbstract Fitter)

Perform amplitude estimations. See Go4Fit tutorial to more details.

Implements TGo4FitterAction.

Definition at line 39 of file TGo4FitAmplEstimation.cxx.

References CalculateWithBuffers(), and CalculateWithIterators().

Referenced by TGo4Fitter::EstimateAmplitudes().

Int_t TGo4FitAmplEstimation::GetNumIterations ( ) const

Returns number of iterations.

Definition at line 47 of file TGo4FitAmplEstimation.h.

References fiNumIters.

virtual Bool_t TGo4FitAmplEstimation::NeedBuffers ( ) const

Reimplemented from TGo4FitterAction.

Definition at line 54 of file TGo4FitAmplEstimation.h.

Double_t TGo4FitAmplEstimation::PointWeight ( Int_t  niter,
Int_t  FFtype,
Double_t  value,
Double_t  modelvalue,
Double_t  standdev 
void TGo4FitAmplEstimation::Print ( Option_t *  option) const

Print information on standard output.

Definition at line 339 of file TGo4FitAmplEstimation.cxx.

References fiNumIters, and TGo4FitNamed::Print().

void TGo4FitAmplEstimation::SetNumIterations ( Int_t  iNumIters)

Sets number of iterations.

Definition at line 52 of file TGo4FitAmplEstimation.h.

References fiNumIters.

Referenced by QFitAmplEstimWidget::Iterations_valueChanged().

Member Data Documentation

Int_t TGo4FitAmplEstimation::fiNumIters

Number of iterations, used for amplitude estimation.

Definition at line 76 of file TGo4FitAmplEstimation.h.

Referenced by CalculateWithBuffers(), CalculateWithIterators(), GetNumIterations(), Print(), and SetNumIterations().

The documentation for this class was generated from the following files: