TGo4FitDependency Class Reference

Object, used to store dependency of one parameter from other, calculated via expression. More...

#include <TGo4FitDependency.h>

List of all members.

Public Member Functions

 TGo4FitDependency ()
 TGo4FitDependency (const char *iParameter, const char *iExpression)
 TGo4FitDependency (const char *iParameter, Double_t InitValue)
virtual ~TGo4FitDependency ()
void SetParameter (const char *iParameter)
void SetInitValue (Double_t InitValue)
void SetExpression (const char *iExpression)
const TString & GetParameter ()
const TString & GetExpression ()
Double_t GetInitValue ()
Bool_t IsResultDepend ()
Bool_t IsInitValue ()
void Initialize (Int_t iNumPar, const char *iFormula)
Double_t ExecuteDependency (Double_t *Params)
void Finalize ()
virtual void Print (Option_t *option) const

Protected Attributes

TString fxParameter
TString fxExpression
Double_t fdInitValue
Int_t fiNumPar
TFormula * fxFormula


Detailed Description

Object, used to store dependency of one parameter from other, calculated via expression.

It used in dependencies calculations, in parameters initialization and in resuly calculation. Value can be calculated via expression or be just a double constant. The result parameter is sets via it's index in fitter parameters list.

Definition at line 28 of file TGo4FitDependency.h.


Constructor & Destructor Documentation

TGo4FitDependency::TGo4FitDependency (  ) 

Definition at line 20 of file TGo4FitDependency.cxx.

TGo4FitDependency::TGo4FitDependency ( const char *  iParameter,
const char *  iExpression 
)

Definition at line 25 of file TGo4FitDependency.cxx.

TGo4FitDependency::TGo4FitDependency ( const char *  iParameter,
Double_t  InitValue 
)

Definition at line 29 of file TGo4FitDependency.cxx.

TGo4FitDependency::~TGo4FitDependency (  )  [virtual]

Definition at line 33 of file TGo4FitDependency.cxx.

References fxFormula.


Member Function Documentation

void TGo4FitDependency::SetParameter ( const char *  iParameter  ) 

Definition at line 37 of file TGo4FitDependency.cxx.

References fxParameter.

void TGo4FitDependency::SetInitValue ( Double_t  InitValue  ) 

Definition at line 41 of file TGo4FitDependency.cxx.

References fdInitValue, and fxExpression.

Referenced by TGo4FitterConfig::SetParInit().

void TGo4FitDependency::SetExpression ( const char *  iExpression  ) 

Definition at line 47 of file TGo4FitDependency.cxx.

References fxExpression.

Referenced by TGo4FitterConfig::SetParDepend(), and TGo4FitterConfig::SetParInit().

const TString& TGo4FitDependency::GetParameter (  )  [inline]

Definition at line 39 of file TGo4FitDependency.h.

References fxParameter.

const TString& TGo4FitDependency::GetExpression (  )  [inline]

Definition at line 40 of file TGo4FitDependency.h.

References fxExpression.

Double_t TGo4FitDependency::GetInitValue (  )  [inline]

Definition at line 41 of file TGo4FitDependency.h.

References fdInitValue.

Bool_t TGo4FitDependency::IsResultDepend (  )  [inline]

Definition at line 43 of file TGo4FitDependency.h.

References fxParameter.

Bool_t TGo4FitDependency::IsInitValue (  )  [inline]

Definition at line 44 of file TGo4FitDependency.h.

References fxExpression.

void TGo4FitDependency::Initialize ( Int_t  iNumPar,
const char *  iFormula 
)

Definition at line 52 of file TGo4FitDependency.cxx.

References fiNumPar, and fxFormula.

Double_t TGo4FitDependency::ExecuteDependency ( Double_t *  Params  ) 

Definition at line 61 of file TGo4FitDependency.cxx.

References fdInitValue, fiNumPar, and fxFormula.

void TGo4FitDependency::Finalize (  ) 

Definition at line 68 of file TGo4FitDependency.cxx.

References fxFormula.

void TGo4FitDependency::Print ( Option_t *  option  )  const [virtual]

Definition at line 72 of file TGo4FitDependency.cxx.

References fdInitValue, fxExpression, and fxParameter.


Member Data Documentation

TString TGo4FitDependency::fxParameter [protected]

Definition at line 53 of file TGo4FitDependency.h.

Referenced by GetParameter(), IsResultDepend(), Print(), and SetParameter().

TString TGo4FitDependency::fxExpression [protected]

Definition at line 54 of file TGo4FitDependency.h.

Referenced by GetExpression(), IsInitValue(), Print(), SetExpression(), and SetInitValue().

Double_t TGo4FitDependency::fdInitValue [protected]

Definition at line 55 of file TGo4FitDependency.h.

Referenced by ExecuteDependency(), GetInitValue(), Print(), and SetInitValue().

Int_t TGo4FitDependency::fiNumPar [protected]

Definition at line 56 of file TGo4FitDependency.h.

Referenced by ExecuteDependency(), and Initialize().

TFormula* TGo4FitDependency::fxFormula [protected]

Definition at line 57 of file TGo4FitDependency.h.

Referenced by ExecuteDependency(), Finalize(), Initialize(), and ~TGo4FitDependency().


The documentation for this class was generated from the following files:
Generated on Thu Oct 28 15:54:20 2010 for Go4-Fitpackagev4.04-2 by  doxygen 1.5.1