v2.10-0 (21000JUN2005)

Go4Fit
Class TGo4FitParameter


class TGo4FitParameter
derived from TGo4FitNamed

Model and data objects parameter.
Has value, error, range and epsilon attributes.
From TGo4FitNamed class obtains full name, which consist of owner name (name of data object or model component) and name of parameter like "Gauss1.Width".


Field Summary
 private Bool_tfbBlocked
           
 protected Bool_tfbEpsilon
           
 protected Bool_tfbFixed
           
 protected Bool_tfbRange
           
 protected Double_tfdEpsilon
           
 protected Double_tfdError
           
 protected Double_tfdRangeMax
           
 protected Double_tfdRangeMin
           
 private Double_tfdRememberedValue
           
 protected Double_tfdValue
           

Fields inherited from class TNamed
fName, fTitle

Constructor Summary
TGo4FitParameter()
          Default constructor.
TGo4FitParameter(const char * name, const char * title, Double_t iValue)
          Create TGo4FitParameter object with given name, title and initial value.
TGo4FitParameter(const char * name, const char * title, Double_t iValue, Double_t iRangeMin, Double_t iRangeMax)
          Create TGo4FitParameter object with given name, title, initial value and given range limits.
TGo4FitParameter(const char * name, const char * title, Double_t iValue, Double_t iEpsilon)
          Create TGo4FitParameter object with given name, title, initial value and given epsilon.
TGo4FitParameter(const char * name, const char * title, Double_t iValue, Double_t iRangeMin, Double_t iRangeMax, Double_t iEpsilon)
          Create TGo4FitParameter object with given name, title, initial value, given range and epsilon.

Destructor Summary
 virtual synchronized ~TGo4FitParameter()
          Destroy TGo4FitParameter object.

Method Summary
 voidChangeEpsilon(Double_t iEpsilon)
          Change epsilon value.
 voidChangeRangeMax(Double_t iRangeMax)
          Cahnge value of range maximum.
 voidChangeRangeMin(Double_t iRangeMin)
          Change value of range minimum.
 voidClearBlocked()
          Release blocking of parameter.
 voidClearEpsilon()
          Set status, what epsilon is not specified.
 voidClearRange()
          Clear status, that range was psecified.
 const Bool_tGetEpsilon(Double_t& eps)
          Return value of parameter epsilon.
 const Double_tGetError()
          Get value of parameter error.
 const Bool_tGetFixed()
          Return status, if parameter fixed or not.
 const Bool_tGetRange(Double_t& min, Double_t& max)
          Return range left (minimum) and right (maximum) values.
 Double_tGetRangeMax()
          Return value of range maximum.
 Double_tGetRangeMin()
          Return value of range minimum.
 const Double_tGetValue()
          Return parameter value.
 voidMemorizeValue()
          Memorize value of parameter.
 virtual const voidPrint(Option_t* option)
          Print TGo4FitParameter object to standard output.
 voidRememberValue()
          Restore value, which was previosly memorized.
 protected voidReset()
           
 voidSetBlocked()
          Blocks parameter value.
 voidSetEpsilon(Double_t iEpsilon)
          Return epsilon value of parameter.
 voidSetEpsilonUse(Bool_t use)
          Set status, if epsilon value was specified or not.
 voidSetError(Double_t iError)
          Set value of parameter error.
 voidSetFixed(Bool_t iFixed)
          Set status of parameter fixed or not.
 voidSetRange(Double_t iRangeMin, Double_t iRangeMax)
          Set range minimum and maximum values.
 voidSetRangeUse(Bool_t use)
          Change status, is range was specified or not.
 voidSetValue(Double_t iValue)
          Set parameter value.

Methods inherited from class Go4Fit.TGo4FitNamed
GetFullName, GetOwner, GetOwnerFullName, SetOwner

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

Field Detail

fbBlocked

private Bool_t fbBlocked

fbEpsilon

protected Bool_t fbEpsilon

fbFixed

protected Bool_t fbFixed

fbRange

protected Bool_t fbRange

fdEpsilon

protected Double_t fdEpsilon

fdError

protected Double_t fdError

fdRangeMax

protected Double_t fdRangeMax

fdRangeMin

protected Double_t fdRangeMin

fdRememberedValue

private Double_t fdRememberedValue

