GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4FitAmplEstimation.h
Go to the documentation of this file.
1 // $Id: TGo4FitAmplEstimation.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 TGO4FITAMPLESTIMATION_H
15 #define TGO4FITAMPLESTIMATION_H
16 
17 #include "TGo4FitterAction.h"
18 
19 class TGo4Fitter;
20 
26  public:
27 
32 
37  TGo4FitAmplEstimation(const char* Name, Int_t NumIters = 1);
38 
42  virtual ~TGo4FitAmplEstimation();
43 
47  Int_t GetNumIterations() const { return fiNumIters; }
48 
52  void SetNumIterations(Int_t iNumIters) { fiNumIters = iNumIters; }
53 
54  virtual Bool_t NeedBuffers() const { return kTRUE; }
55 
60  virtual void DoAction(TGo4FitterAbstract* Fitter);
61 
65  virtual void Print(Option_t* option) const;
66 
67  private:
68 
69  Double_t PointWeight(Int_t niter, Int_t FFtype, Double_t value, Double_t modelvalue, Double_t standdev);
70  Bool_t CalculateWithBuffers(TGo4Fitter* fitter);
71  Bool_t CalculateWithIterators(TGo4Fitter* fitter);
72 
76  Int_t fiNumIters;
77 
78  ClassDef(TGo4FitAmplEstimation,1)
79 };
80 
81 #endif // TGO4FITAMPLESTIMATION_H
virtual void DoAction(TGo4FitterAbstract *Fitter)
Double_t PointWeight(Int_t niter, Int_t FFtype, Double_t value, Double_t modelvalue, Double_t standdev)
virtual Bool_t NeedBuffers() const
virtual void Print(Option_t *option) const
Bool_t CalculateWithIterators(TGo4Fitter *fitter)
Bool_t CalculateWithBuffers(TGo4Fitter *fitter)
void SetNumIterations(Int_t iNumIters)