#include <TGo4FitParameter.h>
Inheritance diagram for TGo4FitParameter:
Public Methods | |
TGo4FitParameter () | |
Default constructor. More... | |
TGo4FitParameter (const char *name, const char *title, Double_t iValue) | |
Create TGo4FitParameter object with given name, title and initial value. More... | |
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. More... | |
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. More... | |
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. More... | |
virtual | ~TGo4FitParameter () |
Destroy TGo4FitParameter object. More... | |
Double_t | GetValue () const |
Return parameter value. More... | |
void | SetValue (Double_t iValue) |
Set parameter value. More... | |
Double_t | GetError () const |
Get value of parameter error. More... | |
void | SetError (Double_t iError) |
Set value of parameter error. More... | |
Bool_t | GetFixed () const |
Return status, if parameter fixed or not. More... | |
void | SetFixed (Bool_t iFixed) |
Set status of parameter fixed or not. More... | |
void | SetBlocked () |
Blocks parameter value. More... | |
void | ClearBlocked () |
Release blocking of parameter. More... | |
Bool_t | GetEpsilon (Double_t &eps) const |
Return value of parameter epsilon. More... | |
void | SetEpsilon (Double_t iEpsilon) |
Return epsilon value of parameter. More... | |
void | SetEpsilonUse (Bool_t use) |
Set status, if epsilon value was specified or not. More... | |
void | ChangeEpsilon (Double_t iEpsilon) |
Change epsilon value. More... | |
void | ClearEpsilon () |
Set status, what epsilon is not specified. More... | |
Bool_t | GetRange (Double_t &min, Double_t &max) const |
Return range left (minimum) and right (maximum) values. More... | |
void | SetRange (Double_t iRangeMin, Double_t iRangeMax) |
Set range minimum and maximum values. More... | |
void | SetRangeUse (Bool_t use) |
Change status, is range was specified or not. More... | |
void | ChangeRangeMin (Double_t iRangeMin) |
Change value of range minimum. More... | |
void | ChangeRangeMax (Double_t iRangeMax) |
Cahnge value of range maximum. More... | |
Double_t | GetRangeMin () |
Return value of range minimum. More... | |
Double_t | GetRangeMax () |
Return value of range maximum. More... | |
void | ClearRange () |
Clear status, that range was psecified. More... | |
void | MemorizeValue () |
Memorize value of parameter. More... | |
void | RememberValue () |
Restore value, which was previosly memorized. More... | |
virtual void | Print (Option_t *option) const |
Print TGo4FitParameter object to standard output. More... | |
Protected Methods | |
void | Reset () |
Protected Attributes | |
Double_t | fdValue |
Double_t | fdError |
Bool_t | fbFixed |
Bool_t | fbEpsilon |
Double_t | fdEpsilon |
Bool_t | fbRange |
Double_t | fdRangeMin |
Double_t | fdRangeMax |
Private Attributes | |
Bool_t | fbBlocked |
Double_t | fdRememberedValue |
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".
Definition at line 26 of file TGo4FitParameter.h.
|
Default constructor.
Definition at line 22 of file TGo4FitParameter.cxx. References Reset(). |
|
Create TGo4FitParameter object with given name, title and initial value.
Definition at line 26 of file TGo4FitParameter.cxx. |
|
Create TGo4FitParameter object with given name, title, initial value and given range limits.
Definition at line 31 of file TGo4FitParameter.cxx. |
|
Create TGo4FitParameter object with given name, title, initial value and given epsilon.
Definition at line 37 of file TGo4FitParameter.cxx. References fdValue, Reset(), and SetEpsilon(). |
|
Create TGo4FitParameter object with given name, title, initial value, given range and epsilon.
Definition at line 43 of file TGo4FitParameter.cxx. References fdValue, Reset(), SetEpsilon(), and SetRange(). |
|
Destroy TGo4FitParameter object.
Definition at line 59 of file TGo4FitParameter.cxx. |
|
Return parameter value.
Definition at line 62 of file TGo4FitParameter.h. References fdValue. Referenced by TGo4FitModelGauss2::BeforeEval(), TGo4FitModelGauss1::BeforeEval(), TGo4FitPanelSlots::Button_FitterDraw(), TGo4FitterAbstract::CopyParsValuesFrom(), TGo4FitModelGaussN::FillMuVector(), TGo4FitModelGaussN::FillSigmaMatrix(), TGo4FitComponent::GetAmplValue(), TGo4FitLinearTrans::GetCoefB(), TGo4FitLinearTrans::GetCoefK(), TGo4FitParsList::GetParsValues(), TGo4FitParsList::GetParValue(), TGo4FitModelPolynom::GetPolynomOrder(), TGo4FitModel::GetPosition(), TGo4FitModel::GetWidth(), TGo4FitModelGauss1::Integral(), TGo4FitParsList::PrintPars(), TGo4FitAssignment::RatioValue(), TGo4FitModel::RebuildShape(), TGo4FitPanelSlots::SetItemText(), and TGo4FitMatrixTrans::Transformation(). |
|
Set parameter value.
Definition at line 67 of file TGo4FitParameter.h. References fdValue. Referenced by TGo4FitterAbstract::CopyParsValuesFrom(), TGo4FitComponent::SetAmplValue(), TGo4FitLinearTrans::SetCoef(), TGo4FitLinearTrans::SetCoefB(), TGo4FitLinearTrans::SetCoefK(), TGo4FitParsList::SetParsValues(), TGo4FitParsList::SetParValue(), TGo4FitModel::SetPosition(), and TGo4FitModel::SetWidth(). |
|
Get value of parameter error.
Definition at line 72 of file TGo4FitParameter.h. References fdError. Referenced by TGo4FitComponent::GetAmplError(), TGo4FitParsList::GetParError(), and TGo4FitParsList::PrintPars(). |
|
Set value of parameter error.
Definition at line 77 of file TGo4FitParameter.h. References fdError. Referenced by TGo4FitComponent::SetAmplError(), and TGo4FitParsList::SetParError(). |
|
Return status, if parameter fixed or not.
Definition at line 82 of file TGo4FitParameter.h. References fbBlocked, and fbFixed. Referenced by TGo4FitAmplEstimation::CalculateWithBuffers(), TGo4FitAmplEstimation::CalculateWithIterators(), TGo4FitParsList::GetParFixed(), TGo4FitParsList::IsAllParsFixed(), TGo4FitParsList::NumFixedPars(), and Print(). |
|
Set status of parameter fixed or not.
Definition at line 87 of file TGo4FitParameter.h. References fbFixed. Referenced by TGo4FitModel::AssignToData(), TGo4FitComponent::MakeAmpl(), TGo4FitComponent::NewAmplitude(), TGo4FitComponent::NewParameter(), TGo4FitterConfig::SetParFixed(), TGo4FitParsList::SetParFixed(), and TGo4FitLinearTrans::TGo4FitLinearTrans(). |
|
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. Definition at line 94 of file TGo4FitParameter.h. References fbBlocked. Referenced by TGo4FitterAbstract::InitializeDependencies(). |
|
Release blocking of parameter.
Definition at line 99 of file TGo4FitParameter.h. References fbBlocked. Referenced by TGo4FitParsList::ClearParsBlocking(). |
|
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. Definition at line 106 of file TGo4FitParameter.h. References fbEpsilon, and fdEpsilon. Referenced by TGo4FitParsList::GetParEpsilon(). |
|
Return epsilon value of parameter.
Definition at line 111 of file TGo4FitParameter.h. References fbEpsilon, and fdEpsilon. Referenced by TGo4FitterConfig::SetParEpsilon(), TGo4FitParsList::SetParEpsilon(), and TGo4FitParameter(). |
|
Set status, if epsilon value was specified or not. Did not change epsilon value itself. Designed for usage in GUI. Definition at line 117 of file TGo4FitParameter.h. References fbEpsilon. |
|
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. Definition at line 123 of file TGo4FitParameter.h. References fdEpsilon. |
|
Set status, what epsilon is not specified. Not affect on epsilon value, therefore after SetEpsilonUse(kTRUE) GetEpsilon() method return old epsilon value. Definition at line 129 of file TGo4FitParameter.h. References fbEpsilon. |
|
Return range left (minimum) and right (maximum) values. If range was not specified before, return kFALSE. Definition at line 135 of file TGo4FitParameter.h. References fbRange, fdRangeMax, and fdRangeMin. Referenced by TGo4FitParsList::GetParRange(). |
|
Set range minimum and maximum values.
Definition at line 50 of file TGo4FitParameter.cxx. References fbFixed, fbRange, fdRangeMax, fdRangeMin, and fdValue. Referenced by TGo4FitterConfig::SetParRange(), TGo4FitParsList::SetParRange(), and TGo4FitParameter(). |
|
Change status, is range was specified or not. Not change range values themself. Designed for usage in GUI. Definition at line 146 of file TGo4FitParameter.h. References fbRange. |
|
Change value of range minimum.
Definition at line 151 of file TGo4FitParameter.h. References fdRangeMin. |
|
Cahnge value of range maximum.
Definition at line 156 of file TGo4FitParameter.h. References fdRangeMax. |
|
Return value of range minimum.
Definition at line 161 of file TGo4FitParameter.h. References fdRangeMin. |
|
Return value of range maximum.
Definition at line 166 of file TGo4FitParameter.h. References fdRangeMax. |
|
Clear status, that range was psecified. Equivalent to SetRangeUse(kFALSE). Definition at line 172 of file TGo4FitParameter.h. References fbRange, fdRangeMax, and fdRangeMin. |
|
Memorize value of parameter.
Definition at line 177 of file TGo4FitParameter.h. References fdRememberedValue, and fdValue. Referenced by TGo4FitPanelSlots::Cmd_MemorizePar(), and TGo4FitParsList::MemorizePars(). |
|
Restore value, which was previosly memorized.
Definition at line 182 of file TGo4FitParameter.h. References fdRememberedValue, and fdValue. Referenced by TGo4FitPanelSlots::Cmd_RememberPar(), and TGo4FitParsList::RememberPars(). |
|
Print TGo4FitParameter object to standard output.
Reimplemented from TGo4FitNamed. Definition at line 62 of file TGo4FitParameter.cxx. References fdEpsilon, fdError, fdRangeMax, fdRangeMin, fdValue, GetFixed(), and TGo4FitNamed::GetFullName(). Referenced by TGo4FitParsList::Print(). |
|
Definition at line 72 of file TGo4FitParameter.cxx. References fbBlocked, fbEpsilon, fbFixed, fbRange, fdEpsilon, fdError, fdRangeMax, fdRangeMin, fdRememberedValue, and fdValue. Referenced by TGo4FitParameter(). |
|
Definition at line 192 of file TGo4FitParameter.h. Referenced by GetValue(), MemorizeValue(), Print(), RememberValue(), Reset(), SetRange(), SetValue(), and TGo4FitParameter(). |
|
Definition at line 193 of file TGo4FitParameter.h. |
|
Definition at line 194 of file TGo4FitParameter.h. Referenced by GetFixed(), Reset(), SetFixed(), and SetRange(). |
|
Definition at line 196 of file TGo4FitParameter.h. Referenced by ClearEpsilon(), GetEpsilon(), Reset(), SetEpsilon(), and SetEpsilonUse(). |
|
Definition at line 197 of file TGo4FitParameter.h. Referenced by ChangeEpsilon(), GetEpsilon(), Print(), Reset(), and SetEpsilon(). |
|
Definition at line 199 of file TGo4FitParameter.h. Referenced by ClearRange(), GetRange(), Reset(), SetRange(), and SetRangeUse(). |
|
Definition at line 200 of file TGo4FitParameter.h. Referenced by ChangeRangeMin(), ClearRange(), GetRange(), GetRangeMin(), Print(), Reset(), and SetRange(). |
|
Definition at line 201 of file TGo4FitParameter.h. Referenced by ChangeRangeMax(), ClearRange(), GetRange(), GetRangeMax(), Print(), Reset(), and SetRange(). |
|
Definition at line 204 of file TGo4FitParameter.h. Referenced by ClearBlocked(), GetFixed(), Reset(), and SetBlocked(). |
|
Definition at line 205 of file TGo4FitParameter.h. Referenced by MemorizeValue(), RememberValue(), and Reset(). |