GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4FitAmplEstimation.h
Go to the documentation of this file.
1 // $Id: TGo4FitAmplEstimation.h 478 2009-10-29 12:26:09Z 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 für 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() { 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  private:
67  Double_t PointWeight(Int_t niter, Int_t FFtype, Double_t value, Double_t modelvalue, Double_t standdev);
68  Bool_t CalculateWithBuffers(TGo4Fitter* fitter);
69  Bool_t CalculateWithIterators(TGo4Fitter* fitter);
70 
74  Int_t fiNumIters;
75 
76  ClassDef(TGo4FitAmplEstimation,1)
77 };
78 
79 #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)