46 else DataInfoLbl->setText(
"Data type: set of points");
47 DataInfoLbl->adjustSize();
49 AmplChk->setChecked(
GetData()->GetAmplPar() !=
nullptr);
50 AmplChk->setEnabled(
GetData()->CanAmplTouch());
52 NumCalibrSpin->setValue(
GetData()->GetNumberOfTransSlots());
53 UseBinsChk->setChecked(
GetData()->GetUseBinScale());
54 SigmaCmb->setCurrentIndex(
GetData()->GetSigmaSource());
55 SigmaEdt->setEnabled(
GetData()->GetSigmaSource()==2);
56 SigmaEdt->setText(QString::number(
GetData()->GetSigmaValue()));
57 BinsLimitEdt->setText(QString::number(
GetData()->GetExcludeLessThen()));
58 UseBuffersChk->setChecked(
GetData()->GetUseBuffers());
60 QString info(
"Models:");
64 for (Int_t nmodel = 0; nmodel < fitter->
GetNumModel(); nmodel++) {
68 info += model->GetName();
71 ModelsLbl->setText(info);
72 ModelsLbl->adjustSize();
79 if (
GetData()->SetNumberOfTransSlots(num)) {
97 SigmaEdt->setEnabled(zn == 2);
105 double zn = value.toDouble(&ok);
114 double zn = value.toDouble(&ok);
QFitItem * Parent() const
Bool_t MakeAmpl(Bool_t isFixed=kFALSE)
Create amplitude parameter and adds it to parameters list.
void SetUseBuffers(Bool_t iUse)
Sets usage of additional buffers.
Bool_t RemoveAmpl()
Remove amplitude parameter from parameters list.
Basic abstract class for representing data, which should be fitted.
void SetSigmaValue(Double_t SigmaValue)
Set constant sigma value.
void SetSigmaSource(Int_t TakeFrom, Double_t SigmaValue=1.)
Sets source of sigma for data.
void SetExcludeLessThen(Double_t limit=0.)
Sets limit to exclude bins, which not less then this limit.
void SetUseBinScale(Bool_t iUseBinScale)
If kTRUE, binary numbers will be used as scale values.
Basic abstract class for representing model components of fitted data.
Bool_t IsAssignTo(const char *DataName) const
Checks, if model assigned to given data.
void SetUpdateSlotList()
Update internal list of slots (if exists).
Central class of Go4Fit package.
TGo4FitModel * GetModel(Int_t n)
Return model component with given index.
Int_t GetNumModel() const
Return number of model component in fitter.