GSI Object Oriented Online Offline (Go4)
GO4-6.3.0
|
#include <TGo4FitComponent.h>
Public Member Functions | |
TGo4FitComponent () | |
TGo4FitComponent (const char *iName, const char *iTitle) | |
virtual | ~TGo4FitComponent () |
TGo4FitParameter * | GetAmplPar () |
const char * | GetAmplName () |
const char * | GetAmplFullName () |
Double_t | GetAmplValue () |
void | SetAmplValue (Double_t iAmpl) |
Double_t | GetAmplError () |
void | SetAmplError (Double_t iError) |
Bool_t | MakeAmpl (Bool_t isFixed=kFALSE) |
Bool_t | RemoveAmpl () |
virtual Bool_t | CanAmplTouch () |
void | SetRange (Int_t naxis, Double_t min, Double_t max) |
void | ExcludeRange (Int_t naxis, Double_t min, Double_t max) |
void | SetRangeMin (Int_t naxis, Double_t value) |
void | SetRangeMax (Int_t naxis, Double_t value) |
void | AddRangeCut (TCutG *cut, Bool_t exclude=kFALSE) |
void | ClearRanges (Int_t naxis=-1) |
Bool_t | IsAnyRangeLimits () const |
Bool_t | GetRangeMin (Int_t naxis, Double_t &value) const |
Bool_t | GetRangeMax (Int_t naxis, Double_t &value) const |
Int_t | GetNumRangeCondition () const |
void | GetRangeCondition (Int_t n, Int_t &typ, Int_t &naxis, Double_t &left, Double_t &right) const |
void | SetRangeCondition (Int_t n, Int_t typ, Int_t naxis, Double_t left, Double_t right) |
void | AddRangeCondition (Int_t typ, Int_t naxis, Double_t left, Double_t right) |
void | RemoveRangeCondition (Int_t n) |
Int_t | GetNumRangeCut () const |
TCutG * | GetRangeCut (Int_t n) const |
Bool_t | IsRangeCutExcluding (Int_t n) const |
void | SetRangeCutExcluding (Int_t n, Bool_t exclude=kTRUE) |
void | RemoveRangeCut (Int_t n) |
Bool_t | CheckRangeConditions (const Double_t *values, Int_t numaxis) |
void | CollectParsTo (TGo4FitParsList &list) override |
void | SetUseBuffers (Bool_t iUse) |
Bool_t | GetUseBuffers () const |
void | Print (Option_t *option="") const override |
![]() | |
TGo4FitParsList () | |
TGo4FitParsList (Bool_t IsParsOwned) | |
TGo4FitParsList (const char *Name, const char *Title, Bool_t IsParsOwned) | |
virtual | ~TGo4FitParsList () |
virtual Int_t | NumPars () |
TGo4FitParameter * | GetPar (Int_t n) |
Int_t | GetParIndex (const TGo4FitParameter *par) |
TGo4FitParameter * | FindPar (const char *ParName) |
TGo4FitParameter * | FindPar (const char *OwnerFullName, const char *ParName) |
TGo4FitParameter * | FindPar (TGo4FitParameter *par) |
Double_t | GetParValue (const char *ParName) |
Bool_t | SetParValue (const char *ParName, Double_t iValue) |
void | GetParsValues (Double_t *pars) |
void | SetParsValues (Double_t *pars) |
Double_t | GetParError (const char *ParName) |
Bool_t | SetParError (const char *ParName, Double_t iError) |
virtual Bool_t | SetParFixed (const char *ParName, Bool_t iFixed=kTRUE) |
virtual Bool_t | GetParFixed (const char *ParName) |
Int_t | NumFixedPars () |
Int_t | NumFreePars () |
virtual Bool_t | SetParRange (const char *ParName, Double_t RangeMin, Double_t RangeMax) |
virtual Bool_t | GetParRange (const char *ParName, Double_t &RangeMin, Double_t &RangeMax) |
virtual Bool_t | SetParEpsilon (const char *ParName, Double_t Epsilon) |
virtual Bool_t | GetParEpsilon (const char *ParName, Double_t &Epsilon) |
void | SetParName (Int_t n, const char *name) |
const char * | GetParName (Int_t n) |
const char * | GetParFullName (Int_t n) |
void | SetParsNames (const char *name0="Par0", const char *name1="Par1", const char *name2="Par2", const char *name3="Par3", const char *name4="Par4", const char *name5="Par5", const char *name6="Par6", const char *name7="Par7", const char *name8="Par8", const char *name9="Par9") |
void | SetParsValues (Double_t par0=0., Double_t par1=0., Double_t par2=0., Double_t par3=0., Double_t par4=0., Double_t par5=0., Double_t par6=0., Double_t par7=0., Double_t par8=0., Double_t par9=0.) |
virtual void | MemorizePars () |
virtual bool | CanRollbackPars () |
virtual void | RememberPars () |
Bool_t | IsAllParsFixed () |
TGo4FitParameter * | CreatePar (const char *ParName, const char *Title, Double_t iValue=0) |
Bool_t | RemovePar (const char *name) |
Bool_t | RemovePar (TGo4FitParameter *par) |
void | Print (Option_t *option="") const override |
void | PrintPars () const |
void | ClearPars () |
![]() | |
TGo4FitNamed () | |
TGo4FitNamed (const char *Name, const char *Title, TNamed *Owner=nullptr) | |
virtual | ~TGo4FitNamed () |
const char * | GetFullName () |
const char * | GetOwnerFullName () |
void | SetOwner (TNamed *iOwner) |
TNamed * | GetOwner () |
void | Print (Option_t *option="") const override |
![]() | |
TGo4FitSlotList () | |
virtual | ~TGo4FitSlotList () |
virtual void | FillSlotList (TSeqCollection *lst) |
void | SetUpdateSlotList () |
const TObjArray * | GetSlotList (Bool_t ForceUpdate=kFALSE) |
Int_t | NumSlots () |
TGo4FitSlot * | GetSlot (Int_t nslot) |
TGo4FitSlot * | FindSlot (const char *FullSlotName) |
Bool_t | ConnectSlots (TGo4FitSlot *slot1, TGo4FitSlot *slot2) |
Bool_t | ConnectSlots (const char *Slot1FullName, const char *Slot2FullName) |
TGo4FitSlot * | SetObject (TObject *obj, Bool_t iOwned=kFALSE) |
TGo4FitSlot * | SetObject (const char *PlaceName, TObject *obj, Bool_t iOwned=kFALSE) |
TGo4FitSlot * | IsObjectInSlots (TObject *obj) |
Bool_t | CheckObjects (Bool_t MakeOut=kTRUE) |
Bool_t | IsEmptySlots () |
void | ClearObjects (const char *PlaceName=nullptr, Bool_t NonOwned=kTRUE) |
void | ClearSlot (TGo4FitSlot *slot, Bool_t NonOwned) |
void | SetSaveFlagForObjects (Int_t iSaveFlag, const char *PlaceName=nullptr) |
Protected Member Functions | |
TGo4FitParameter * | NewParameter (const char *Name, const char *Title, Double_t iValue=0., Bool_t Fixed=kFALSE, Int_t AtIndx=-1) |
TGo4FitParameter * | NewAmplitude (const char *Name=nullptr, Double_t iValue=0., Bool_t IsFixed=kFALSE, Int_t AtIndx=0) |
Int_t | GetAmplIndex () const |
void | SetAmplIndex (Int_t iAmplIndex=-1) |
![]() | |
TGo4FitParameter * | AddPar (TGo4FitParameter *par) |
TGo4FitParameter * | InsertPar (TGo4FitParameter *par, Int_t indx) |
void | SetParsOwner (TGo4FitNamed *iOwner) |
void | ClearParsBlocking () |
virtual TGo4FitParameter * | Get (Int_t n) |
TGo4FitParameter * | Find (const char *ParName) |
TGo4FitParameter * | Find (const char *OwnerFullName, const char *ParName) |
TGo4FitParameter * | Find (TGo4FitParameter *par) |
Bool_t | RemoveParByIndex (Int_t indx) |
![]() | |
void | CheckDuplicatesOnSlot () |
void | PrepareSlotsForWriting () |
ClassDef (TGo4FitSlotList, 1) | |
Private Attributes | |
TArrayI | fxRangeAxis |
TArrayD | fxRangeValue |
TObjArray | fxCuts |
Int_t | fiAmplIndex {0} |
Bool_t | fbUseBuffers {kFALSE} |
Additional Inherited Members | |
![]() | |
TObjArray * | fxSlotList {nullptr} |
Bool_t | fbUpdateSlotList {kFALSE} |
Basic abstract class, combining common properties of data and model.
Definition at line 29 of file TGo4FitComponent.h.
TGo4FitComponent::TGo4FitComponent | ( | ) |
Default constructor.
Definition at line 24 of file TGo4FitComponent.cxx.
TGo4FitComponent::TGo4FitComponent | ( | const char * | iName, |
const char * | iTitle | ||
) |
Creates TGo4FitComponent object.
Definition at line 30 of file TGo4FitComponent.cxx.
References fxCuts.
|
virtual |
Destroys TGo4FitComponent object.
Definition at line 37 of file TGo4FitComponent.cxx.
void TGo4FitComponent::AddRangeCondition | ( | Int_t | typ, |
Int_t | naxis, | ||
Double_t | left, | ||
Double_t | right | ||
) |
Add new range condition. For exact meaning of parameters see GetRangeCondition() method.
Definition at line 195 of file TGo4FitComponent.cxx.
References fxRangeAxis, fxRangeValue, and SetRangeCondition().
Referenced by ExcludeRange(), GetNumRangeCondition(), SetRange(), SetRangeMax(), and SetRangeMin().
void TGo4FitComponent::AddRangeCut | ( | TCutG * | cut, |
Bool_t | exclude = kFALSE |
||
) |
Add TCutG object as range condition for two-dimensional case. Region, defined by TCutG object, can be included or excluded from consideration according value of exclude flag.
Definition at line 268 of file TGo4FitComponent.cxx.
References fxCuts, and kExcludeCut.
Referenced by AddRangeCut(), CanAmplTouch(), TGo4FitPanel::Cmd_AddRangeCondition(), and Example13().
|
inlinevirtual |
Signals, if amplitude parameter can be removed from or introduced to object.
Reimplemented in TGo4FitData, TGo4FitModelFunction, and TGo4FitModelFormula.
Definition at line 101 of file TGo4FitComponent.h.
References AddRangeCut(), ClearRanges(), ExcludeRange(), GetRangeMax(), GetRangeMin(), IsAnyRangeLimits(), SetRange(), SetRangeMax(), and SetRangeMin().
Referenced by TGo4FitPanel::ChangeModelPar(), and TGo4FitPanel::FillNamedWidget().
Bool_t TGo4FitComponent::CheckRangeConditions | ( | const Double_t * | values, |
Int_t | numaxis | ||
) |
Check all range conditions for specified point.
Definition at line 368 of file TGo4FitComponent.cxx.
References GetNumRangeCondition(), GetNumRangeCut(), GetRangeCondition(), GetRangeCut(), and kExcludeCut.
Referenced by TGo4FitData::ApplyRangesForModelMask(), TGo4FitDataIter::CheckPointForRange(), TGo4FitModel::EvaluateAtPoint(), and GetNumRangeCondition().
void TGo4FitComponent::ClearRanges | ( | Int_t | naxis = -1 | ) |
Clear all range conditions for given axis. If naxis=-1, all range conditions will be removed.
Definition at line 238 of file TGo4FitComponent.cxx.
References fxCuts, fxRangeAxis, and fxRangeValue.
Referenced by TGo4FitPanel::Button_SimpleFit(), CanAmplTouch(), TGo4FitPanel::Cmd_RemoveRangeConditions(), TGo4FitPanel::Wiz_DataClearRangesBtn_clicked(), and TGo4FitPanel::Wiz_TakeCurrentRange().
|
overridevirtual |
Collect all parameters to provided parameters list object. Not only parameters of TGo4FitComponent copies to list. All parameters, which are situated in encapsulated objects, also will be copied to this list.
Reimplemented from TGo4FitParsList.
Definition at line 440 of file TGo4FitComponent.cxx.
References TGo4FitParsList::CollectParsTo(), TGo4FitSlot::GetObject(), TGo4FitSlot::GetOwned(), TGo4FitSlotList::GetSlot(), and TGo4FitSlotList::NumSlots().
Referenced by TGo4Fitter::CollectAllPars(), GetNumRangeCondition(), and TGo4FitModel::Initialize().
void TGo4FitComponent::ExcludeRange | ( | Int_t | naxis, |
Double_t | min, | ||
Double_t | max | ||
) |
Exclude axis range from consideration.
Definition at line 223 of file TGo4FitComponent.cxx.
References AddRangeCondition().
Referenced by CanAmplTouch(), and TGo4FitPanel::Cmd_AddRangeCondition().
Double_t TGo4FitComponent::GetAmplError | ( | ) |
Return error of amplitude parameter. If none, return 0.
Definition at line 92 of file TGo4FitComponent.cxx.
References GetAmplPar(), and TGo4FitParameter::GetError().
Referenced by TGo4Fitter::PrintAmpls().
const char * TGo4FitComponent::GetAmplFullName | ( | ) |
Returns full name of amplitude parameter. If none, return nullptr.
Definition at line 77 of file TGo4FitComponent.cxx.
References GetAmplPar(), and TGo4FitNamed::GetFullName().
Referenced by TGo4Fitter::PrintAmpls().
|
inlineprotected |
Returns index of amplitude parameter.
Definition at line 258 of file TGo4FitComponent.h.
References fiAmplIndex.
Referenced by TGo4FitModelFormula::GetExprPar(), TGo4FitModelFunction::GetFuncPar(), TGo4FitModel::RebuildShape(), and RemoveAmpl().
const char * TGo4FitComponent::GetAmplName | ( | ) |
Returns name of amplitude parameter. If none, return nullpptr.
Definition at line 72 of file TGo4FitComponent.cxx.
References GetAmplPar().
TGo4FitParameter * TGo4FitComponent::GetAmplPar | ( | ) |
Return amplitude parameter object. If amplitude not exists, return nullptr.
Definition at line 67 of file TGo4FitComponent.cxx.
References fiAmplIndex, and TGo4FitParsList::GetPar().
Referenced by TGo4FitModel::BeforeEval(), TGo4FitAmplEstimation::CalculateWithBuffers(), TGo4FitAmplEstimation::CalculateWithIterators(), TGo4FitPanel::FillNamedWidget(), TGo4FitPanel::FillParsTable(), GetAmplError(), GetAmplFullName(), GetAmplName(), GetAmplValue(), TGo4FitModelFormula::GetNumberOfExprPar(), TGo4FitModelFunction::GetNumberOfFuncPar(), MakeAmpl(), TGo4Fitter::PrintAmpls(), RemoveAmpl(), SetAmplError(), and SetAmplValue().
Double_t TGo4FitComponent::GetAmplValue | ( | ) |
Return value of amplitude parameter. If none, return 1.
Definition at line 81 of file TGo4FitComponent.cxx.
References GetAmplPar(), and TGo4FitParameter::GetValue().
Referenced by TGo4FitModel::AddModelToDataResult(), TGo4FitPanel::Button_FitterDraw(), TGo4Fitter::CalculateFCN(), TGo4Fitter::CalculatesIntegral(), TGo4Fitter::CalculatesMomentums(), TGo4FitAmplEstimation::CalculateWithBuffers(), TGo4FitAmplEstimation::CalculateWithIterators(), TGo4Fitter::CreateDrawObject(), TGo4FitDataIter::CreateGraph(), TGo4FitDataIter::CreateHistogram(), TGo4FitModel::Evaluate(), TGo4FitPanel::FillParsTable(), TGo4FitPeakFinder::HansEsselPeakFinder(), TGo4FitModelGauss1::Integral(), TGo4Fitter::PrintAmpls(), TGo4Fitter::PrintLines(), TGo4FitPeakFinder::ROOTPeakFinder(), and TGo4FitPeakFinder::SergeyLinevPeakFinder().
|
inline |
Returns number of range condition (exclude range cuts).
Definition at line 158 of file TGo4FitComponent.h.
References AddRangeCondition(), CheckRangeConditions(), CollectParsTo(), fxRangeAxis, GetNumRangeCut(), GetRangeCondition(), GetRangeCut(), IsRangeCutExcluding(), RemoveRangeCondition(), RemoveRangeCut(), SetRangeCondition(), and SetRangeCutExcluding().
Referenced by CheckRangeConditions(), GetRangeCondition(), IsAnyRangeLimits(), Print(), RemoveRangeCondition(), TGo4FitPanel::SetItemText(), SetRangeCondition(), TGo4FitPanel::ShowItemAsGraph(), TGo4FitPanel::UpdateItem(), and TGo4FitPanel::UpdateWizPaint().
Int_t TGo4FitComponent::GetNumRangeCut | ( | ) | const |
Returns number of range cuts, assigned to object.
Definition at line 274 of file TGo4FitComponent.cxx.
References fxCuts.
Referenced by CheckRangeConditions(), TGo4FitPanel::Cmd_AddRangeCondition(), GetNumRangeCondition(), GetRangeMax(), GetRangeMin(), IsAnyRangeLimits(), Print(), and TGo4FitPanel::UpdateItem().
void TGo4FitComponent::GetRangeCondition | ( | Int_t | n, |
Int_t & | typ, | ||
Int_t & | naxis, | ||
Double_t & | left, | ||
Double_t & | right | ||
) | const |
Return value for specified range condition.
Following procedures produces correspondent values: typ = 0: SetRange() typ = 1: ExcludeRange() typ = 2: SetRangeMin() right not defined typ = 3: SetRangeMax() left not defined
Definition at line 122 of file TGo4FitComponent.cxx.
References fxRangeAxis, fxRangeValue, and GetNumRangeCondition().
Referenced by CheckRangeConditions(), QFitRangeWidget::FillSpecificData(), GetNumRangeCondition(), TGo4FitGuiArrow::Locate(), TGo4FitPanel::PaintRange(), Print(), TGo4FitPanel::SetItemText(), and TGo4FitGuiArrow::TestNewPosition().
TCutG * TGo4FitComponent::GetRangeCut | ( | Int_t | n | ) | const |
Returns specified range cut.
Definition at line 279 of file TGo4FitComponent.cxx.
References fxCuts.
Referenced by CheckRangeConditions(), GetNumRangeCondition(), GetRangeMax(), GetRangeMin(), IsRangeCutExcluding(), Print(), RemoveRangeCut(), SetRangeCutExcluding(), and TGo4FitPanel::UpdateItem().
Bool_t TGo4FitComponent::GetRangeMax | ( | Int_t | naxis, |
Double_t & | value | ||
) | const |
Defines maximum allowed value for given range. Returns kFALSE, if no range condition were specified for given axis.
Definition at line 335 of file TGo4FitComponent.cxx.
References fxRangeAxis, fxRangeValue, GetNumRangeCut(), GetRangeCut(), and kExcludeCut.
Referenced by CanAmplTouch().
Bool_t TGo4FitComponent::GetRangeMin | ( | Int_t | naxis, |
Double_t & | value | ||
) | const |
Defines minimum allowed value for given range. Returns kFALSE, if no range condition were specified for given axis.
Definition at line 307 of file TGo4FitComponent.cxx.
References fxRangeAxis, fxRangeValue, GetNumRangeCut(), GetRangeCut(), and kExcludeCut.
Referenced by CanAmplTouch().
|
inline |
Returns flag of usage of additional buffers. Buffers can only be created in Initialize procedure..
Definition at line 236 of file TGo4FitComponent.h.
References fbUseBuffers, NewAmplitude(), NewParameter(), and Print().
Referenced by TGo4FitPanel::FillNamedWidget(), and TGo4FitPanel::UpdateWizStackWidget().
Bool_t TGo4FitComponent::IsAnyRangeLimits | ( | ) | const |
Return kTRUE, if any range conditions were introduced.
Definition at line 263 of file TGo4FitComponent.cxx.
References GetNumRangeCondition(), and GetNumRangeCut().
Referenced by CanAmplTouch(), TGo4FitPanel::FillPopupForItem(), TGo4FitModel::Initialize(), and TGo4FitPanel::UpdateWizStackWidget().
Bool_t TGo4FitComponent::IsRangeCutExcluding | ( | Int_t | n | ) | const |
Return kTRUE if cut exclude range
Definition at line 284 of file TGo4FitComponent.cxx.
References GetRangeCut(), and kExcludeCut.
Referenced by QFitRangeCutWidget::FillSpecificData(), and GetNumRangeCondition().
Bool_t TGo4FitComponent::MakeAmpl | ( | Bool_t | isFixed = kFALSE | ) |
Create amplitude parameter and adds it to parameters list. Typically amplitude is situated in the beginning of parameters list.
Definition at line 103 of file TGo4FitComponent.cxx.
References GetAmplPar(), NewAmplitude(), and TGo4FitParameter::SetFixed().
Referenced by QFitDataWidget::AmplChk_toggled(), and TGo4FitPanel::ChangeModelPar().
|
protected |
Create amplitude parameter with specified properties.
Definition at line 52 of file TGo4FitComponent.cxx.
References TGo4FitParsList::AddPar(), TGo4FitParsList::InsertPar(), TGo4FitParsList::NumPars(), SetAmplIndex(), and TGo4FitParameter::SetFixed().
Referenced by GetUseBuffers(), MakeAmpl(), TGo4FitData::TGo4FitData(), and TGo4FitModel::TGo4FitModel().
|
protected |
Create new parameter with provided properties and add to parameters list.
Definition at line 40 of file TGo4FitComponent.cxx.
References TGo4FitParsList::AddPar(), TGo4FitParsList::InsertPar(), and TGo4FitParameter::SetFixed().
Referenced by TGo4FitModelPolynom::CreateOrdersPars(), GetUseBuffers(), TGo4FitModelGaussN::SetAxisNumbers(), TGo4FitModelFormula::SetNumberOfExprPar(), TGo4FitModelFunction::SetNumberOfFuncPar(), TGo4FitModelFormula::TGo4FitModelFormula(), TGo4FitModelFunction::TGo4FitModelFunction(), TGo4FitModelGauss1::TGo4FitModelGauss1(), TGo4FitModelGauss2::TGo4FitModelGauss2(), TGo4FitModelGaussN::TGo4FitModelGaussN(), and TModelTemplate::TModelTemplate().
|
override |
Print info about object on standard output.
Definition at line 453 of file TGo4FitComponent.cxx.
References fiAmplIndex, GetNumRangeCondition(), GetNumRangeCut(), GetRangeCondition(), GetRangeCut(), kExcludeCut, TGo4FitNamed::Print(), and TGo4FitParsList::Print().
Referenced by GetUseBuffers(), TGo4FitModel::Print(), and TGo4FitData::Print().
Bool_t TGo4FitComponent::RemoveAmpl | ( | ) |
Remove amplitude parameter from parameters list.
Definition at line 113 of file TGo4FitComponent.cxx.
References GetAmplIndex(), GetAmplPar(), TGo4FitParsList::RemoveParByIndex(), and SetAmplIndex().
Referenced by QFitDataWidget::AmplChk_toggled(), and TGo4FitPanel::ChangeModelPar().
void TGo4FitComponent::RemoveRangeCondition | ( | Int_t | n | ) |
Removes specified range condition.
Definition at line 203 of file TGo4FitComponent.cxx.
References fxRangeAxis, fxRangeValue, and GetNumRangeCondition().
Referenced by TGo4FitPanel::Cmd_RemoveRangeCondition(), and GetNumRangeCondition().
void TGo4FitComponent::RemoveRangeCut | ( | Int_t | n | ) |
Delete range cut with specified index.
Definition at line 297 of file TGo4FitComponent.cxx.
References fxCuts, and GetRangeCut().
Referenced by TGo4FitPanel::Cmd_RemoveRangeCondition(), and GetNumRangeCondition().
void TGo4FitComponent::SetAmplError | ( | Double_t | iError | ) |
Set error of amplitude parameter.
Definition at line 97 of file TGo4FitComponent.cxx.
References fiAmplIndex, TGo4FitParsList::Get(), GetAmplPar(), and TGo4FitParameter::SetError().
Referenced by TGo4FitAmplEstimation::CalculateWithBuffers(), and TGo4FitAmplEstimation::CalculateWithIterators().
|
inlineprotected |
Set index of amplitude parameter.
Definition at line 263 of file TGo4FitComponent.h.
References fiAmplIndex.
Referenced by NewAmplitude(), and RemoveAmpl().
void TGo4FitComponent::SetAmplValue | ( | Double_t | iAmpl | ) |
Set value of amplitude parameter.
Definition at line 86 of file TGo4FitComponent.cxx.
References fiAmplIndex, TGo4FitParsList::Get(), GetAmplPar(), and TGo4FitParameter::SetValue().
Referenced by TGo4Fitter::AddGauss1(), TGo4Fitter::AddPolynomX(), TGo4FitAmplEstimation::CalculateWithBuffers(), TGo4FitAmplEstimation::CalculateWithIterators(), Example8(), Example9(), and TGo4FitPanel::ParsTableChanged().
void TGo4FitComponent::SetRange | ( | Int_t | naxis, |
Double_t | min, | ||
Double_t | max | ||
) |
Includes axis range in consideration. Number of axis and minimum and maximum values should be specified.
Definition at line 218 of file TGo4FitComponent.cxx.
References AddRangeCondition().
Referenced by TGo4Fitter::AddGraph(), TGo4Fitter::AddH1(), TGo4Fitter::AddPolynomX(), BuildFitter(), TGo4FitPanel::Button_SimpleFit(), CanAmplTouch(), TGo4FitPanel::Cmd_AddRangeCondition(), Example13(), Example9(), TGo4FitPanel::Wiz_TakeCurrentRange(), and TGo4FitPanel::Wiz_UseSelectedRange().
void TGo4FitComponent::SetRangeCondition | ( | Int_t | n, |
Int_t | typ, | ||
Int_t | naxis, | ||
Double_t | left, | ||
Double_t | right | ||
) |
Change specified range condition. Range condition should already exists before calling of these procedure. For exact meaning of parameters see GetRangeCondition() method.
Definition at line 154 of file TGo4FitComponent.cxx.
References fxRangeAxis, fxRangeValue, and GetNumRangeCondition().
Referenced by AddRangeCondition(), GetNumRangeCondition(), QFitRangeWidget::GetRangeData(), and TGo4FitGuiArrow::TestNewPosition().
void TGo4FitComponent::SetRangeCutExcluding | ( | Int_t | n, |
Bool_t | exclude = kTRUE |
||
) |
Set type of range cut (excluding or including)
Definition at line 290 of file TGo4FitComponent.cxx.
References GetRangeCut(), and kExcludeCut.
Referenced by QFitRangeCutWidget::ExcludeCutChk_toggled(), and GetNumRangeCondition().
void TGo4FitComponent::SetRangeMax | ( | Int_t | naxis, |
Double_t | value | ||
) |
Set maximum axis value, taken into consideration. All lager values will be removed from consideration independently from other range conditions.
Definition at line 233 of file TGo4FitComponent.cxx.
References AddRangeCondition().
Referenced by CanAmplTouch(), and TGo4FitPanel::Cmd_AddRangeCondition().
void TGo4FitComponent::SetRangeMin | ( | Int_t | naxis, |
Double_t | value | ||
) |
Set minimum axis value, taken into consideration. All smaller values will be removed from consideration independently from other range conditions.
Definition at line 228 of file TGo4FitComponent.cxx.
References AddRangeCondition().
Referenced by CanAmplTouch(), and TGo4FitPanel::Cmd_AddRangeCondition().
|
inline |
Sets usage of additional buffers. Buffers can only be created in Initialize procedure..
Definition at line 230 of file TGo4FitComponent.h.
References fbUseBuffers.
Referenced by TGo4FitPanel::ChangeModelPar(), QFitDataWidget::UseBuffersChk_toggled(), TGo4FitPanel::Wiz_DataBufChk_toggled(), and TGo4FitPanel::Wiz_ModelBufChk_toggled().
|
private |
Specify usage of buffers after initialization
Definition at line 290 of file TGo4FitComponent.h.
Referenced by GetUseBuffers(), and SetUseBuffers().
|
private |
Index of amplitude parameter (-1 if none)
Definition at line 285 of file TGo4FitComponent.h.
Referenced by GetAmplIndex(), GetAmplPar(), Print(), SetAmplError(), SetAmplIndex(), and SetAmplValue().
|
private |
Array of TCutG objects, used for range selection.
Definition at line 280 of file TGo4FitComponent.h.
Referenced by AddRangeCut(), ClearRanges(), GetNumRangeCut(), GetRangeCut(), RemoveRangeCut(), and TGo4FitComponent().
|
private |
Array for range conditions storage (axis indexes)
Definition at line 270 of file TGo4FitComponent.h.
Referenced by AddRangeCondition(), ClearRanges(), GetNumRangeCondition(), GetRangeCondition(), GetRangeMax(), GetRangeMin(), RemoveRangeCondition(), and SetRangeCondition().
|
private |
Array for range values storage.
Definition at line 275 of file TGo4FitComponent.h.
Referenced by AddRangeCondition(), ClearRanges(), GetRangeCondition(), GetRangeMax(), GetRangeMin(), RemoveRangeCondition(), and SetRangeCondition().