#ifndef ROOT_TFitParametersDialog
#define ROOT_TFitParametersDialog
#ifndef ROOT_TGButton
#include "TGWidget.h"
#endif
#ifndef ROOT_TGFrame
#include "TGFrame.h"
#endif
#ifndef ROOT_TF1
#include "TF1.h"
#endif
enum EFPDialogBound {
kFPDBounded,
kFPDNoneBounded
};
class TGNumberEntry;
class TGTextEntry;
class TGCheckButton;
class TGTextButton;
class TGTripleHSlider;
class TGNumberEntryField;
class TVirtualPad;
class TFitParametersDialog : public TGTransientFrame {
protected:
TF1 *fFunc;
TVirtualPad *fFpad;
Double_t fRXmin;
Double_t fRXmax;
Bool_t fHasChanges;
Bool_t fImmediateDraw;
Int_t *fRetCode;
Int_t fNP;
Double_t fRangexmin;
Double_t fRangexmax;
Double_t *fPmin;
Double_t *fPmax;
Double_t *fPval;
Double_t *fPerr;
Double_t *fPstp;
TGCompositeFrame *fContNam;
TGCompositeFrame *fContVal;
TGCompositeFrame *fContFix;
TGCompositeFrame *fContBnd;
TGCompositeFrame *fContSld;
TGCompositeFrame *fContMin;
TGCompositeFrame *fContMax;
TGCompositeFrame *fContStp;
TGCompositeFrame *fContErr;
TGTextEntry **fParNam;
TGCheckButton **fParBnd;
TGCheckButton **fParFix;
TGNumberEntry **fParVal;
TGNumberEntryField **fParMin;
TGNumberEntryField **fParMax;
TGNumberEntry **fParStp;
TGTripleHSlider **fParSld;
TGNumberEntryField **fParErr;
TGCheckButton *fUpdate;
TGTextButton *fApply;
TGTextButton *fReset;
TGTextButton *fOK;
TGTextButton *fCancel;
void DisconnectSlots();
public:
TFitParametersDialog(const TGWindow *p, const TGWindow *main, TF1 *func,
TVirtualPad *pad, Double_t rmin=1., Double_t rmax=2.,
Int_t *ret_code = 0);
virtual ~TFitParametersDialog();
virtual void CloseWindow();
virtual void DoApply();
virtual void DoCancel();
virtual void DoOK();
virtual void DoParFix(Bool_t on);
virtual void DoParBound(Bool_t on);
virtual void DoParMaxLimit();
virtual void DoParMinLimit();
virtual void DoParStep();
virtual void DoParValue();
virtual void DoReset();
virtual void DoSlider();
virtual void DrawFunction();
virtual void HandleButtons(Bool_t update);
ClassDef(TFitParametersDialog, 0)
};
#endif
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.