00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef TGO4FITGUIOPTIONS_H 00017 #define TGO4FITGUIOPTIONS_H 00018 00019 #include "TObject.h" 00020 #include "Go4Fit/TGo4Fitter.h" 00021 #include "Go4Fit/TGo4FitData.h" 00022 #include "Go4Fit/TGo4FitModel.h" 00023 #include "Go4Fit/TGo4FitPeakFinder.h" 00024 #include "TString.h" 00025 00026 class TGo4FitGUIOptions : public TObject { 00027 public: 00028 TGo4FitGUIOptions(); 00029 virtual ~TGo4FitGUIOptions(); 00030 00031 void CopyFrom(TGo4FitGUIOptions& other, Bool_t CopyFitter = kTRUE); 00032 00033 TGo4Fitter* GetFitter() { return fxFitter; } 00034 TGo4Fitter* TakeFitter(); 00035 void SetFitter(TGo4Fitter*); 00036 00037 Bool_t& UseAmplEstim() { return fbUseAmplEstim; } 00038 Int_t& NumMigradIter() { return fiNumMigradIter; } 00039 00040 const char* GetWizDataName() { return fxWizDataName.Data(); } 00041 void SetWizDataName(const char* name) { fxWizDataName = name; } 00042 TGo4FitData* GetWizData(); 00043 00044 const char* GetWizModelName() { return fxWizModelName.Data(); } 00045 void SetWizModelName(const char* name) { fxWizModelName = name; } 00046 TGo4FitModel* GetWizModel(); 00047 00048 TGo4FitPeakFinder* GetPeakFinder(Bool_t AutoCreate = kTRUE); 00049 00050 Bool_t& WizShowAllModels() { return fbWizShowAllModels; } 00051 Int_t& WizPageIndex() { return fiWizPageIndex; } 00052 00053 private: 00054 TGo4Fitter* fxFitter; 00055 00056 TString fxWizDataName; 00057 TString fxWizModelName; 00058 Bool_t fbWizShowAllModels; 00059 Int_t fiWizPageIndex; 00060 00061 Bool_t fbUseAmplEstim; 00062 Int_t fiNumMigradIter; 00063 00064 }; 00065 00066 #endif //TGO4FITGUIOPTIONS_H 00067 00068 00069 //----------------------------END OF GO4 SOURCE FILE ---------------------