GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4FitMinuit.h
Go to the documentation of this file.
1 // $Id: TGo4FitMinuit.h 2627 2019-10-01 08:02:45Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4FITMINUIT_H
15 #define TGO4FITMINUIT_H
16 
17 #include "TGo4FitterAction.h"
18 
19 #include "TObjArray.h"
20 
22 
50  public:
51 
55  TGo4FitMinuit();
56 
60  TGo4FitMinuit(const char* Name);
61 
65  virtual ~TGo4FitMinuit();
66 
71  void AddCommand(const char* iCommand);
72 
76  Int_t GetNumCommands() { return fxCommands.GetLast()+1; }
77 
81  const char* GetCommand(Int_t n);
82 
86  void ClearCommands() { fxCommands.Clear(); }
87 
91  Int_t GetNumResults() { return fxResults.GetLast()+1; }
92 
96  TGo4FitMinuitResult* GetResult(Int_t indx);
97 
101  TGo4FitMinuitResult* FindResult(const char* ResName);
102 
106  void AddResult(TGo4FitMinuitResult* res);
107 
112 
116  void ClearResults() { fxResults.Clear(); }
117 
118  virtual Bool_t NeedBuffers() const { return kTRUE; }
119 
123  virtual void DoAction(TGo4FitterAbstract* Fitter);
124 
128  virtual void Print(Option_t* option) const;
129 
130  protected:
131 
135  TObjArray fxCommands;
136 
140  TObjArray fxResults;
141 
142  private:
143 
147  /*# TGo4FitMinuitResult ResultArray; */
148 
149  ClassDef(TGo4FitMinuit,1)
150 };
151 
152 #endif // TGO4FITMINUIT_H
void ClearResults()
void ClearCommands()
Definition: TGo4FitMinuit.h:86
void RemoveResult(TGo4FitMinuitResult *res)
Int_t GetNumResults()
Definition: TGo4FitMinuit.h:91
TObjArray fxResults
void AddCommand(const char *iCommand)
Int_t GetNumCommands()
Definition: TGo4FitMinuit.h:76
const char * GetCommand(Int_t n)
TGo4FitMinuitResult * GetResult(Int_t indx)
virtual ~TGo4FitMinuit()
virtual void DoAction(TGo4FitterAbstract *Fitter)
virtual void Print(Option_t *option) const
virtual Bool_t NeedBuffers() const
TGo4FitMinuitResult * FindResult(const char *ResName)
void AddResult(TGo4FitMinuitResult *res)
TObjArray fxCommands