GSI Object Oriented Online Offline (Go4) GO4-6.4.5
Loading...
Searching...
No Matches
TGo4FitDependency Class Reference

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

#include <TGo4FitDependency.h>

Inheritance diagram for TGo4FitDependency:

Public Member Functions

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

Protected Attributes

Double_t fdInitValue {0.}
Int_t fiNumPar {0}
TString fxExpression
TFormula * fxFormula {nullptr}
TString fxParameter

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 result 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 31 of file TGo4FitDependency.h.

Constructor & Destructor Documentation

◆ TGo4FitDependency() [1/6]

TGo4FitDependency::TGo4FitDependency ( )

Definition at line 20 of file TGo4FitDependency.cxx.

References fdInitValue, fiNumPar, fxExpression, fxFormula, and fxParameter.

◆ TGo4FitDependency() [2/6]

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

Definition at line 25 of file TGo4FitDependency.cxx.

References fdInitValue, fiNumPar, fxExpression, fxFormula, and fxParameter.

◆ TGo4FitDependency() [3/6]

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

Definition at line 29 of file TGo4FitDependency.cxx.

References fdInitValue, fiNumPar, fxExpression, fxFormula, and fxParameter.

◆ ~TGo4FitDependency() [1/2]

TGo4FitDependency::~TGo4FitDependency ( )
virtual

Definition at line 33 of file TGo4FitDependency.cxx.

References fxFormula.

◆ TGo4FitDependency() [4/6]

TGo4FitDependency::TGo4FitDependency ( )

◆ TGo4FitDependency() [5/6]

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

◆ TGo4FitDependency() [6/6]

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

◆ ~TGo4FitDependency() [2/2]

virtual TGo4FitDependency::~TGo4FitDependency ( )
virtual

Member Function Documentation

◆ ExecuteDependency() [1/2]

Double_t TGo4FitDependency::ExecuteDependency ( Double_t * Params)

Definition at line 63 of file TGo4FitDependency.cxx.

References fdInitValue, fiNumPar, and fxFormula.

Referenced by TGo4FitterAbstract::Finalize().

◆ ExecuteDependency() [2/2]

Double_t TGo4FitDependency::ExecuteDependency ( Double_t * Params)

◆ Finalize() [1/2]

void TGo4FitDependency::Finalize ( )

Definition at line 70 of file TGo4FitDependency.cxx.

References fxFormula.

Referenced by TGo4FitterAbstract::FinalizeDependencies().

◆ Finalize() [2/2]

void TGo4FitDependency::Finalize ( )

◆ GetExpression() [1/2]

const TString & TGo4FitDependency::GetExpression ( ) const
inline

◆ GetExpression() [2/2]

const TString & TGo4FitDependency::GetExpression ( ) const
inline

Definition at line 43 of file TGo4FitDependency.h.

References fxExpression.

◆ GetInitValue() [1/2]

Double_t TGo4FitDependency::GetInitValue ( ) const
inline

Definition at line 44 of file TGo4FitDependency.h.

References fdInitValue.

Referenced by TGo4FitPanel::SetItemText().

◆ GetInitValue() [2/2]

Double_t TGo4FitDependency::GetInitValue ( ) const
inline

Definition at line 44 of file TGo4FitDependency.h.

References fdInitValue.

◆ GetParameter() [1/2]

const TString & TGo4FitDependency::GetParameter ( ) const
inline

◆ GetParameter() [2/2]

const TString & TGo4FitDependency::GetParameter ( ) const
inline

Definition at line 42 of file TGo4FitDependency.h.

References fxParameter.

◆ Initialize() [1/2]

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

Definition at line 52 of file TGo4FitDependency.cxx.

References fiNumPar, and fxFormula.

Referenced by TGo4FitterAbstract::InitializeDependencies().

◆ Initialize() [2/2]

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

◆ IsInitValue() [1/2]

Bool_t TGo4FitDependency::IsInitValue ( ) const
inline

Definition at line 47 of file TGo4FitDependency.h.

References fxExpression.

Referenced by TGo4FitPanel::SetItemText().

◆ IsInitValue() [2/2]

Bool_t TGo4FitDependency::IsInitValue ( ) const
inline

Definition at line 47 of file TGo4FitDependency.h.

References fxExpression.

◆ IsResultDepend() [1/2]

Bool_t TGo4FitDependency::IsResultDepend ( ) const
inline

Definition at line 46 of file TGo4FitDependency.h.

References fxParameter.

Referenced by TGo4FitPanel::SetItemText().

◆ IsResultDepend() [2/2]

Bool_t TGo4FitDependency::IsResultDepend ( ) const
inline

Definition at line 46 of file TGo4FitDependency.h.

References fxParameter.

◆ Print() [1/2]

void TGo4FitDependency::Print ( Option_t * option = "") const
override

Definition at line 78 of file TGo4FitDependency.cxx.

References fdInitValue, fxExpression, and fxParameter.

◆ Print() [2/2]

void TGo4FitDependency::Print ( Option_t * option = "") const
override

◆ SetExpression() [1/2]

void TGo4FitDependency::SetExpression ( const char * iExpression)

◆ SetExpression() [2/2]

void TGo4FitDependency::SetExpression ( const char * iExpression)

◆ SetInitValue() [1/2]

void TGo4FitDependency::SetInitValue ( Double_t InitValue)

◆ SetInitValue() [2/2]

void TGo4FitDependency::SetInitValue ( Double_t InitValue)

◆ SetParameter() [1/2]

void TGo4FitDependency::SetParameter ( const char * iParameter)

Definition at line 37 of file TGo4FitDependency.cxx.

References fxParameter.

Referenced by QFitDependencyWidget::ParamEdit_textChanged().

◆ SetParameter() [2/2]

void TGo4FitDependency::SetParameter ( const char * iParameter)

Field Documentation

◆ fdInitValue

Double_t TGo4FitDependency::fdInitValue {0.}
protected

◆ fiNumPar

Int_t TGo4FitDependency::fiNumPar {0}
protected

◆ fxExpression

TString TGo4FitDependency::fxExpression
protected

◆ fxFormula

TFormula * TGo4FitDependency::fxFormula {nullptr}
protected

◆ fxParameter

TString TGo4FitDependency::fxParameter
protected

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