fdValue

protected Double_t fdValue
Constructor Detail

TGo4FitParameter

public TGo4FitParameter()
Default constructor.

TGo4FitParameter

public TGo4FitParameter(const char * name, const char * title, Double_t iValue)
Create TGo4FitParameter object with given name, title and initial value.

TGo4FitParameter

public TGo4FitParameter(const char * name, const char * title, Double_t iValue, Double_t iRangeMin, Double_t iRangeMax)
Create TGo4FitParameter object with given name, title, initial value and given range limits.

TGo4FitParameter

public TGo4FitParameter(const char * name, const char * title, Double_t iValue, Double_t iEpsilon)
Create TGo4FitParameter object with given name, title, initial value and given epsilon.

TGo4FitParameter

public TGo4FitParameter(const char * name, const char * title, Double_t iValue, Double_t iRangeMin, Double_t iRangeMax, Double_t iEpsilon)
Create TGo4FitParameter object with given name, title, initial value, given range and epsilon.
Method Detail

~TGo4FitParameter

public virtual synchronized ~TGo4FitParameter()
Destroy TGo4FitParameter object.
Method Detail

ChangeEpsilon

public void ChangeEpsilon(Double_t iEpsilon)
Change epsilon value.
This is not affect on status of epsilon - if epsilon was not specified before, GetEpsilon() method still return kFALSE. Method should not used in normal program. Designed for usage in GUI.

ChangeRangeMax

public void ChangeRangeMax(Double_t iRangeMax)
Cahnge value of range maximum.

ChangeRangeMin

public void ChangeRangeMin(Double_t iRangeMin)
Change value of range minimum.

ClearBlocked

public void ClearBlocked()
Release blocking of parameter.

ClearEpsilon

public void ClearEpsilon()
Set status, what epsilon is not specified.
Not affect on epsilon value, therefore after SetEpsilonUse(kTRUE) GetEpsilon() method return old epsilon value.

ClearRange

public void ClearRange()
Clear status, that range was psecified.
Equivalent to SetRangeUse(kFALSE).

GetEpsilon

public const Bool_t GetEpsilon(Double_t& eps)
Return value of parameter epsilon.
If epsilon was not specified (by default), return kFALSE.
Epsilon means minimum step of parameter value, which can be used during minimization process.

GetError

public const Double_t GetError()
Get value of parameter error.

GetFixed

public const Bool_t GetFixed()
Return status, if parameter fixed or not.

GetRange

public const Bool_t GetRange(Double_t& min, Double_t& max)
Return range left (minimum) and right (maximum) values.
If range was not specified before, return kFALSE.

GetRangeMax

public Double_t GetRangeMax()
Return value of range maximum.

GetRangeMin

public Double_t GetRangeMin()
Return value of range minimum.

GetValue

public const Double_t GetValue()
Return parameter value.

MemorizeValue

public void MemorizeValue()
Memorize value of parameter.

Print

public virtual const void Print(Option_t* option)
Print TGo4FitParameter object to standard output.

RememberValue

public void RememberValue()
Restore value, which was previosly memorized.

Reset

protected void Reset()

SetBlocked

public void SetBlocked()
Blocks parameter value.
This means, that parameter can not be changed during minimization routine. If parameter block, GetFixed() method returns kTRUE value.
This method is used by fitter, when parameter not fixed, but for it dependency calculation is created. Thus, it can not be changed directly by minimization routine, but changing by fitter itself.

SetEpsilon

public void SetEpsilon(Double_t iEpsilon)
Return epsilon value of parameter.

SetEpsilonUse

public void SetEpsilonUse(Bool_t use)
Set status, if epsilon value was specified or not.
Did not change epsilon value itself. Designed for usage in GUI.

SetError

public void SetError(Double_t iError)
Set value of parameter error.

SetFixed

public void SetFixed(Bool_t iFixed)
Set status of parameter fixed or not.

SetRange

public void SetRange(Double_t iRangeMin, Double_t iRangeMax)
Set range minimum and maximum values.

SetRangeUse

public void SetRangeUse(Bool_t use)
Change status, is range was specified or not.
Not change range values themself. Designed for usage in GUI.

SetValue

public void SetValue(Double_t iValue)
Set parameter value.

J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev

30-06-2005