#include <TFitParametersDialog.h>
Inheritance diagram for TFitParametersDialog:
Definition at line 45 of file TFitParametersDialog.h.
TFitParametersDialog::TFitParametersDialog | ( | const TGWindow * | p, | |
const TGWindow * | main, | |||
TF1 * | func, | |||
TVirtualPad * | pad, | |||
Int_t * | ret_code = 0 | |||
) |
TFitParametersDialog::~TFitParametersDialog | ( | ) | [virtual] |
TFitParametersDialog::TFitParametersDialog | ( | const TGWindow * | p, | |
const TGWindow * | main, | |||
TF1 * | func, | |||
TVirtualPad * | pad, | |||
Int_t * | ret_code = 0 | |||
) |
virtual TFitParametersDialog::~TFitParametersDialog | ( | ) | [virtual] |
void TFitParametersDialog::DisconnectSlots | ( | ) | [protected] |
Definition at line 895 of file TFitParametersDialog.cxx.
References TQObject::Disconnect(), fApply, fCancel, fNP, fOK, fParBnd, fParFix, fParMax, fParMin, fParSld, fParStp, fParVal, fReset, fUpdate, and i.
Referenced by CloseWindow(), and ~TFitParametersDialog().
void TFitParametersDialog::CloseWindow | ( | ) | [virtual] |
Reimplemented from TGMainFrame.
Definition at line 354 of file TFitParametersDialog.cxx.
References TGFrame::DeleteWindow(), DisconnectSlots(), DoReset(), TGObject::fClient, fHasChanges, TGWindow::GetMainFrame(), TGClient::GetRoot(), kMBCancel, kMBIconExclamation, kMBNo, kMBYes, and SetParameters().
Referenced by DoCancel(), and DoOK().
void TFitParametersDialog::DoApply | ( | ) | [virtual] |
Definition at line 587 of file TFitParametersDialog.cxx.
References DrawFunction(), fApply, fReset, TGButton::GetState(), kButtonDisabled, kButtonUp, and TGButton::SetState().
void TFitParametersDialog::DoCancel | ( | ) | [virtual] |
Definition at line 377 of file TFitParametersDialog.cxx.
References CloseWindow(), DoReset(), fHasChanges, fNP, fParBnd, fRetCode, TGCompositeFrame::GetState(), i, kButtonDown, and kFPDBounded.
void TFitParametersDialog::DoOK | ( | ) | [virtual] |
Definition at line 574 of file TFitParametersDialog.cxx.
References CloseWindow(), DrawFunction(), fHasChanges, and SetParameters().
void TFitParametersDialog::DoParFix | ( | Bool_t | on | ) | [virtual] |
Definition at line 460 of file TFitParametersDialog.cxx.
References TQObject::Connect(), TQObject::Disconnect(), DrawFunction(), fApply, fFunc, fHasChanges, TF1::FixParameter(), fNP, Form(), fParBnd, fParMax, fParMin, fParSld, fParStp, fParVal, fPerr, fPmax, fPmin, fPval, fReset, fUpdate, TGNumberEntryField::GetNumber(), TFormula::GetParName(), TGButton::GetState(), gTQSender, i, kButtonDisabled, kButtonDown, kButtonUp, kFALSE, kFIX, kTRUE, TGFrame::MapWindow(), TGButton::SetEnabled(), TGTextEntry::SetEnabled(), TGNumberEntryField::SetNumber(), TF1::SetParLimits(), TGTripleHSlider::SetPointerPosition(), TGDoubleSlider::SetPosition(), TGDoubleSlider::SetRange(), TGButton::SetState(), TGCheckButton::SetState(), TGNumberEntry::SetState(), TGButton::SetToolTipText(), TGFrame::UnmapWindow(), and TGWidget::WidgetId().
void TFitParametersDialog::DoParBound | ( | Bool_t | on | ) | [virtual] |
Definition at line 391 of file TFitParametersDialog.cxx.
References TMath::Abs(), DrawFunction(), fApply, TGObject::fClient, fFunc, fHasChanges, fNP, fParBnd, fParMax, fParMin, fParSld, fParVal, fPmax, fPmin, fPval, fRetCode, fUpdate, TGWindow::GetMainFrame(), TGNumberEntryField::GetNumber(), TFormula::GetParameter(), TF1::GetParLimits(), TGClient::GetRoot(), TGButton::GetState(), gTQSender, i, kBND, kButtonDisabled, kButtonDown, kButtonUp, kFALSE, kFPDBounded, kMBIconExclamation, kMBOk, TGNumberFormat::kNELLimitMinMax, TGNumberFormat::kNELNoLimits, kTRUE, TGClient::NeedRedraw(), TF1::ReleaseParameter(), TGNumberEntry::SetLimits(), TGNumberEntry::SetNumber(), TGNumberEntryField::SetNumber(), TFormula::SetParameter(), TF1::SetParLimits(), TGTripleHSlider::SetPointerPosition(), TGDoubleSlider::SetPosition(), TGDoubleSlider::SetRange(), TGButton::SetState(), TGCheckButton::SetState(), and TGWidget::WidgetId().
void TFitParametersDialog::DoParMaxLimit | ( | ) | [virtual] |
Definition at line 811 of file TFitParametersDialog.cxx.
References DrawFunction(), fApply, TGObject::fClient, fHasChanges, fNP, fParBnd, fParMax, fParMin, fParSld, fParStp, fParVal, fReset, fUpdate, TGWindow::GetMainFrame(), TGNumberEntryField::GetNumber(), TGClient::GetRoot(), TGCompositeFrame::GetState(), TGButton::GetState(), gTQSender, i, kButtonDisabled, kButtonDown, kButtonUp, kMAX, kMBIconExclamation, kMBOk, kTRUE, TGClient::NeedRedraw(), TGNumberEntry::SetLimitValues(), TGNumberEntry::SetNumber(), TGNumberEntryField::SetNumber(), TGTripleHSlider::SetPointerPosition(), TGDoubleSlider::SetPosition(), TGDoubleSlider::SetRange(), TGButton::SetState(), val, and TGWidget::WidgetId().
void TFitParametersDialog::DoParMinLimit | ( | ) | [virtual] |
Definition at line 768 of file TFitParametersDialog.cxx.
References DrawFunction(), fApply, TGObject::fClient, fHasChanges, fNP, fParBnd, fParMax, fParMin, fParSld, fParStp, fParVal, fReset, fUpdate, TGWindow::GetMainFrame(), TGNumberEntryField::GetNumber(), TGClient::GetRoot(), TGCompositeFrame::GetState(), TGButton::GetState(), gTQSender, i, kButtonDisabled, kButtonDown, kButtonUp, kMBIconExclamation, kMBOk, kMIN, kTRUE, TGClient::NeedRedraw(), TGNumberEntry::SetLimitValues(), TGNumberEntry::SetNumber(), TGNumberEntryField::SetNumber(), TGTripleHSlider::SetPointerPosition(), TGDoubleSlider::SetPosition(), TGDoubleSlider::SetRange(), TGButton::SetState(), val, and TGWidget::WidgetId().
void TFitParametersDialog::DoParStep | ( | ) | [virtual] |
Definition at line 453 of file TFitParametersDialog.cxx.
void TFitParametersDialog::DoParValue | ( | ) | [virtual] |
Definition at line 721 of file TFitParametersDialog.cxx.
References DrawFunction(), fApply, TGObject::fClient, fFunc, fHasChanges, fNP, fParBnd, fParMax, fParMin, fParSld, fParVal, fReset, fUpdate, TGNumberEntryField::GetNumber(), TGCompositeFrame::GetState(), TGButton::GetState(), gTQSender, i, kButtonDisabled, kButtonDown, kButtonUp, kTRUE, kVAL, TGClient::NeedRedraw(), TF1::ReleaseParameter(), TGNumberEntryField::SetNumber(), TFormula::SetParameter(), TF1::SetParLimits(), TGTripleHSlider::SetPointerPosition(), TGDoubleSlider::SetPosition(), TGDoubleSlider::SetRange(), TGButton::SetState(), and TGWidget::WidgetId().
void TFitParametersDialog::DoReset | ( | ) | [virtual] |
Definition at line 598 of file TFitParametersDialog.cxx.
References TMath::Abs(), TQObject::Connect(), TQObject::Disconnect(), DrawFunction(), fApply, fFunc, fHasChanges, TF1::FixParameter(), fNP, fParBnd, fParFix, fParMax, fParMin, fParSld, fParStp, fParVal, fPerr, fPmax, fPmin, fPval, fReset, fRetCode, fUpdate, TGNumberEntryField::GetNumber(), TGButton::GetState(), i, k, kButtonDisabled, kButtonDown, kButtonUp, kFALSE, kFPDBounded, kTRUE, TGFrame::MapWindow(), TGButton::SetEnabled(), TGTextEntry::SetEnabled(), TGNumberEntry::SetNumber(), TGNumberEntryField::SetNumber(), TFormula::SetParameter(), TF1::SetParError(), TF1::SetParLimits(), TGTripleHSlider::SetPointerPosition(), TGDoubleSlider::SetPosition(), TGDoubleSlider::SetRange(), TGButton::SetState(), TGCheckButton::SetState(), TGNumberEntry::SetState(), and TGFrame::UnmapWindow().
Referenced by CloseWindow(), and DoCancel().
void TFitParametersDialog::DoSlider | ( | ) | [virtual] |
Definition at line 694 of file TFitParametersDialog.cxx.
References DrawFunction(), fApply, fFunc, fHasChanges, fNP, fParMax, fParMin, fParSld, fParVal, fReset, fUpdate, TGTripleHSlider::GetPointerPosition(), TGButton::GetState(), gTQSender, i, kButtonDisabled, kButtonDown, kButtonUp, kSLD, kTRUE, TGNumberEntry::SetNumber(), TGNumberEntryField::SetNumber(), TFormula::SetParameter(), TF1::SetParLimits(), TGButton::SetState(), and TGWidget::WidgetId().
void TFitParametersDialog::DrawFunction | ( | ) | [virtual] |
Definition at line 854 of file TFitParametersDialog.cxx.
References TString::Contains(), TF1::Draw(), fFpad, fFunc, fHasChanges, fRetCode, TObject::GetDrawOption(), TAttLine::GetLineStyle(), gPad, kFALSE, kFPDBounded, TAttLine::SetLineStyle(), and TString::ToUpper().
Referenced by DoApply(), DoOK(), DoParBound(), DoParFix(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), DoSlider(), and HandleButtons().
void TFitParametersDialog::HandleButtons | ( | Bool_t | update | ) | [virtual] |
Definition at line 883 of file TFitParametersDialog.cxx.
References DrawFunction(), fApply, fHasChanges, TGButton::GetState(), kButtonDisabled, kButtonUp, and TGButton::SetState().
void TFitParametersDialog::SetParameters | ( | ) | [protected] |
Definition at line 552 of file TFitParametersDialog.cxx.
References fFunc, TF1::FixParameter(), fNP, fParBnd, fParFix, fParMax, fParMin, fParVal, fRangexmax, fRangexmin, fRetCode, TGNumberEntry::GetNumber(), TGCompositeFrame::GetState(), i, kButtonDown, kFPDBounded, TF1::ReleaseParameter(), TFormula::SetParameter(), TF1::SetParLimits(), and TF1::SetRange().
Referenced by CloseWindow(), and DoOK().
void TFitParametersDialog::DisconnectSlots | ( | ) | [protected] |
virtual void TFitParametersDialog::CloseWindow | ( | ) | [virtual] |
Reimplemented from TGMainFrame.
virtual void TFitParametersDialog::DoApply | ( | ) | [virtual] |
virtual void TFitParametersDialog::DoCancel | ( | ) | [virtual] |
virtual void TFitParametersDialog::DoOK | ( | ) | [virtual] |
virtual void TFitParametersDialog::DoParFix | ( | Bool_t | on | ) | [virtual] |
virtual void TFitParametersDialog::DoParBound | ( | Bool_t | on | ) | [virtual] |
virtual void TFitParametersDialog::DoParMaxLimit | ( | ) | [virtual] |
virtual void TFitParametersDialog::DoParMinLimit | ( | ) | [virtual] |
virtual void TFitParametersDialog::DoParStep | ( | ) | [virtual] |
virtual void TFitParametersDialog::DoParValue | ( | ) | [virtual] |
virtual void TFitParametersDialog::DoReset | ( | ) | [virtual] |
virtual void TFitParametersDialog::DoSlider | ( | ) | [virtual] |
virtual void TFitParametersDialog::DrawFunction | ( | ) | [virtual] |
virtual void TFitParametersDialog::HandleButtons | ( | Bool_t | update | ) | [virtual] |
void TFitParametersDialog::SetParameters | ( | ) | [protected] |
TF1* TFitParametersDialog::fFunc [protected] |
Definition at line 48 of file TFitParametersDialog.h.
Referenced by DoParBound(), DoParFix(), DoParValue(), DoReset(), DoSlider(), DrawFunction(), and SetParameters().
TVirtualPad* TFitParametersDialog::fFpad [protected] |
Bool_t TFitParametersDialog::fHasChanges [protected] |
Definition at line 50 of file TFitParametersDialog.h.
Referenced by CloseWindow(), DoCancel(), DoOK(), DoParBound(), DoParFix(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), DoSlider(), DrawFunction(), and HandleButtons().
Bool_t TFitParametersDialog::fImmediateDraw [protected] |
Definition at line 51 of file TFitParametersDialog.h.
Int_t* TFitParametersDialog::fRetCode [protected] |
Definition at line 52 of file TFitParametersDialog.h.
Referenced by DoCancel(), DoParBound(), DoReset(), DrawFunction(), and SetParameters().
Int_t TFitParametersDialog::fNP [protected] |
Definition at line 53 of file TFitParametersDialog.h.
Referenced by DisconnectSlots(), DoCancel(), DoParBound(), DoParFix(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), DoSlider(), and SetParameters().
Double_t TFitParametersDialog::fRangexmin [protected] |
Double_t TFitParametersDialog::fRangexmax [protected] |
Double_t* TFitParametersDialog::fPmin [protected] |
Definition at line 56 of file TFitParametersDialog.h.
Referenced by DoParBound(), DoParFix(), DoReset(), and ~TFitParametersDialog().
Double_t* TFitParametersDialog::fPmax [protected] |
Definition at line 57 of file TFitParametersDialog.h.
Referenced by DoParBound(), DoParFix(), DoReset(), and ~TFitParametersDialog().
Double_t* TFitParametersDialog::fPval [protected] |
Definition at line 58 of file TFitParametersDialog.h.
Referenced by DoParBound(), DoParFix(), DoReset(), and ~TFitParametersDialog().
Double_t* TFitParametersDialog::fPerr [protected] |
Definition at line 59 of file TFitParametersDialog.h.
Referenced by DoParFix(), DoReset(), and ~TFitParametersDialog().
Double_t* TFitParametersDialog::fPstp [protected] |
TGCompositeFrame* TFitParametersDialog::fContNam [protected] |
Definition at line 61 of file TFitParametersDialog.h.
TGCompositeFrame* TFitParametersDialog::fContVal [protected] |
Definition at line 62 of file TFitParametersDialog.h.
TGCompositeFrame* TFitParametersDialog::fContFix [protected] |
Definition at line 63 of file TFitParametersDialog.h.
TGCompositeFrame* TFitParametersDialog::fContBnd [protected] |
Definition at line 64 of file TFitParametersDialog.h.
TGCompositeFrame* TFitParametersDialog::fContSld [protected] |
Definition at line 65 of file TFitParametersDialog.h.
TGCompositeFrame* TFitParametersDialog::fContMin [protected] |
Definition at line 66 of file TFitParametersDialog.h.
TGCompositeFrame* TFitParametersDialog::fContMax [protected] |
Definition at line 67 of file TFitParametersDialog.h.
TGCompositeFrame* TFitParametersDialog::fContStp [protected] |
Definition at line 68 of file TFitParametersDialog.h.
TGCompositeFrame* TFitParametersDialog::fContErr [protected] |
Definition at line 69 of file TFitParametersDialog.h.
TGTextEntry** TFitParametersDialog::fParNam [protected] |
TGCheckButton** TFitParametersDialog::fParBnd [protected] |
Definition at line 71 of file TFitParametersDialog.h.
Referenced by DisconnectSlots(), DoCancel(), DoParBound(), DoParFix(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), SetParameters(), and ~TFitParametersDialog().
TGCheckButton** TFitParametersDialog::fParFix [protected] |
Definition at line 72 of file TFitParametersDialog.h.
Referenced by DisconnectSlots(), DoReset(), SetParameters(), and ~TFitParametersDialog().
TGNumberEntry** TFitParametersDialog::fParVal [protected] |
Definition at line 73 of file TFitParametersDialog.h.
Referenced by DisconnectSlots(), DoParBound(), DoParFix(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), DoSlider(), SetParameters(), and ~TFitParametersDialog().
TGNumberEntryField** TFitParametersDialog::fParMin [protected] |
Definition at line 74 of file TFitParametersDialog.h.
Referenced by DisconnectSlots(), DoParBound(), DoParFix(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), DoSlider(), SetParameters(), and ~TFitParametersDialog().
TGNumberEntryField** TFitParametersDialog::fParMax [protected] |
Definition at line 75 of file TFitParametersDialog.h.
Referenced by DisconnectSlots(), DoParBound(), DoParFix(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), DoSlider(), SetParameters(), and ~TFitParametersDialog().
TGNumberEntry** TFitParametersDialog::fParStp [protected] |
Definition at line 76 of file TFitParametersDialog.h.
Referenced by DisconnectSlots(), DoParFix(), DoParMaxLimit(), DoParMinLimit(), DoReset(), and ~TFitParametersDialog().
TGTripleHSlider** TFitParametersDialog::fParSld [protected] |
Definition at line 77 of file TFitParametersDialog.h.
Referenced by DisconnectSlots(), DoParBound(), DoParFix(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), DoSlider(), and ~TFitParametersDialog().
TGNumberEntryField** TFitParametersDialog::fParErr [protected] |
TGCheckButton* TFitParametersDialog::fUpdate [protected] |
Definition at line 79 of file TFitParametersDialog.h.
Referenced by DisconnectSlots(), DoParBound(), DoParFix(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), and DoSlider().
TGTextButton* TFitParametersDialog::fApply [protected] |
Definition at line 80 of file TFitParametersDialog.h.
Referenced by DisconnectSlots(), DoApply(), DoParBound(), DoParFix(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), DoSlider(), and HandleButtons().
TGTextButton* TFitParametersDialog::fReset [protected] |
Definition at line 81 of file TFitParametersDialog.h.
Referenced by DisconnectSlots(), DoApply(), DoParFix(), DoParMaxLimit(), DoParMinLimit(), DoParValue(), DoReset(), and DoSlider().
TGTextButton* TFitParametersDialog::fOK [protected] |
TGTextButton* TFitParametersDialog::fCancel [protected] |
TF1* TFitParametersDialog::fFunc [protected] |
Definition at line 48 of file TFitParametersDialog.h.
TVirtualPad* TFitParametersDialog::fFpad [protected] |
Definition at line 49 of file TFitParametersDialog.h.
Int_t* TFitParametersDialog::fRetCode [protected] |
Definition at line 52 of file TFitParametersDialog.h.
Double_t* TFitParametersDialog::fPmin [protected] |
Definition at line 56 of file TFitParametersDialog.h.
Double_t* TFitParametersDialog::fPmax [protected] |
Definition at line 57 of file TFitParametersDialog.h.
Double_t* TFitParametersDialog::fPval [protected] |
Definition at line 58 of file TFitParametersDialog.h.
Double_t* TFitParametersDialog::fPerr [protected] |
Definition at line 59 of file TFitParametersDialog.h.
Double_t* TFitParametersDialog::fPstp [protected] |
Definition at line 60 of file TFitParametersDialog.h.
TGCompositeFrame* TFitParametersDialog::fContNam [protected] |
Definition at line 61 of file TFitParametersDialog.h.
TGCompositeFrame* TFitParametersDialog::fContVal [protected] |
Definition at line 62 of file TFitParametersDialog.h.
TGCompositeFrame* TFitParametersDialog::fContFix [protected] |
Definition at line 63 of file TFitParametersDialog.h.
TGCompositeFrame* TFitParametersDialog::fContBnd [protected] |
Definition at line 64 of file TFitParametersDialog.h.
TGCompositeFrame* TFitParametersDialog::fContSld [protected] |
Definition at line 65 of file TFitParametersDialog.h.
TGCompositeFrame* TFitParametersDialog::fContMin [protected] |
Definition at line 66 of file TFitParametersDialog.h.
TGCompositeFrame* TFitParametersDialog::fContMax [protected] |
Definition at line 67 of file TFitParametersDialog.h.
TGCompositeFrame* TFitParametersDialog::fContStp [protected] |
Definition at line 68 of file TFitParametersDialog.h.
TGCompositeFrame* TFitParametersDialog::fContErr [protected] |
Definition at line 69 of file TFitParametersDialog.h.
TGTextEntry** TFitParametersDialog::fParNam [protected] |
Definition at line 70 of file TFitParametersDialog.h.
TGCheckButton** TFitParametersDialog::fParBnd [protected] |
Definition at line 71 of file TFitParametersDialog.h.
TGCheckButton** TFitParametersDialog::fParFix [protected] |
Definition at line 72 of file TFitParametersDialog.h.
TGNumberEntry** TFitParametersDialog::fParVal [protected] |
Definition at line 73 of file TFitParametersDialog.h.
TGNumberEntryField** TFitParametersDialog::fParMin [protected] |
Definition at line 74 of file TFitParametersDialog.h.
TGNumberEntryField** TFitParametersDialog::fParMax [protected] |
Definition at line 75 of file TFitParametersDialog.h.
TGNumberEntry** TFitParametersDialog::fParStp [protected] |
Definition at line 76 of file TFitParametersDialog.h.
TGTripleHSlider** TFitParametersDialog::fParSld [protected] |
Definition at line 77 of file TFitParametersDialog.h.
TGNumberEntryField** TFitParametersDialog::fParErr [protected] |
Definition at line 78 of file TFitParametersDialog.h.
TGCheckButton* TFitParametersDialog::fUpdate [protected] |
Definition at line 79 of file TFitParametersDialog.h.
TGTextButton* TFitParametersDialog::fApply [protected] |
Definition at line 80 of file TFitParametersDialog.h.
TGTextButton* TFitParametersDialog::fReset [protected] |
Definition at line 81 of file TFitParametersDialog.h.
TGTextButton* TFitParametersDialog::fOK [protected] |
Definition at line 82 of file TFitParametersDialog.h.
TGTextButton* TFitParametersDialog::fCancel [protected] |
Definition at line 83 of file TFitParametersDialog.h.